diff --git a/ModeliRpc_Cpp/ModeliRpc.grpc.pb.cc b/ModeliRpc_Cpp/ModeliRpc.grpc.pb.cc deleted file mode 100644 index a118618a34646e18cd07c7a7f4e1f0b1f1a7f182..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cpp/ModeliRpc.grpc.pb.cc +++ /dev/null @@ -1,402 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: ModeliRpc.proto - -#include "ModeliRpc.pb.h" -#include "ModeliRpc.grpc.pb.h" - -#include <grpc++/impl/codegen/async_stream.h> -#include <grpc++/impl/codegen/async_unary_call.h> -#include <grpc++/impl/codegen/channel_interface.h> -#include <grpc++/impl/codegen/client_unary_call.h> -#include <grpc++/impl/codegen/method_handler_impl.h> -#include <grpc++/impl/codegen/rpc_service_method.h> -#include <grpc++/impl/codegen/service_type.h> -#include <grpc++/impl/codegen/sync_stream.h> -namespace ModeliRpc { - -static const char* ModeliBackend_method_names[] = { - "/ModeliRpc.ModeliBackend/Play", - "/ModeliRpc.ModeliBackend/PlayFast", - "/ModeliRpc.ModeliBackend/Pause", - "/ModeliRpc.ModeliBackend/Stop", - "/ModeliRpc.ModeliBackend/AddFmu", - "/ModeliRpc.ModeliBackend/RemoveFmu", - "/ModeliRpc.ModeliBackend/AddChannelLink", - "/ModeliRpc.ModeliBackend/RemoveChannelLink", - "/ModeliRpc.ModeliBackend/SetInt", - "/ModeliRpc.ModeliBackend/SetReal", - "/ModeliRpc.ModeliBackend/SetBool", - "/ModeliRpc.ModeliBackend/SetString", - "/ModeliRpc.ModeliBackend/NewValues", - "/ModeliRpc.ModeliBackend/Log", -}; - -std::unique_ptr< ModeliBackend::Stub> ModeliBackend::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< ModeliBackend::Stub> stub(new ModeliBackend::Stub(channel)); - return stub; -} - -ModeliBackend::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_Play_(ModeliBackend_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_PlayFast_(ModeliBackend_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_Pause_(ModeliBackend_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_Stop_(ModeliBackend_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddFmu_(ModeliBackend_method_names[4], ::grpc::internal::RpcMethod::CLIENT_STREAMING, channel) - , rpcmethod_RemoveFmu_(ModeliBackend_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddChannelLink_(ModeliBackend_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RemoveChannelLink_(ModeliBackend_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetInt_(ModeliBackend_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetReal_(ModeliBackend_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetBool_(ModeliBackend_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetString_(ModeliBackend_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NewValues_(ModeliBackend_method_names[12], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - , rpcmethod_Log_(ModeliBackend_method_names[13], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel) - {} - -::grpc::Status ModeliBackend::Stub::Play(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::ModeliRpc::PlayResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Play_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>* ModeliBackend::Stub::AsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PlayResponse>::Create(channel_.get(), cq, rpcmethod_Play_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>* ModeliBackend::Stub::PrepareAsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PlayResponse>::Create(channel_.get(), cq, rpcmethod_Play_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::PlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::ModeliRpc::PlayFastResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_PlayFast_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>* ModeliBackend::Stub::AsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PlayFastResponse>::Create(channel_.get(), cq, rpcmethod_PlayFast_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>* ModeliBackend::Stub::PrepareAsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PlayFastResponse>::Create(channel_.get(), cq, rpcmethod_PlayFast_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::Pause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::ModeliRpc::PauseResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Pause_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>* ModeliBackend::Stub::AsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PauseResponse>::Create(channel_.get(), cq, rpcmethod_Pause_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>* ModeliBackend::Stub::PrepareAsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::PauseResponse>::Create(channel_.get(), cq, rpcmethod_Pause_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::Stop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::ModeliRpc::StopResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_Stop_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>* ModeliBackend::Stub::AsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::StopResponse>::Create(channel_.get(), cq, rpcmethod_Stop_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>* ModeliBackend::Stub::PrepareAsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::StopResponse>::Create(channel_.get(), cq, rpcmethod_Stop_, context, request, false); -} - -::grpc::ClientWriter< ::ModeliRpc::AddFmuRequest>* ModeliBackend::Stub::AddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response) { - return ::grpc::internal::ClientWriterFactory< ::ModeliRpc::AddFmuRequest>::Create(channel_.get(), rpcmethod_AddFmu_, context, response); -} - -::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>* ModeliBackend::Stub::AsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc::internal::ClientAsyncWriterFactory< ::ModeliRpc::AddFmuRequest>::Create(channel_.get(), cq, rpcmethod_AddFmu_, context, response, true, tag); -} - -::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>* ModeliBackend::Stub::PrepareAsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncWriterFactory< ::ModeliRpc::AddFmuRequest>::Create(channel_.get(), cq, rpcmethod_AddFmu_, context, response, false, nullptr); -} - -::grpc::Status ModeliBackend::Stub::RemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::ModeliRpc::RemoveFmuResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RemoveFmu_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>* ModeliBackend::Stub::AsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::RemoveFmuResponse>::Create(channel_.get(), cq, rpcmethod_RemoveFmu_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>* ModeliBackend::Stub::PrepareAsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::RemoveFmuResponse>::Create(channel_.get(), cq, rpcmethod_RemoveFmu_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::AddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::ModeliRpc::AddChannelLinkResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_AddChannelLink_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>* ModeliBackend::Stub::AsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::AddChannelLinkResponse>::Create(channel_.get(), cq, rpcmethod_AddChannelLink_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>* ModeliBackend::Stub::PrepareAsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::AddChannelLinkResponse>::Create(channel_.get(), cq, rpcmethod_AddChannelLink_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::RemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::ModeliRpc::RemoveChannelLinkResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RemoveChannelLink_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>* ModeliBackend::Stub::AsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::RemoveChannelLinkResponse>::Create(channel_.get(), cq, rpcmethod_RemoveChannelLink_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>* ModeliBackend::Stub::PrepareAsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::RemoveChannelLinkResponse>::Create(channel_.get(), cq, rpcmethod_RemoveChannelLink_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::SetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::ModeliRpc::SetIntResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetInt_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>* ModeliBackend::Stub::AsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetIntResponse>::Create(channel_.get(), cq, rpcmethod_SetInt_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>* ModeliBackend::Stub::PrepareAsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetIntResponse>::Create(channel_.get(), cq, rpcmethod_SetInt_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::SetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::ModeliRpc::SetRealResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetReal_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>* ModeliBackend::Stub::AsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetRealResponse>::Create(channel_.get(), cq, rpcmethod_SetReal_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>* ModeliBackend::Stub::PrepareAsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetRealResponse>::Create(channel_.get(), cq, rpcmethod_SetReal_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::SetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::ModeliRpc::SetBoolResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetBool_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>* ModeliBackend::Stub::AsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetBoolResponse>::Create(channel_.get(), cq, rpcmethod_SetBool_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>* ModeliBackend::Stub::PrepareAsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetBoolResponse>::Create(channel_.get(), cq, rpcmethod_SetBool_, context, request, false); -} - -::grpc::Status ModeliBackend::Stub::SetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::ModeliRpc::SetStringResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetString_, context, request, response); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>* ModeliBackend::Stub::AsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetStringResponse>::Create(channel_.get(), cq, rpcmethod_SetString_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>* ModeliBackend::Stub::PrepareAsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::ModeliRpc::SetStringResponse>::Create(channel_.get(), cq, rpcmethod_SetString_, context, request, false); -} - -::grpc::ClientReader< ::ModeliRpc::NewValuesResponse>* ModeliBackend::Stub::NewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request) { - return ::grpc::internal::ClientReaderFactory< ::ModeliRpc::NewValuesResponse>::Create(channel_.get(), rpcmethod_NewValues_, context, request); -} - -::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>* ModeliBackend::Stub::AsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc::internal::ClientAsyncReaderFactory< ::ModeliRpc::NewValuesResponse>::Create(channel_.get(), cq, rpcmethod_NewValues_, context, request, true, tag); -} - -::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>* ModeliBackend::Stub::PrepareAsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncReaderFactory< ::ModeliRpc::NewValuesResponse>::Create(channel_.get(), cq, rpcmethod_NewValues_, context, request, false, nullptr); -} - -::grpc::ClientReader< ::ModeliRpc::LogResponse>* ModeliBackend::Stub::LogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request) { - return ::grpc::internal::ClientReaderFactory< ::ModeliRpc::LogResponse>::Create(channel_.get(), rpcmethod_Log_, context, request); -} - -::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>* ModeliBackend::Stub::AsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return ::grpc::internal::ClientAsyncReaderFactory< ::ModeliRpc::LogResponse>::Create(channel_.get(), cq, rpcmethod_Log_, context, request, true, tag); -} - -::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>* ModeliBackend::Stub::PrepareAsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncReaderFactory< ::ModeliRpc::LogResponse>::Create(channel_.get(), cq, rpcmethod_Log_, context, request, false, nullptr); -} - -ModeliBackend::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::PlayRequest, ::ModeliRpc::PlayResponse>( - std::mem_fn(&ModeliBackend::Service::Play), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::PlayFastRequest, ::ModeliRpc::PlayFastResponse>( - std::mem_fn(&ModeliBackend::Service::PlayFast), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::PauseRequest, ::ModeliRpc::PauseResponse>( - std::mem_fn(&ModeliBackend::Service::Pause), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::StopRequest, ::ModeliRpc::StopResponse>( - std::mem_fn(&ModeliBackend::Service::Stop), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[4], - ::grpc::internal::RpcMethod::CLIENT_STREAMING, - new ::grpc::internal::ClientStreamingHandler< ModeliBackend::Service, ::ModeliRpc::AddFmuRequest, ::ModeliRpc::AddFmuResponse>( - std::mem_fn(&ModeliBackend::Service::AddFmu), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[5], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::RemoveFmuRequest, ::ModeliRpc::RemoveFmuResponse>( - std::mem_fn(&ModeliBackend::Service::RemoveFmu), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[6], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::AddChannelLinkRequest, ::ModeliRpc::AddChannelLinkResponse>( - std::mem_fn(&ModeliBackend::Service::AddChannelLink), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[7], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::RemoveChannelLinkRequest, ::ModeliRpc::RemoveChannelLinkResponse>( - std::mem_fn(&ModeliBackend::Service::RemoveChannelLink), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[8], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::SetIntRequest, ::ModeliRpc::SetIntResponse>( - std::mem_fn(&ModeliBackend::Service::SetInt), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[9], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::SetRealRequest, ::ModeliRpc::SetRealResponse>( - std::mem_fn(&ModeliBackend::Service::SetReal), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[10], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::SetBoolRequest, ::ModeliRpc::SetBoolResponse>( - std::mem_fn(&ModeliBackend::Service::SetBool), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[11], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ModeliBackend::Service, ::ModeliRpc::SetStringRequest, ::ModeliRpc::SetStringResponse>( - std::mem_fn(&ModeliBackend::Service::SetString), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[12], - ::grpc::internal::RpcMethod::SERVER_STREAMING, - new ::grpc::internal::ServerStreamingHandler< ModeliBackend::Service, ::ModeliRpc::NewValuesRequest, ::ModeliRpc::NewValuesResponse>( - std::mem_fn(&ModeliBackend::Service::NewValues), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ModeliBackend_method_names[13], - ::grpc::internal::RpcMethod::SERVER_STREAMING, - new ::grpc::internal::ServerStreamingHandler< ModeliBackend::Service, ::ModeliRpc::LogRequest, ::ModeliRpc::LogResponse>( - std::mem_fn(&ModeliBackend::Service::Log), this))); -} - -ModeliBackend::Service::~Service() { -} - -::grpc::Status ModeliBackend::Service::Play(::grpc::ServerContext* context, const ::ModeliRpc::PlayRequest* request, ::ModeliRpc::PlayResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::PlayFast(::grpc::ServerContext* context, const ::ModeliRpc::PlayFastRequest* request, ::ModeliRpc::PlayFastResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::Pause(::grpc::ServerContext* context, const ::ModeliRpc::PauseRequest* request, ::ModeliRpc::PauseResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::Stop(::grpc::ServerContext* context, const ::ModeliRpc::StopRequest* request, ::ModeliRpc::StopResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::AddFmu(::grpc::ServerContext* context, ::grpc::ServerReader< ::ModeliRpc::AddFmuRequest>* reader, ::ModeliRpc::AddFmuResponse* response) { - (void) context; - (void) reader; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::RemoveFmu(::grpc::ServerContext* context, const ::ModeliRpc::RemoveFmuRequest* request, ::ModeliRpc::RemoveFmuResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::AddChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::AddChannelLinkRequest* request, ::ModeliRpc::AddChannelLinkResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::RemoveChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::RemoveChannelLinkRequest* request, ::ModeliRpc::RemoveChannelLinkResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::SetInt(::grpc::ServerContext* context, const ::ModeliRpc::SetIntRequest* request, ::ModeliRpc::SetIntResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::SetReal(::grpc::ServerContext* context, const ::ModeliRpc::SetRealRequest* request, ::ModeliRpc::SetRealResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::SetBool(::grpc::ServerContext* context, const ::ModeliRpc::SetBoolRequest* request, ::ModeliRpc::SetBoolResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::SetString(::grpc::ServerContext* context, const ::ModeliRpc::SetStringRequest* request, ::ModeliRpc::SetStringResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::NewValues(::grpc::ServerContext* context, const ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerWriter< ::ModeliRpc::NewValuesResponse>* writer) { - (void) context; - (void) request; - (void) writer; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ModeliBackend::Service::Log(::grpc::ServerContext* context, const ::ModeliRpc::LogRequest* request, ::grpc::ServerWriter< ::ModeliRpc::LogResponse>* writer) { - (void) context; - (void) request; - (void) writer; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace ModeliRpc - diff --git a/ModeliRpc_Cpp/ModeliRpc.grpc.pb.h b/ModeliRpc_Cpp/ModeliRpc.grpc.pb.h deleted file mode 100644 index 7d2c180f0d99c708b62c31211bc6a4f96cf8f143..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cpp/ModeliRpc.grpc.pb.h +++ /dev/null @@ -1,1169 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: ModeliRpc.proto -// Original file comments: -// Language defintion -#ifndef GRPC_ModeliRpc_2eproto__INCLUDED -#define GRPC_ModeliRpc_2eproto__INCLUDED - -#include "ModeliRpc.pb.h" - -#include <grpc++/impl/codegen/async_stream.h> -#include <grpc++/impl/codegen/async_unary_call.h> -#include <grpc++/impl/codegen/method_handler_impl.h> -#include <grpc++/impl/codegen/proto_utils.h> -#include <grpc++/impl/codegen/rpc_method.h> -#include <grpc++/impl/codegen/service_type.h> -#include <grpc++/impl/codegen/status.h> -#include <grpc++/impl/codegen/stub_options.h> -#include <grpc++/impl/codegen/sync_stream.h> - -namespace grpc { -class CompletionQueue; -class Channel; -class ServerCompletionQueue; -class ServerContext; -} // namespace grpc - -namespace ModeliRpc { - -// Service must be offered by a ModeliChart Backend -// Default Port ist 52062 -class ModeliBackend final { - public: - static constexpr char const* service_full_name() { - return "ModeliRpc.ModeliBackend"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Play the simulation infinetly in realtime - virtual ::grpc::Status Play(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::ModeliRpc::PlayResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>> AsyncPlay(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>>(AsyncPlayRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>> PrepareAsyncPlay(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>>(PrepareAsyncPlayRaw(context, request, cq)); - } - // Play the simulation as fast as possible (fast forwad) - virtual ::grpc::Status PlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::ModeliRpc::PlayFastResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>> AsyncPlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>>(AsyncPlayFastRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>> PrepareAsyncPlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>>(PrepareAsyncPlayFastRaw(context, request, cq)); - } - // Pause the simulation without resetting it - virtual ::grpc::Status Pause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::ModeliRpc::PauseResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>> AsyncPause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>>(AsyncPauseRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>> PrepareAsyncPause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>>(PrepareAsyncPauseRaw(context, request, cq)); - } - // Halt and reset the simulation - virtual ::grpc::Status Stop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::ModeliRpc::StopResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>> AsyncStop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>>(AsyncStopRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>> PrepareAsyncStop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>>(PrepareAsyncStopRaw(context, request, cq)); - } - // Add a new Fmu to the simulation, transfer it via chunks - std::unique_ptr< ::grpc::ClientWriterInterface< ::ModeliRpc::AddFmuRequest>> AddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response) { - return std::unique_ptr< ::grpc::ClientWriterInterface< ::ModeliRpc::AddFmuRequest>>(AddFmuRaw(context, response)); - } - std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>> AsyncAddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>>(AsyncAddFmuRaw(context, response, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>> PrepareAsyncAddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>>(PrepareAsyncAddFmuRaw(context, response, cq)); - } - // Remove a Fmu from the simulation - virtual ::grpc::Status RemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::ModeliRpc::RemoveFmuResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>> AsyncRemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>>(AsyncRemoveFmuRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>> PrepareAsyncRemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>>(PrepareAsyncRemoveFmuRaw(context, request, cq)); - } - // Add a ChannelLink to the simulation - virtual ::grpc::Status AddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::ModeliRpc::AddChannelLinkResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>> AsyncAddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>>(AsyncAddChannelLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>> PrepareAsyncAddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>>(PrepareAsyncAddChannelLinkRaw(context, request, cq)); - } - // Remove a ChannelLink from the simulation - virtual ::grpc::Status RemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::ModeliRpc::RemoveChannelLinkResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>> AsyncRemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>>(AsyncRemoveChannelLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>> PrepareAsyncRemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>>(PrepareAsyncRemoveChannelLinkRaw(context, request, cq)); - } - // Set int values in one of the fmus - virtual ::grpc::Status SetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::ModeliRpc::SetIntResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>> AsyncSetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>>(AsyncSetIntRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>> PrepareAsyncSetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>>(PrepareAsyncSetIntRaw(context, request, cq)); - } - // Set real values in one of the fmus - virtual ::grpc::Status SetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::ModeliRpc::SetRealResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>> AsyncSetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>>(AsyncSetRealRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>> PrepareAsyncSetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>>(PrepareAsyncSetRealRaw(context, request, cq)); - } - // Set bool values in one of the fmus - virtual ::grpc::Status SetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::ModeliRpc::SetBoolResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>> AsyncSetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>>(AsyncSetBoolRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>> PrepareAsyncSetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>>(PrepareAsyncSetBoolRaw(context, request, cq)); - } - // Set string values in one of the fmus - virtual ::grpc::Status SetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::ModeliRpc::SetStringResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>> AsyncSetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>>(AsyncSetStringRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>> PrepareAsyncSetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>>(PrepareAsyncSetStringRaw(context, request, cq)); - } - // Stream simulation results to the client - std::unique_ptr< ::grpc::ClientReaderInterface< ::ModeliRpc::NewValuesResponse>> NewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request) { - return std::unique_ptr< ::grpc::ClientReaderInterface< ::ModeliRpc::NewValuesResponse>>(NewValuesRaw(context, request)); - } - std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>> AsyncNewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>>(AsyncNewValuesRaw(context, request, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>> PrepareAsyncNewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>>(PrepareAsyncNewValuesRaw(context, request, cq)); - } - // Stream log messages to the client - std::unique_ptr< ::grpc::ClientReaderInterface< ::ModeliRpc::LogResponse>> Log(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request) { - return std::unique_ptr< ::grpc::ClientReaderInterface< ::ModeliRpc::LogResponse>>(LogRaw(context, request)); - } - std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>> AsyncLog(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>>(AsyncLogRaw(context, request, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>> PrepareAsyncLog(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>>(PrepareAsyncLogRaw(context, request, cq)); - } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>* AsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayResponse>* PrepareAsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>* AsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PlayFastResponse>* PrepareAsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>* AsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::PauseResponse>* PrepareAsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>* AsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::StopResponse>* PrepareAsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientWriterInterface< ::ModeliRpc::AddFmuRequest>* AddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response) = 0; - virtual ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>* AsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq, void* tag) = 0; - virtual ::grpc::ClientAsyncWriterInterface< ::ModeliRpc::AddFmuRequest>* PrepareAsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>* AsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveFmuResponse>* PrepareAsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>* AsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::AddChannelLinkResponse>* PrepareAsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>* AsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::RemoveChannelLinkResponse>* PrepareAsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>* AsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetIntResponse>* PrepareAsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>* AsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetRealResponse>* PrepareAsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>* AsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetBoolResponse>* PrepareAsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>* AsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::ModeliRpc::SetStringResponse>* PrepareAsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientReaderInterface< ::ModeliRpc::NewValuesResponse>* NewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request) = 0; - virtual ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>* AsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; - virtual ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::NewValuesResponse>* PrepareAsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientReaderInterface< ::ModeliRpc::LogResponse>* LogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request) = 0; - virtual ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>* AsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq, void* tag) = 0; - virtual ::grpc::ClientAsyncReaderInterface< ::ModeliRpc::LogResponse>* PrepareAsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status Play(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::ModeliRpc::PlayResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>> AsyncPlay(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>>(AsyncPlayRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>> PrepareAsyncPlay(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>>(PrepareAsyncPlayRaw(context, request, cq)); - } - ::grpc::Status PlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::ModeliRpc::PlayFastResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>> AsyncPlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>>(AsyncPlayFastRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>> PrepareAsyncPlayFast(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>>(PrepareAsyncPlayFastRaw(context, request, cq)); - } - ::grpc::Status Pause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::ModeliRpc::PauseResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>> AsyncPause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>>(AsyncPauseRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>> PrepareAsyncPause(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>>(PrepareAsyncPauseRaw(context, request, cq)); - } - ::grpc::Status Stop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::ModeliRpc::StopResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>> AsyncStop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>>(AsyncStopRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>> PrepareAsyncStop(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>>(PrepareAsyncStopRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientWriter< ::ModeliRpc::AddFmuRequest>> AddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response) { - return std::unique_ptr< ::grpc::ClientWriter< ::ModeliRpc::AddFmuRequest>>(AddFmuRaw(context, response)); - } - std::unique_ptr< ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>> AsyncAddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>>(AsyncAddFmuRaw(context, response, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>> PrepareAsyncAddFmu(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>>(PrepareAsyncAddFmuRaw(context, response, cq)); - } - ::grpc::Status RemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::ModeliRpc::RemoveFmuResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>> AsyncRemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>>(AsyncRemoveFmuRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>> PrepareAsyncRemoveFmu(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>>(PrepareAsyncRemoveFmuRaw(context, request, cq)); - } - ::grpc::Status AddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::ModeliRpc::AddChannelLinkResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>> AsyncAddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>>(AsyncAddChannelLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>> PrepareAsyncAddChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>>(PrepareAsyncAddChannelLinkRaw(context, request, cq)); - } - ::grpc::Status RemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::ModeliRpc::RemoveChannelLinkResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>> AsyncRemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>>(AsyncRemoveChannelLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>> PrepareAsyncRemoveChannelLink(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>>(PrepareAsyncRemoveChannelLinkRaw(context, request, cq)); - } - ::grpc::Status SetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::ModeliRpc::SetIntResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>> AsyncSetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>>(AsyncSetIntRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>> PrepareAsyncSetInt(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>>(PrepareAsyncSetIntRaw(context, request, cq)); - } - ::grpc::Status SetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::ModeliRpc::SetRealResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>> AsyncSetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>>(AsyncSetRealRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>> PrepareAsyncSetReal(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>>(PrepareAsyncSetRealRaw(context, request, cq)); - } - ::grpc::Status SetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::ModeliRpc::SetBoolResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>> AsyncSetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>>(AsyncSetBoolRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>> PrepareAsyncSetBool(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>>(PrepareAsyncSetBoolRaw(context, request, cq)); - } - ::grpc::Status SetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::ModeliRpc::SetStringResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>> AsyncSetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>>(AsyncSetStringRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>> PrepareAsyncSetString(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>>(PrepareAsyncSetStringRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientReader< ::ModeliRpc::NewValuesResponse>> NewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request) { - return std::unique_ptr< ::grpc::ClientReader< ::ModeliRpc::NewValuesResponse>>(NewValuesRaw(context, request)); - } - std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>> AsyncNewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>>(AsyncNewValuesRaw(context, request, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>> PrepareAsyncNewValues(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>>(PrepareAsyncNewValuesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientReader< ::ModeliRpc::LogResponse>> Log(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request) { - return std::unique_ptr< ::grpc::ClientReader< ::ModeliRpc::LogResponse>>(LogRaw(context, request)); - } - std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>> AsyncLog(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq, void* tag) { - return std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>>(AsyncLogRaw(context, request, cq, tag)); - } - std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>> PrepareAsyncLog(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>>(PrepareAsyncLogRaw(context, request, cq)); - } - - private: - std::shared_ptr< ::grpc::ChannelInterface> channel_; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>* AsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayResponse>* PrepareAsyncPlayRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>* AsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PlayFastResponse>* PrepareAsyncPlayFastRaw(::grpc::ClientContext* context, const ::ModeliRpc::PlayFastRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>* AsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::PauseResponse>* PrepareAsyncPauseRaw(::grpc::ClientContext* context, const ::ModeliRpc::PauseRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>* AsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::StopResponse>* PrepareAsyncStopRaw(::grpc::ClientContext* context, const ::ModeliRpc::StopRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientWriter< ::ModeliRpc::AddFmuRequest>* AddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response) override; - ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>* AsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq, void* tag) override; - ::grpc::ClientAsyncWriter< ::ModeliRpc::AddFmuRequest>* PrepareAsyncAddFmuRaw(::grpc::ClientContext* context, ::ModeliRpc::AddFmuResponse* response, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>* AsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveFmuResponse>* PrepareAsyncRemoveFmuRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveFmuRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>* AsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::AddChannelLinkResponse>* PrepareAsyncAddChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::AddChannelLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>* AsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::RemoveChannelLinkResponse>* PrepareAsyncRemoveChannelLinkRaw(::grpc::ClientContext* context, const ::ModeliRpc::RemoveChannelLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>* AsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetIntResponse>* PrepareAsyncSetIntRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetIntRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>* AsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetRealResponse>* PrepareAsyncSetRealRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetRealRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>* AsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetBoolResponse>* PrepareAsyncSetBoolRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetBoolRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>* AsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::ModeliRpc::SetStringResponse>* PrepareAsyncSetStringRaw(::grpc::ClientContext* context, const ::ModeliRpc::SetStringRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientReader< ::ModeliRpc::NewValuesResponse>* NewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request) override; - ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>* AsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; - ::grpc::ClientAsyncReader< ::ModeliRpc::NewValuesResponse>* PrepareAsyncNewValuesRaw(::grpc::ClientContext* context, const ::ModeliRpc::NewValuesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientReader< ::ModeliRpc::LogResponse>* LogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request) override; - ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>* AsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq, void* tag) override; - ::grpc::ClientAsyncReader< ::ModeliRpc::LogResponse>* PrepareAsyncLogRaw(::grpc::ClientContext* context, const ::ModeliRpc::LogRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_Play_; - const ::grpc::internal::RpcMethod rpcmethod_PlayFast_; - const ::grpc::internal::RpcMethod rpcmethod_Pause_; - const ::grpc::internal::RpcMethod rpcmethod_Stop_; - const ::grpc::internal::RpcMethod rpcmethod_AddFmu_; - const ::grpc::internal::RpcMethod rpcmethod_RemoveFmu_; - const ::grpc::internal::RpcMethod rpcmethod_AddChannelLink_; - const ::grpc::internal::RpcMethod rpcmethod_RemoveChannelLink_; - const ::grpc::internal::RpcMethod rpcmethod_SetInt_; - const ::grpc::internal::RpcMethod rpcmethod_SetReal_; - const ::grpc::internal::RpcMethod rpcmethod_SetBool_; - const ::grpc::internal::RpcMethod rpcmethod_SetString_; - const ::grpc::internal::RpcMethod rpcmethod_NewValues_; - const ::grpc::internal::RpcMethod rpcmethod_Log_; - }; - static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); - - class Service : public ::grpc::Service { - public: - Service(); - virtual ~Service(); - // Play the simulation infinetly in realtime - virtual ::grpc::Status Play(::grpc::ServerContext* context, const ::ModeliRpc::PlayRequest* request, ::ModeliRpc::PlayResponse* response); - // Play the simulation as fast as possible (fast forwad) - virtual ::grpc::Status PlayFast(::grpc::ServerContext* context, const ::ModeliRpc::PlayFastRequest* request, ::ModeliRpc::PlayFastResponse* response); - // Pause the simulation without resetting it - virtual ::grpc::Status Pause(::grpc::ServerContext* context, const ::ModeliRpc::PauseRequest* request, ::ModeliRpc::PauseResponse* response); - // Halt and reset the simulation - virtual ::grpc::Status Stop(::grpc::ServerContext* context, const ::ModeliRpc::StopRequest* request, ::ModeliRpc::StopResponse* response); - // Add a new Fmu to the simulation, transfer it via chunks - virtual ::grpc::Status AddFmu(::grpc::ServerContext* context, ::grpc::ServerReader< ::ModeliRpc::AddFmuRequest>* reader, ::ModeliRpc::AddFmuResponse* response); - // Remove a Fmu from the simulation - virtual ::grpc::Status RemoveFmu(::grpc::ServerContext* context, const ::ModeliRpc::RemoveFmuRequest* request, ::ModeliRpc::RemoveFmuResponse* response); - // Add a ChannelLink to the simulation - virtual ::grpc::Status AddChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::AddChannelLinkRequest* request, ::ModeliRpc::AddChannelLinkResponse* response); - // Remove a ChannelLink from the simulation - virtual ::grpc::Status RemoveChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::RemoveChannelLinkRequest* request, ::ModeliRpc::RemoveChannelLinkResponse* response); - // Set int values in one of the fmus - virtual ::grpc::Status SetInt(::grpc::ServerContext* context, const ::ModeliRpc::SetIntRequest* request, ::ModeliRpc::SetIntResponse* response); - // Set real values in one of the fmus - virtual ::grpc::Status SetReal(::grpc::ServerContext* context, const ::ModeliRpc::SetRealRequest* request, ::ModeliRpc::SetRealResponse* response); - // Set bool values in one of the fmus - virtual ::grpc::Status SetBool(::grpc::ServerContext* context, const ::ModeliRpc::SetBoolRequest* request, ::ModeliRpc::SetBoolResponse* response); - // Set string values in one of the fmus - virtual ::grpc::Status SetString(::grpc::ServerContext* context, const ::ModeliRpc::SetStringRequest* request, ::ModeliRpc::SetStringResponse* response); - // Stream simulation results to the client - virtual ::grpc::Status NewValues(::grpc::ServerContext* context, const ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerWriter< ::ModeliRpc::NewValuesResponse>* writer); - // Stream log messages to the client - virtual ::grpc::Status Log(::grpc::ServerContext* context, const ::ModeliRpc::LogRequest* request, ::grpc::ServerWriter< ::ModeliRpc::LogResponse>* writer); - }; - template <class BaseClass> - class WithAsyncMethod_Play : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_Play() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_Play() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Play(::grpc::ServerContext* context, const ::ModeliRpc::PlayRequest* request, ::ModeliRpc::PlayResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestPlay(::grpc::ServerContext* context, ::ModeliRpc::PlayRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::PlayResponse>* 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); - } - }; - template <class BaseClass> - class WithAsyncMethod_PlayFast : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_PlayFast() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_PlayFast() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status PlayFast(::grpc::ServerContext* context, const ::ModeliRpc::PlayFastRequest* request, ::ModeliRpc::PlayFastResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestPlayFast(::grpc::ServerContext* context, ::ModeliRpc::PlayFastRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::PlayFastResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_Pause : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_Pause() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_Pause() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Pause(::grpc::ServerContext* context, const ::ModeliRpc::PauseRequest* request, ::ModeliRpc::PauseResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestPause(::grpc::ServerContext* context, ::ModeliRpc::PauseRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::PauseResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_Stop : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_Stop() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_Stop() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Stop(::grpc::ServerContext* context, const ::ModeliRpc::StopRequest* request, ::ModeliRpc::StopResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestStop(::grpc::ServerContext* context, ::ModeliRpc::StopRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::StopResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_AddFmu : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_AddFmu() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_AddFmu() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddFmu(::grpc::ServerContext* context, ::grpc::ServerReader< ::ModeliRpc::AddFmuRequest>* reader, ::ModeliRpc::AddFmuResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestAddFmu(::grpc::ServerContext* context, ::grpc::ServerAsyncReader< ::ModeliRpc::AddFmuResponse, ::ModeliRpc::AddFmuRequest>* reader, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncClientStreaming(4, context, reader, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_RemoveFmu : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_RemoveFmu() { - ::grpc::Service::MarkMethodAsync(5); - } - ~WithAsyncMethod_RemoveFmu() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RemoveFmu(::grpc::ServerContext* context, const ::ModeliRpc::RemoveFmuRequest* request, ::ModeliRpc::RemoveFmuResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRemoveFmu(::grpc::ServerContext* context, ::ModeliRpc::RemoveFmuRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::RemoveFmuResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_AddChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_AddChannelLink() { - ::grpc::Service::MarkMethodAsync(6); - } - ~WithAsyncMethod_AddChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::AddChannelLinkRequest* request, ::ModeliRpc::AddChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestAddChannelLink(::grpc::ServerContext* context, ::ModeliRpc::AddChannelLinkRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::AddChannelLinkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_RemoveChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_RemoveChannelLink() { - ::grpc::Service::MarkMethodAsync(7); - } - ~WithAsyncMethod_RemoveChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RemoveChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::RemoveChannelLinkRequest* request, ::ModeliRpc::RemoveChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRemoveChannelLink(::grpc::ServerContext* context, ::ModeliRpc::RemoveChannelLinkRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::RemoveChannelLinkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_SetInt : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_SetInt() { - ::grpc::Service::MarkMethodAsync(8); - } - ~WithAsyncMethod_SetInt() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetInt(::grpc::ServerContext* context, const ::ModeliRpc::SetIntRequest* request, ::ModeliRpc::SetIntResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetInt(::grpc::ServerContext* context, ::ModeliRpc::SetIntRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::SetIntResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_SetReal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_SetReal() { - ::grpc::Service::MarkMethodAsync(9); - } - ~WithAsyncMethod_SetReal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetReal(::grpc::ServerContext* context, const ::ModeliRpc::SetRealRequest* request, ::ModeliRpc::SetRealResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetReal(::grpc::ServerContext* context, ::ModeliRpc::SetRealRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::SetRealResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_SetBool : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_SetBool() { - ::grpc::Service::MarkMethodAsync(10); - } - ~WithAsyncMethod_SetBool() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetBool(::grpc::ServerContext* context, const ::ModeliRpc::SetBoolRequest* request, ::ModeliRpc::SetBoolResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetBool(::grpc::ServerContext* context, ::ModeliRpc::SetBoolRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::SetBoolResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_SetString : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_SetString() { - ::grpc::Service::MarkMethodAsync(11); - } - ~WithAsyncMethod_SetString() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetString(::grpc::ServerContext* context, const ::ModeliRpc::SetStringRequest* request, ::ModeliRpc::SetStringResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetString(::grpc::ServerContext* context, ::ModeliRpc::SetStringRequest* request, ::grpc::ServerAsyncResponseWriter< ::ModeliRpc::SetStringResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_NewValues : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_NewValues() { - ::grpc::Service::MarkMethodAsync(12); - } - ~WithAsyncMethod_NewValues() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status NewValues(::grpc::ServerContext* context, const ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerWriter< ::ModeliRpc::NewValuesResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestNewValues(::grpc::ServerContext* context, ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerAsyncWriter< ::ModeliRpc::NewValuesResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(12, context, request, writer, new_call_cq, notification_cq, tag); - } - }; - template <class BaseClass> - class WithAsyncMethod_Log : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_Log() { - ::grpc::Service::MarkMethodAsync(13); - } - ~WithAsyncMethod_Log() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Log(::grpc::ServerContext* context, const ::ModeliRpc::LogRequest* request, ::grpc::ServerWriter< ::ModeliRpc::LogResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestLog(::grpc::ServerContext* context, ::ModeliRpc::LogRequest* request, ::grpc::ServerAsyncWriter< ::ModeliRpc::LogResponse>* writer, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncServerStreaming(13, context, request, writer, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_Play<WithAsyncMethod_PlayFast<WithAsyncMethod_Pause<WithAsyncMethod_Stop<WithAsyncMethod_AddFmu<WithAsyncMethod_RemoveFmu<WithAsyncMethod_AddChannelLink<WithAsyncMethod_RemoveChannelLink<WithAsyncMethod_SetInt<WithAsyncMethod_SetReal<WithAsyncMethod_SetBool<WithAsyncMethod_SetString<WithAsyncMethod_NewValues<WithAsyncMethod_Log<Service > > > > > > > > > > > > > > AsyncService; - template <class BaseClass> - class WithGenericMethod_Play : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_Play() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_Play() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Play(::grpc::ServerContext* context, const ::ModeliRpc::PlayRequest* request, ::ModeliRpc::PlayResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_PlayFast : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_PlayFast() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_PlayFast() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status PlayFast(::grpc::ServerContext* context, const ::ModeliRpc::PlayFastRequest* request, ::ModeliRpc::PlayFastResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_Pause : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_Pause() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_Pause() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Pause(::grpc::ServerContext* context, const ::ModeliRpc::PauseRequest* request, ::ModeliRpc::PauseResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_Stop : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_Stop() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_Stop() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Stop(::grpc::ServerContext* context, const ::ModeliRpc::StopRequest* request, ::ModeliRpc::StopResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_AddFmu : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_AddFmu() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_AddFmu() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddFmu(::grpc::ServerContext* context, ::grpc::ServerReader< ::ModeliRpc::AddFmuRequest>* reader, ::ModeliRpc::AddFmuResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_RemoveFmu : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_RemoveFmu() { - ::grpc::Service::MarkMethodGeneric(5); - } - ~WithGenericMethod_RemoveFmu() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RemoveFmu(::grpc::ServerContext* context, const ::ModeliRpc::RemoveFmuRequest* request, ::ModeliRpc::RemoveFmuResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_AddChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_AddChannelLink() { - ::grpc::Service::MarkMethodGeneric(6); - } - ~WithGenericMethod_AddChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::AddChannelLinkRequest* request, ::ModeliRpc::AddChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_RemoveChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_RemoveChannelLink() { - ::grpc::Service::MarkMethodGeneric(7); - } - ~WithGenericMethod_RemoveChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RemoveChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::RemoveChannelLinkRequest* request, ::ModeliRpc::RemoveChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_SetInt : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_SetInt() { - ::grpc::Service::MarkMethodGeneric(8); - } - ~WithGenericMethod_SetInt() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetInt(::grpc::ServerContext* context, const ::ModeliRpc::SetIntRequest* request, ::ModeliRpc::SetIntResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_SetReal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_SetReal() { - ::grpc::Service::MarkMethodGeneric(9); - } - ~WithGenericMethod_SetReal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetReal(::grpc::ServerContext* context, const ::ModeliRpc::SetRealRequest* request, ::ModeliRpc::SetRealResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_SetBool : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_SetBool() { - ::grpc::Service::MarkMethodGeneric(10); - } - ~WithGenericMethod_SetBool() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetBool(::grpc::ServerContext* context, const ::ModeliRpc::SetBoolRequest* request, ::ModeliRpc::SetBoolResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_SetString : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_SetString() { - ::grpc::Service::MarkMethodGeneric(11); - } - ~WithGenericMethod_SetString() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetString(::grpc::ServerContext* context, const ::ModeliRpc::SetStringRequest* request, ::ModeliRpc::SetStringResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_NewValues : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_NewValues() { - ::grpc::Service::MarkMethodGeneric(12); - } - ~WithGenericMethod_NewValues() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status NewValues(::grpc::ServerContext* context, const ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerWriter< ::ModeliRpc::NewValuesResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithGenericMethod_Log : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_Log() { - ::grpc::Service::MarkMethodGeneric(13); - } - ~WithGenericMethod_Log() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status Log(::grpc::ServerContext* context, const ::ModeliRpc::LogRequest* request, ::grpc::ServerWriter< ::ModeliRpc::LogResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template <class BaseClass> - class WithStreamedUnaryMethod_Play : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_Play() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::PlayRequest, ::ModeliRpc::PlayResponse>(std::bind(&WithStreamedUnaryMethod_Play<BaseClass>::StreamedPlay, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_Play() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status Play(::grpc::ServerContext* context, const ::ModeliRpc::PlayRequest* request, ::ModeliRpc::PlayResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedPlay(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::PlayRequest,::ModeliRpc::PlayResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_PlayFast : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_PlayFast() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::PlayFastRequest, ::ModeliRpc::PlayFastResponse>(std::bind(&WithStreamedUnaryMethod_PlayFast<BaseClass>::StreamedPlayFast, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_PlayFast() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status PlayFast(::grpc::ServerContext* context, const ::ModeliRpc::PlayFastRequest* request, ::ModeliRpc::PlayFastResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedPlayFast(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::PlayFastRequest,::ModeliRpc::PlayFastResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_Pause : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_Pause() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::PauseRequest, ::ModeliRpc::PauseResponse>(std::bind(&WithStreamedUnaryMethod_Pause<BaseClass>::StreamedPause, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_Pause() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status Pause(::grpc::ServerContext* context, const ::ModeliRpc::PauseRequest* request, ::ModeliRpc::PauseResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedPause(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::PauseRequest,::ModeliRpc::PauseResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_Stop : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_Stop() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::StopRequest, ::ModeliRpc::StopResponse>(std::bind(&WithStreamedUnaryMethod_Stop<BaseClass>::StreamedStop, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_Stop() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status Stop(::grpc::ServerContext* context, const ::ModeliRpc::StopRequest* request, ::ModeliRpc::StopResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedStop(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::StopRequest,::ModeliRpc::StopResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_RemoveFmu : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_RemoveFmu() { - ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::RemoveFmuRequest, ::ModeliRpc::RemoveFmuResponse>(std::bind(&WithStreamedUnaryMethod_RemoveFmu<BaseClass>::StreamedRemoveFmu, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_RemoveFmu() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status RemoveFmu(::grpc::ServerContext* context, const ::ModeliRpc::RemoveFmuRequest* request, ::ModeliRpc::RemoveFmuResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedRemoveFmu(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::RemoveFmuRequest,::ModeliRpc::RemoveFmuResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_AddChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_AddChannelLink() { - ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::AddChannelLinkRequest, ::ModeliRpc::AddChannelLinkResponse>(std::bind(&WithStreamedUnaryMethod_AddChannelLink<BaseClass>::StreamedAddChannelLink, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_AddChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status AddChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::AddChannelLinkRequest* request, ::ModeliRpc::AddChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAddChannelLink(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::AddChannelLinkRequest,::ModeliRpc::AddChannelLinkResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_RemoveChannelLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_RemoveChannelLink() { - ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::RemoveChannelLinkRequest, ::ModeliRpc::RemoveChannelLinkResponse>(std::bind(&WithStreamedUnaryMethod_RemoveChannelLink<BaseClass>::StreamedRemoveChannelLink, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_RemoveChannelLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status RemoveChannelLink(::grpc::ServerContext* context, const ::ModeliRpc::RemoveChannelLinkRequest* request, ::ModeliRpc::RemoveChannelLinkResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedRemoveChannelLink(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::RemoveChannelLinkRequest,::ModeliRpc::RemoveChannelLinkResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_SetInt : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_SetInt() { - ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::SetIntRequest, ::ModeliRpc::SetIntResponse>(std::bind(&WithStreamedUnaryMethod_SetInt<BaseClass>::StreamedSetInt, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_SetInt() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetInt(::grpc::ServerContext* context, const ::ModeliRpc::SetIntRequest* request, ::ModeliRpc::SetIntResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetInt(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::SetIntRequest,::ModeliRpc::SetIntResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_SetReal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_SetReal() { - ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::SetRealRequest, ::ModeliRpc::SetRealResponse>(std::bind(&WithStreamedUnaryMethod_SetReal<BaseClass>::StreamedSetReal, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_SetReal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetReal(::grpc::ServerContext* context, const ::ModeliRpc::SetRealRequest* request, ::ModeliRpc::SetRealResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetReal(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::SetRealRequest,::ModeliRpc::SetRealResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_SetBool : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_SetBool() { - ::grpc::Service::MarkMethodStreamed(10, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::SetBoolRequest, ::ModeliRpc::SetBoolResponse>(std::bind(&WithStreamedUnaryMethod_SetBool<BaseClass>::StreamedSetBool, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_SetBool() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetBool(::grpc::ServerContext* context, const ::ModeliRpc::SetBoolRequest* request, ::ModeliRpc::SetBoolResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetBool(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::SetBoolRequest,::ModeliRpc::SetBoolResponse>* server_unary_streamer) = 0; - }; - template <class BaseClass> - class WithStreamedUnaryMethod_SetString : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_SetString() { - ::grpc::Service::MarkMethodStreamed(11, - new ::grpc::internal::StreamedUnaryHandler< ::ModeliRpc::SetStringRequest, ::ModeliRpc::SetStringResponse>(std::bind(&WithStreamedUnaryMethod_SetString<BaseClass>::StreamedSetString, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_SetString() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetString(::grpc::ServerContext* context, const ::ModeliRpc::SetStringRequest* request, ::ModeliRpc::SetStringResponse* response) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetString(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::ModeliRpc::SetStringRequest,::ModeliRpc::SetStringResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_Play<WithStreamedUnaryMethod_PlayFast<WithStreamedUnaryMethod_Pause<WithStreamedUnaryMethod_Stop<WithStreamedUnaryMethod_RemoveFmu<WithStreamedUnaryMethod_AddChannelLink<WithStreamedUnaryMethod_RemoveChannelLink<WithStreamedUnaryMethod_SetInt<WithStreamedUnaryMethod_SetReal<WithStreamedUnaryMethod_SetBool<WithStreamedUnaryMethod_SetString<Service > > > > > > > > > > > StreamedUnaryService; - template <class BaseClass> - class WithSplitStreamingMethod_NewValues : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithSplitStreamingMethod_NewValues() { - ::grpc::Service::MarkMethodStreamed(12, - new ::grpc::internal::SplitServerStreamingHandler< ::ModeliRpc::NewValuesRequest, ::ModeliRpc::NewValuesResponse>(std::bind(&WithSplitStreamingMethod_NewValues<BaseClass>::StreamedNewValues, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithSplitStreamingMethod_NewValues() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status NewValues(::grpc::ServerContext* context, const ::ModeliRpc::NewValuesRequest* request, ::grpc::ServerWriter< ::ModeliRpc::NewValuesResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with split streamed - virtual ::grpc::Status StreamedNewValues(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::ModeliRpc::NewValuesRequest,::ModeliRpc::NewValuesResponse>* server_split_streamer) = 0; - }; - template <class BaseClass> - class WithSplitStreamingMethod_Log : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithSplitStreamingMethod_Log() { - ::grpc::Service::MarkMethodStreamed(13, - new ::grpc::internal::SplitServerStreamingHandler< ::ModeliRpc::LogRequest, ::ModeliRpc::LogResponse>(std::bind(&WithSplitStreamingMethod_Log<BaseClass>::StreamedLog, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithSplitStreamingMethod_Log() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status Log(::grpc::ServerContext* context, const ::ModeliRpc::LogRequest* request, ::grpc::ServerWriter< ::ModeliRpc::LogResponse>* writer) final override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with split streamed - virtual ::grpc::Status StreamedLog(::grpc::ServerContext* context, ::grpc::ServerSplitStreamer< ::ModeliRpc::LogRequest,::ModeliRpc::LogResponse>* server_split_streamer) = 0; - }; - typedef WithSplitStreamingMethod_NewValues<WithSplitStreamingMethod_Log<Service > > SplitStreamedService; - typedef WithStreamedUnaryMethod_Play<WithStreamedUnaryMethod_PlayFast<WithStreamedUnaryMethod_Pause<WithStreamedUnaryMethod_Stop<WithStreamedUnaryMethod_RemoveFmu<WithStreamedUnaryMethod_AddChannelLink<WithStreamedUnaryMethod_RemoveChannelLink<WithStreamedUnaryMethod_SetInt<WithStreamedUnaryMethod_SetReal<WithStreamedUnaryMethod_SetBool<WithStreamedUnaryMethod_SetString<WithSplitStreamingMethod_NewValues<WithSplitStreamingMethod_Log<Service > > > > > > > > > > > > > StreamedService; -}; - -} // namespace ModeliRpc - - -#endif // GRPC_ModeliRpc_2eproto__INCLUDED diff --git a/ModeliRpc_Cpp/ModeliRpc.pb.cc b/ModeliRpc_Cpp/ModeliRpc.pb.cc deleted file mode 100644 index f720646cee7180276885bd86be9fa257ebead317..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cpp/ModeliRpc.pb.cc +++ /dev/null @@ -1,10004 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ModeliRpc.proto - -#include "ModeliRpc.pb.h" - -#include <algorithm> - -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/port.h> -#include <google/protobuf/stubs/once.h> -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/generated_message_reflection.h> -#include <google/protobuf/reflection_ops.h> -#include <google/protobuf/wire_format.h> -// This is a temporary google only hack -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS -#include "third_party/protobuf/version.h" -#endif -// @@protoc_insertion_point(includes) -namespace ModeliRpc { -class IntValueDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<IntValue> - _instance; -} _IntValue_default_instance_; -class RealValueDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<RealValue> - _instance; -} _RealValue_default_instance_; -class BoolValueDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<BoolValue> - _instance; -} _BoolValue_default_instance_; -class StringValueDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<StringValue> - _instance; -} _StringValue_default_instance_; -class ChannelLinkDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<ChannelLink> - _instance; -} _ChannelLink_default_instance_; -class PlayRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PlayRequest> - _instance; -} _PlayRequest_default_instance_; -class PlayResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PlayResponse> - _instance; -} _PlayResponse_default_instance_; -class PlayFastRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PlayFastRequest> - _instance; -} _PlayFastRequest_default_instance_; -class PlayFastResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PlayFastResponse> - _instance; -} _PlayFastResponse_default_instance_; -class PauseRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PauseRequest> - _instance; -} _PauseRequest_default_instance_; -class PauseResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<PauseResponse> - _instance; -} _PauseResponse_default_instance_; -class StopRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<StopRequest> - _instance; -} _StopRequest_default_instance_; -class StopResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<StopResponse> - _instance; -} _StopResponse_default_instance_; -class AddFmuRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<AddFmuRequest> - _instance; -} _AddFmuRequest_default_instance_; -class AddFmuResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<AddFmuResponse> - _instance; -} _AddFmuResponse_default_instance_; -class RemoveFmuRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<RemoveFmuRequest> - _instance; -} _RemoveFmuRequest_default_instance_; -class RemoveFmuResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<RemoveFmuResponse> - _instance; -} _RemoveFmuResponse_default_instance_; -class AddChannelLinkRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<AddChannelLinkRequest> - _instance; -} _AddChannelLinkRequest_default_instance_; -class AddChannelLinkResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<AddChannelLinkResponse> - _instance; -} _AddChannelLinkResponse_default_instance_; -class RemoveChannelLinkRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<RemoveChannelLinkRequest> - _instance; -} _RemoveChannelLinkRequest_default_instance_; -class RemoveChannelLinkResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<RemoveChannelLinkResponse> - _instance; -} _RemoveChannelLinkResponse_default_instance_; -class SetIntRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetIntRequest> - _instance; -} _SetIntRequest_default_instance_; -class SetIntResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetIntResponse> - _instance; -} _SetIntResponse_default_instance_; -class SetRealRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetRealRequest> - _instance; -} _SetRealRequest_default_instance_; -class SetRealResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetRealResponse> - _instance; -} _SetRealResponse_default_instance_; -class SetBoolRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetBoolRequest> - _instance; -} _SetBoolRequest_default_instance_; -class SetBoolResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetBoolResponse> - _instance; -} _SetBoolResponse_default_instance_; -class SetStringRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetStringRequest> - _instance; -} _SetStringRequest_default_instance_; -class SetStringResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<SetStringResponse> - _instance; -} _SetStringResponse_default_instance_; -class NewValuesRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<NewValuesRequest> - _instance; -} _NewValuesRequest_default_instance_; -class NewValuesResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<NewValuesResponse> - _instance; -} _NewValuesResponse_default_instance_; -class LogRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<LogRequest> - _instance; -} _LogRequest_default_instance_; -class LogResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed<LogResponse> - _instance; -} _LogResponse_default_instance_; -} // namespace ModeliRpc -namespace protobuf_ModeliRpc_2eproto { -void InitDefaultsIntValueImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_IntValue_default_instance_; - new (ptr) ::ModeliRpc::IntValue(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::IntValue::InitAsDefaultInstance(); -} - -void InitDefaultsIntValue() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIntValueImpl); -} - -void InitDefaultsRealValueImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_RealValue_default_instance_; - new (ptr) ::ModeliRpc::RealValue(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::RealValue::InitAsDefaultInstance(); -} - -void InitDefaultsRealValue() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRealValueImpl); -} - -void InitDefaultsBoolValueImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_BoolValue_default_instance_; - new (ptr) ::ModeliRpc::BoolValue(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::BoolValue::InitAsDefaultInstance(); -} - -void InitDefaultsBoolValue() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBoolValueImpl); -} - -void InitDefaultsStringValueImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_StringValue_default_instance_; - new (ptr) ::ModeliRpc::StringValue(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::StringValue::InitAsDefaultInstance(); -} - -void InitDefaultsStringValue() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsStringValueImpl); -} - -void InitDefaultsChannelLinkImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_ChannelLink_default_instance_; - new (ptr) ::ModeliRpc::ChannelLink(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::ChannelLink::InitAsDefaultInstance(); -} - -void InitDefaultsChannelLink() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChannelLinkImpl); -} - -void InitDefaultsPlayRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PlayRequest_default_instance_; - new (ptr) ::ModeliRpc::PlayRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PlayRequest::InitAsDefaultInstance(); -} - -void InitDefaultsPlayRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlayRequestImpl); -} - -void InitDefaultsPlayResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PlayResponse_default_instance_; - new (ptr) ::ModeliRpc::PlayResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PlayResponse::InitAsDefaultInstance(); -} - -void InitDefaultsPlayResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlayResponseImpl); -} - -void InitDefaultsPlayFastRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PlayFastRequest_default_instance_; - new (ptr) ::ModeliRpc::PlayFastRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PlayFastRequest::InitAsDefaultInstance(); -} - -void InitDefaultsPlayFastRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlayFastRequestImpl); -} - -void InitDefaultsPlayFastResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PlayFastResponse_default_instance_; - new (ptr) ::ModeliRpc::PlayFastResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PlayFastResponse::InitAsDefaultInstance(); -} - -void InitDefaultsPlayFastResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPlayFastResponseImpl); -} - -void InitDefaultsPauseRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PauseRequest_default_instance_; - new (ptr) ::ModeliRpc::PauseRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PauseRequest::InitAsDefaultInstance(); -} - -void InitDefaultsPauseRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPauseRequestImpl); -} - -void InitDefaultsPauseResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_PauseResponse_default_instance_; - new (ptr) ::ModeliRpc::PauseResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::PauseResponse::InitAsDefaultInstance(); -} - -void InitDefaultsPauseResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPauseResponseImpl); -} - -void InitDefaultsStopRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_StopRequest_default_instance_; - new (ptr) ::ModeliRpc::StopRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::StopRequest::InitAsDefaultInstance(); -} - -void InitDefaultsStopRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsStopRequestImpl); -} - -void InitDefaultsStopResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_StopResponse_default_instance_; - new (ptr) ::ModeliRpc::StopResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::StopResponse::InitAsDefaultInstance(); -} - -void InitDefaultsStopResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsStopResponseImpl); -} - -void InitDefaultsAddFmuRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_AddFmuRequest_default_instance_; - new (ptr) ::ModeliRpc::AddFmuRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::AddFmuRequest::InitAsDefaultInstance(); -} - -void InitDefaultsAddFmuRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAddFmuRequestImpl); -} - -void InitDefaultsAddFmuResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_AddFmuResponse_default_instance_; - new (ptr) ::ModeliRpc::AddFmuResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::AddFmuResponse::InitAsDefaultInstance(); -} - -void InitDefaultsAddFmuResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAddFmuResponseImpl); -} - -void InitDefaultsRemoveFmuRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_RemoveFmuRequest_default_instance_; - new (ptr) ::ModeliRpc::RemoveFmuRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::RemoveFmuRequest::InitAsDefaultInstance(); -} - -void InitDefaultsRemoveFmuRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveFmuRequestImpl); -} - -void InitDefaultsRemoveFmuResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_RemoveFmuResponse_default_instance_; - new (ptr) ::ModeliRpc::RemoveFmuResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::RemoveFmuResponse::InitAsDefaultInstance(); -} - -void InitDefaultsRemoveFmuResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveFmuResponseImpl); -} - -void InitDefaultsAddChannelLinkRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsChannelLink(); - { - void* ptr = &::ModeliRpc::_AddChannelLinkRequest_default_instance_; - new (ptr) ::ModeliRpc::AddChannelLinkRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::AddChannelLinkRequest::InitAsDefaultInstance(); -} - -void InitDefaultsAddChannelLinkRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAddChannelLinkRequestImpl); -} - -void InitDefaultsAddChannelLinkResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_AddChannelLinkResponse_default_instance_; - new (ptr) ::ModeliRpc::AddChannelLinkResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::AddChannelLinkResponse::InitAsDefaultInstance(); -} - -void InitDefaultsAddChannelLinkResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAddChannelLinkResponseImpl); -} - -void InitDefaultsRemoveChannelLinkRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsChannelLink(); - { - void* ptr = &::ModeliRpc::_RemoveChannelLinkRequest_default_instance_; - new (ptr) ::ModeliRpc::RemoveChannelLinkRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::RemoveChannelLinkRequest::InitAsDefaultInstance(); -} - -void InitDefaultsRemoveChannelLinkRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveChannelLinkRequestImpl); -} - -void InitDefaultsRemoveChannelLinkResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_RemoveChannelLinkResponse_default_instance_; - new (ptr) ::ModeliRpc::RemoveChannelLinkResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::RemoveChannelLinkResponse::InitAsDefaultInstance(); -} - -void InitDefaultsRemoveChannelLinkResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveChannelLinkResponseImpl); -} - -void InitDefaultsSetIntRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsIntValue(); - { - void* ptr = &::ModeliRpc::_SetIntRequest_default_instance_; - new (ptr) ::ModeliRpc::SetIntRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetIntRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetIntRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetIntRequestImpl); -} - -void InitDefaultsSetIntResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_SetIntResponse_default_instance_; - new (ptr) ::ModeliRpc::SetIntResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetIntResponse::InitAsDefaultInstance(); -} - -void InitDefaultsSetIntResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetIntResponseImpl); -} - -void InitDefaultsSetRealRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsRealValue(); - { - void* ptr = &::ModeliRpc::_SetRealRequest_default_instance_; - new (ptr) ::ModeliRpc::SetRealRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetRealRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetRealRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetRealRequestImpl); -} - -void InitDefaultsSetRealResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_SetRealResponse_default_instance_; - new (ptr) ::ModeliRpc::SetRealResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetRealResponse::InitAsDefaultInstance(); -} - -void InitDefaultsSetRealResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetRealResponseImpl); -} - -void InitDefaultsSetBoolRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsBoolValue(); - { - void* ptr = &::ModeliRpc::_SetBoolRequest_default_instance_; - new (ptr) ::ModeliRpc::SetBoolRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetBoolRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetBoolRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetBoolRequestImpl); -} - -void InitDefaultsSetBoolResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_SetBoolResponse_default_instance_; - new (ptr) ::ModeliRpc::SetBoolResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetBoolResponse::InitAsDefaultInstance(); -} - -void InitDefaultsSetBoolResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetBoolResponseImpl); -} - -void InitDefaultsSetStringRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsStringValue(); - { - void* ptr = &::ModeliRpc::_SetStringRequest_default_instance_; - new (ptr) ::ModeliRpc::SetStringRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetStringRequest::InitAsDefaultInstance(); -} - -void InitDefaultsSetStringRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetStringRequestImpl); -} - -void InitDefaultsSetStringResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_SetStringResponse_default_instance_; - new (ptr) ::ModeliRpc::SetStringResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::SetStringResponse::InitAsDefaultInstance(); -} - -void InitDefaultsSetStringResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsSetStringResponseImpl); -} - -void InitDefaultsNewValuesRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_NewValuesRequest_default_instance_; - new (ptr) ::ModeliRpc::NewValuesRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::NewValuesRequest::InitAsDefaultInstance(); -} - -void InitDefaultsNewValuesRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsNewValuesRequestImpl); -} - -void InitDefaultsNewValuesResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - protobuf_ModeliRpc_2eproto::InitDefaultsIntValue(); - protobuf_ModeliRpc_2eproto::InitDefaultsRealValue(); - protobuf_ModeliRpc_2eproto::InitDefaultsBoolValue(); - protobuf_ModeliRpc_2eproto::InitDefaultsStringValue(); - { - void* ptr = &::ModeliRpc::_NewValuesResponse_default_instance_; - new (ptr) ::ModeliRpc::NewValuesResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::NewValuesResponse::InitAsDefaultInstance(); -} - -void InitDefaultsNewValuesResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsNewValuesResponseImpl); -} - -void InitDefaultsLogRequestImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_LogRequest_default_instance_; - new (ptr) ::ModeliRpc::LogRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::LogRequest::InitAsDefaultInstance(); -} - -void InitDefaultsLogRequest() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsLogRequestImpl); -} - -void InitDefaultsLogResponseImpl() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - -#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); -#else - ::google::protobuf::internal::InitProtobufDefaults(); -#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS - { - void* ptr = &::ModeliRpc::_LogResponse_default_instance_; - new (ptr) ::ModeliRpc::LogResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::ModeliRpc::LogResponse::InitAsDefaultInstance(); -} - -void InitDefaultsLogResponse() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsLogResponseImpl); -} - -::google::protobuf::Metadata file_level_metadata[33]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; - -const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::IntValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::IntValue, value_ref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::IntValue, value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RealValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RealValue, value_ref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RealValue, value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::BoolValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::BoolValue, value_ref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::BoolValue, value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StringValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StringValue, value_ref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StringValue, value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, master_instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, slave_instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, master_vr_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, slave_vr_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, factor_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::ChannelLink, offset_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayFastRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayFastRequest, time_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayFastResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PlayFastResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PauseRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::PauseResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StopRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StopResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::StopResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddFmuRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddFmuRequest, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddFmuRequest, chunk_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddFmuResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddFmuResponse, success_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveFmuRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveFmuRequest, instance_name_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveFmuResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveFmuResponse, success_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddChannelLinkRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddChannelLinkRequest, channel_link_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddChannelLinkResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::AddChannelLinkResponse, success_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveChannelLinkRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveChannelLinkRequest, channel_link_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveChannelLinkResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::RemoveChannelLinkResponse, success_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetIntRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetIntRequest, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetIntRequest, int_value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetIntResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetIntResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetRealRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetRealRequest, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetRealRequest, real_value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetRealResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetRealResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetBoolRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetBoolRequest, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetBoolRequest, bool_value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetBoolResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetBoolResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetStringRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetStringRequest, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetStringRequest, string_value_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetStringResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::SetStringResponse, status_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, timestamp_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, int_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, real_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, bool_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, string_value_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::NewValuesResponse, instance_name_), - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::LogRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::LogResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::LogResponse, instance_name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::LogResponse, status_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::ModeliRpc::LogResponse, message_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::ModeliRpc::IntValue)}, - { 7, -1, sizeof(::ModeliRpc::RealValue)}, - { 14, -1, sizeof(::ModeliRpc::BoolValue)}, - { 21, -1, sizeof(::ModeliRpc::StringValue)}, - { 28, -1, sizeof(::ModeliRpc::ChannelLink)}, - { 39, -1, sizeof(::ModeliRpc::PlayRequest)}, - { 44, -1, sizeof(::ModeliRpc::PlayResponse)}, - { 50, -1, sizeof(::ModeliRpc::PlayFastRequest)}, - { 56, -1, sizeof(::ModeliRpc::PlayFastResponse)}, - { 62, -1, sizeof(::ModeliRpc::PauseRequest)}, - { 67, -1, sizeof(::ModeliRpc::PauseResponse)}, - { 72, -1, sizeof(::ModeliRpc::StopRequest)}, - { 77, -1, sizeof(::ModeliRpc::StopResponse)}, - { 83, -1, sizeof(::ModeliRpc::AddFmuRequest)}, - { 90, -1, sizeof(::ModeliRpc::AddFmuResponse)}, - { 96, -1, sizeof(::ModeliRpc::RemoveFmuRequest)}, - { 102, -1, sizeof(::ModeliRpc::RemoveFmuResponse)}, - { 108, -1, sizeof(::ModeliRpc::AddChannelLinkRequest)}, - { 114, -1, sizeof(::ModeliRpc::AddChannelLinkResponse)}, - { 120, -1, sizeof(::ModeliRpc::RemoveChannelLinkRequest)}, - { 126, -1, sizeof(::ModeliRpc::RemoveChannelLinkResponse)}, - { 132, -1, sizeof(::ModeliRpc::SetIntRequest)}, - { 139, -1, sizeof(::ModeliRpc::SetIntResponse)}, - { 145, -1, sizeof(::ModeliRpc::SetRealRequest)}, - { 152, -1, sizeof(::ModeliRpc::SetRealResponse)}, - { 158, -1, sizeof(::ModeliRpc::SetBoolRequest)}, - { 165, -1, sizeof(::ModeliRpc::SetBoolResponse)}, - { 171, -1, sizeof(::ModeliRpc::SetStringRequest)}, - { 178, -1, sizeof(::ModeliRpc::SetStringResponse)}, - { 184, -1, sizeof(::ModeliRpc::NewValuesRequest)}, - { 189, -1, sizeof(::ModeliRpc::NewValuesResponse)}, - { 200, -1, sizeof(::ModeliRpc::LogRequest)}, - { 205, -1, sizeof(::ModeliRpc::LogResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_IntValue_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_RealValue_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_BoolValue_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_StringValue_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_ChannelLink_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PlayRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PlayResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PlayFastRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PlayFastResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PauseRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_PauseResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_StopRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_StopResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_AddFmuRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_AddFmuResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_RemoveFmuRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_RemoveFmuResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_AddChannelLinkRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_AddChannelLinkResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_RemoveChannelLinkRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_RemoveChannelLinkResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetIntRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetIntResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetRealRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetRealResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetBoolRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetBoolResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetStringRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_SetStringResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_NewValuesRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_NewValuesResponse_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_LogRequest_default_instance_), - reinterpret_cast<const ::google::protobuf::Message*>(&::ModeliRpc::_LogResponse_default_instance_), -}; - -void protobuf_AssignDescriptors() { - AddDescriptors(); - ::google::protobuf::MessageFactory* factory = NULL; - AssignDescriptors( - "ModeliRpc.proto", schemas, file_default_instances, TableStruct::offsets, factory, - file_level_metadata, file_level_enum_descriptors, NULL); -} - -void protobuf_AssignDescriptorsOnce() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); -} - -void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 33); -} - -void AddDescriptorsImpl() { - InitDefaults(); - static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n\017ModeliRpc.proto\022\tModeliRpc\",\n\010IntValue" - "\022\021\n\tvalue_ref\030\001 \001(\r\022\r\n\005value\030\002 \001(\005\"-\n\tRe" - "alValue\022\021\n\tvalue_ref\030\001 \001(\r\022\r\n\005value\030\002 \001(" - "\001\"-\n\tBoolValue\022\021\n\tvalue_ref\030\001 \001(\r\022\r\n\005val" - "ue\030\002 \001(\005\"/\n\013StringValue\022\021\n\tvalue_ref\030\001 \001" - "(\r\022\r\n\005value\030\002 \001(\t\"\215\001\n\013ChannelLink\022\034\n\024mas" - "ter_instance_name\030\001 \001(\t\022\033\n\023slave_instanc" - "e_name\030\002 \001(\t\022\021\n\tmaster_vr\030\003 \001(\r\022\020\n\010slave" - "_vr\030\004 \001(\r\022\016\n\006factor\030\005 \001(\001\022\016\n\006offset\030\006 \001(" - "\001\"\r\n\013PlayRequest\"5\n\014PlayResponse\022%\n\006stat" - "us\030\001 \001(\0162\025.ModeliRpc.Fmi2Status\"\037\n\017PlayF" - "astRequest\022\014\n\004time\030\001 \001(\001\"9\n\020PlayFastResp" - "onse\022%\n\006status\030\001 \001(\0162\025.ModeliRpc.Fmi2Sta" - "tus\"\016\n\014PauseRequest\"\017\n\rPauseResponse\"\r\n\013" - "StopRequest\"5\n\014StopResponse\022%\n\006status\030\001 " - "\001(\0162\025.ModeliRpc.Fmi2Status\"5\n\rAddFmuRequ" - "est\022\025\n\rinstance_name\030\001 \001(\t\022\r\n\005chunk\030\002 \001(" - "\014\"!\n\016AddFmuResponse\022\017\n\007success\030\001 \001(\010\")\n\020" - "RemoveFmuRequest\022\025\n\rinstance_name\030\001 \001(\t\"" - "$\n\021RemoveFmuResponse\022\017\n\007success\030\001 \001(\010\"E\n" - "\025AddChannelLinkRequest\022,\n\014channel_link\030\001" - " \001(\0132\026.ModeliRpc.ChannelLink\")\n\026AddChann" - "elLinkResponse\022\017\n\007success\030\001 \001(\010\"H\n\030Remov" - "eChannelLinkRequest\022,\n\014channel_link\030\001 \001(" - "\0132\026.ModeliRpc.ChannelLink\",\n\031RemoveChann" - "elLinkResponse\022\017\n\007success\030\001 \001(\010\"N\n\rSetIn" - "tRequest\022\025\n\rinstance_name\030\001 \001(\t\022&\n\tint_v" - "alue\030\002 \003(\0132\023.ModeliRpc.IntValue\"7\n\016SetIn" - "tResponse\022%\n\006status\030\001 \001(\0162\025.ModeliRpc.Fm" - "i2Status\"Q\n\016SetRealRequest\022\025\n\rinstance_n" - "ame\030\001 \001(\t\022(\n\nreal_value\030\002 \003(\0132\024.ModeliRp" - "c.RealValue\"8\n\017SetRealResponse\022%\n\006status" - "\030\001 \001(\0162\025.ModeliRpc.Fmi2Status\"Q\n\016SetBool" - "Request\022\025\n\rinstance_name\030\001 \001(\t\022(\n\nbool_v" - "alue\030\002 \003(\0132\024.ModeliRpc.BoolValue\"8\n\017SetB" - "oolResponse\022%\n\006status\030\001 \001(\0162\025.ModeliRpc." - "Fmi2Status\"W\n\020SetStringRequest\022\025\n\rinstan" - "ce_name\030\001 \001(\t\022,\n\014string_value\030\002 \003(\0132\026.Mo" - "deliRpc.StringValue\":\n\021SetStringResponse" - "\022%\n\006status\030\001 \001(\0162\025.ModeliRpc.Fmi2Status\"" - "\022\n\020NewValuesRequest\"\347\001\n\021NewValuesRespons" - "e\022\021\n\ttimestamp\030\001 \001(\001\022&\n\tint_value\030\002 \003(\0132" - "\023.ModeliRpc.IntValue\022(\n\nreal_value\030\003 \003(\013" - "2\024.ModeliRpc.RealValue\022(\n\nbool_value\030\004 \003" - "(\0132\024.ModeliRpc.BoolValue\022,\n\014string_value" - "\030\005 \003(\0132\026.ModeliRpc.StringValue\022\025\n\rinstan" - "ce_name\030\006 \001(\t\"\014\n\nLogRequest\"\\\n\013LogRespon" - "se\022\025\n\rinstance_name\030\001 \001(\t\022%\n\006status\030\002 \001(" - "\0162\025.ModeliRpc.Fmi2Status\022\017\n\007message\030\003 \001(" - "\t*o\n\nFmi2Status\022\013\n\007FMI2_OK\020\000\022\020\n\014FMI2_WAR" - "NING\020\001\022\020\n\014FMI2_DISCARD\020\002\022\016\n\nFMI2_ERROR\020\003" - "\022\016\n\nFMI2_FATAL\020\004\022\020\n\014FMI2_PENDING\020\0052\317\007\n\rM" - "odeliBackend\0227\n\004Play\022\026.ModeliRpc.PlayReq" - "uest\032\027.ModeliRpc.PlayResponse\022C\n\010PlayFas" - "t\022\032.ModeliRpc.PlayFastRequest\032\033.ModeliRp" - "c.PlayFastResponse\022:\n\005Pause\022\027.ModeliRpc." - "PauseRequest\032\030.ModeliRpc.PauseResponse\0227" - "\n\004Stop\022\026.ModeliRpc.StopRequest\032\027.ModeliR" - "pc.StopResponse\022\?\n\006AddFmu\022\030.ModeliRpc.Ad" - "dFmuRequest\032\031.ModeliRpc.AddFmuResponse(\001" - "\022F\n\tRemoveFmu\022\033.ModeliRpc.RemoveFmuReque" - "st\032\034.ModeliRpc.RemoveFmuResponse\022U\n\016AddC" - "hannelLink\022 .ModeliRpc.AddChannelLinkReq" - "uest\032!.ModeliRpc.AddChannelLinkResponse\022" - "^\n\021RemoveChannelLink\022#.ModeliRpc.RemoveC" - "hannelLinkRequest\032$.ModeliRpc.RemoveChan" - "nelLinkResponse\022=\n\006SetInt\022\030.ModeliRpc.Se" - "tIntRequest\032\031.ModeliRpc.SetIntResponse\022@" - "\n\007SetReal\022\031.ModeliRpc.SetRealRequest\032\032.M" - "odeliRpc.SetRealResponse\022@\n\007SetBool\022\031.Mo" - "deliRpc.SetBoolRequest\032\032.ModeliRpc.SetBo" - "olResponse\022F\n\tSetString\022\033.ModeliRpc.SetS" - "tringRequest\032\034.ModeliRpc.SetStringRespon" - "se\022H\n\tNewValues\022\033.ModeliRpc.NewValuesReq" - "uest\032\034.ModeliRpc.NewValuesResponse0\001\0226\n\003" - "Log\022\025.ModeliRpc.LogRequest\032\026.ModeliRpc.L" - "ogResponse0\001b\006proto3" - }; - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - descriptor, 3060); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "ModeliRpc.proto", &protobuf_RegisterTypes); -} - -void AddDescriptors() { - static GOOGLE_PROTOBUF_DECLARE_ONCE(once); - ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); -} -// Force AddDescriptors() to be called at dynamic initialization time. -struct StaticDescriptorInitializer { - StaticDescriptorInitializer() { - AddDescriptors(); - } -} static_descriptor_initializer; -} // namespace protobuf_ModeliRpc_2eproto -namespace ModeliRpc { -const ::google::protobuf::EnumDescriptor* Fmi2Status_descriptor() { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return protobuf_ModeliRpc_2eproto::file_level_enum_descriptors[0]; -} -bool Fmi2Status_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - - -// =================================================================== - -void IntValue::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int IntValue::kValueRefFieldNumber; -const int IntValue::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -IntValue::IntValue() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsIntValue(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.IntValue) -} -IntValue::IntValue(const IntValue& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&value_ref_, &from.value_ref_, - static_cast<size_t>(reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.IntValue) -} - -void IntValue::SharedCtor() { - ::memset(&value_ref_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - _cached_size_ = 0; -} - -IntValue::~IntValue() { - // @@protoc_insertion_point(destructor:ModeliRpc.IntValue) - SharedDtor(); -} - -void IntValue::SharedDtor() { -} - -void IntValue::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* IntValue::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const IntValue& IntValue::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsIntValue(); - return *internal_default_instance(); -} - -IntValue* IntValue::New(::google::protobuf::Arena* arena) const { - IntValue* n = new IntValue; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void IntValue::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.IntValue) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&value_ref_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - _internal_metadata_.Clear(); -} - -bool IntValue::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:ModeliRpc.IntValue) - 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)) { - // uint32 value_ref = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &value_ref_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &value_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.IntValue) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.IntValue) - return false; -#undef DO_ -} - -void IntValue::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.IntValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->value_ref(), output); - } - - // int32 value = 2; - if (this->value() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->value(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.IntValue) -} - -::google::protobuf::uint8* IntValue::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.IntValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->value_ref(), target); - } - - // int32 value = 2; - if (this->value() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->value(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.IntValue) - return target; -} - -size_t IntValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.IntValue) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->value_ref()); - } - - // int32 value = 2; - if (this->value() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void IntValue::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.IntValue) - GOOGLE_DCHECK_NE(&from, this); - const IntValue* source = - ::google::protobuf::internal::DynamicCastToGenerated<const IntValue>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.IntValue) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.IntValue) - MergeFrom(*source); - } -} - -void IntValue::MergeFrom(const IntValue& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.IntValue) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value_ref() != 0) { - set_value_ref(from.value_ref()); - } - if (from.value() != 0) { - set_value(from.value()); - } -} - -void IntValue::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.IntValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void IntValue::CopyFrom(const IntValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.IntValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IntValue::IsInitialized() const { - return true; -} - -void IntValue::Swap(IntValue* other) { - if (other == this) return; - InternalSwap(other); -} -void IntValue::InternalSwap(IntValue* other) { - using std::swap; - swap(value_ref_, other->value_ref_); - swap(value_, other->value_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata IntValue::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void RealValue::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RealValue::kValueRefFieldNumber; -const int RealValue::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RealValue::RealValue() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRealValue(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.RealValue) -} -RealValue::RealValue(const RealValue& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&value_, &from.value_, - static_cast<size_t>(reinterpret_cast<char*>(&value_ref_) - - reinterpret_cast<char*>(&value_)) + sizeof(value_ref_)); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.RealValue) -} - -void RealValue::SharedCtor() { - ::memset(&value_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_ref_) - - reinterpret_cast<char*>(&value_)) + sizeof(value_ref_)); - _cached_size_ = 0; -} - -RealValue::~RealValue() { - // @@protoc_insertion_point(destructor:ModeliRpc.RealValue) - SharedDtor(); -} - -void RealValue::SharedDtor() { -} - -void RealValue::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RealValue::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const RealValue& RealValue::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRealValue(); - return *internal_default_instance(); -} - -RealValue* RealValue::New(::google::protobuf::Arena* arena) const { - RealValue* n = new RealValue; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void RealValue::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.RealValue) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&value_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_ref_) - - reinterpret_cast<char*>(&value_)) + sizeof(value_ref_)); - _internal_metadata_.Clear(); -} - -bool RealValue::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:ModeliRpc.RealValue) - 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)) { - // uint32 value_ref = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &value_ref_))); - } else { - goto handle_unusual; - } - break; - } - - // double value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &value_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.RealValue) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.RealValue) - return false; -#undef DO_ -} - -void RealValue::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.RealValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->value_ref(), output); - } - - // double value = 2; - if (this->value() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->value(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.RealValue) -} - -::google::protobuf::uint8* RealValue::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.RealValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->value_ref(), target); - } - - // double value = 2; - if (this->value() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->value(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.RealValue) - return target; -} - -size_t RealValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.RealValue) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // double value = 2; - if (this->value() != 0) { - total_size += 1 + 8; - } - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->value_ref()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RealValue::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.RealValue) - GOOGLE_DCHECK_NE(&from, this); - const RealValue* source = - ::google::protobuf::internal::DynamicCastToGenerated<const RealValue>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.RealValue) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.RealValue) - MergeFrom(*source); - } -} - -void RealValue::MergeFrom(const RealValue& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.RealValue) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value() != 0) { - set_value(from.value()); - } - if (from.value_ref() != 0) { - set_value_ref(from.value_ref()); - } -} - -void RealValue::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.RealValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RealValue::CopyFrom(const RealValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.RealValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RealValue::IsInitialized() const { - return true; -} - -void RealValue::Swap(RealValue* other) { - if (other == this) return; - InternalSwap(other); -} -void RealValue::InternalSwap(RealValue* other) { - using std::swap; - swap(value_, other->value_); - swap(value_ref_, other->value_ref_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata RealValue::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void BoolValue::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BoolValue::kValueRefFieldNumber; -const int BoolValue::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BoolValue::BoolValue() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsBoolValue(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.BoolValue) -} -BoolValue::BoolValue(const BoolValue& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&value_ref_, &from.value_ref_, - static_cast<size_t>(reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.BoolValue) -} - -void BoolValue::SharedCtor() { - ::memset(&value_ref_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - _cached_size_ = 0; -} - -BoolValue::~BoolValue() { - // @@protoc_insertion_point(destructor:ModeliRpc.BoolValue) - SharedDtor(); -} - -void BoolValue::SharedDtor() { -} - -void BoolValue::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* BoolValue::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const BoolValue& BoolValue::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsBoolValue(); - return *internal_default_instance(); -} - -BoolValue* BoolValue::New(::google::protobuf::Arena* arena) const { - BoolValue* n = new BoolValue; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void BoolValue::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.BoolValue) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&value_ref_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&value_) - - reinterpret_cast<char*>(&value_ref_)) + sizeof(value_)); - _internal_metadata_.Clear(); -} - -bool BoolValue::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:ModeliRpc.BoolValue) - 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)) { - // uint32 value_ref = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &value_ref_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &value_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.BoolValue) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.BoolValue) - return false; -#undef DO_ -} - -void BoolValue::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.BoolValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->value_ref(), output); - } - - // int32 value = 2; - if (this->value() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->value(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.BoolValue) -} - -::google::protobuf::uint8* BoolValue::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.BoolValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->value_ref(), target); - } - - // int32 value = 2; - if (this->value() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->value(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.BoolValue) - return target; -} - -size_t BoolValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.BoolValue) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->value_ref()); - } - - // int32 value = 2; - if (this->value() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void BoolValue::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.BoolValue) - GOOGLE_DCHECK_NE(&from, this); - const BoolValue* source = - ::google::protobuf::internal::DynamicCastToGenerated<const BoolValue>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.BoolValue) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.BoolValue) - MergeFrom(*source); - } -} - -void BoolValue::MergeFrom(const BoolValue& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.BoolValue) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value_ref() != 0) { - set_value_ref(from.value_ref()); - } - if (from.value() != 0) { - set_value(from.value()); - } -} - -void BoolValue::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.BoolValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BoolValue::CopyFrom(const BoolValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.BoolValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BoolValue::IsInitialized() const { - return true; -} - -void BoolValue::Swap(BoolValue* other) { - if (other == this) return; - InternalSwap(other); -} -void BoolValue::InternalSwap(BoolValue* other) { - using std::swap; - swap(value_ref_, other->value_ref_); - swap(value_, other->value_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata BoolValue::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void StringValue::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StringValue::kValueRefFieldNumber; -const int StringValue::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StringValue::StringValue() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStringValue(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.StringValue) -} -StringValue::StringValue(const StringValue& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - value_ref_ = from.value_ref_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.StringValue) -} - -void StringValue::SharedCtor() { - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_ref_ = 0u; - _cached_size_ = 0; -} - -StringValue::~StringValue() { - // @@protoc_insertion_point(destructor:ModeliRpc.StringValue) - SharedDtor(); -} - -void StringValue::SharedDtor() { - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void StringValue::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StringValue::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const StringValue& StringValue::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStringValue(); - return *internal_default_instance(); -} - -StringValue* StringValue::New(::google::protobuf::Arena* arena) const { - StringValue* n = new StringValue; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void StringValue::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.StringValue) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_ref_ = 0u; - _internal_metadata_.Clear(); -} - -bool StringValue::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:ModeliRpc.StringValue) - 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)) { - // uint32 value_ref = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &value_ref_))); - } else { - goto handle_unusual; - } - break; - } - - // string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast<int>(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.StringValue.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.StringValue) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.StringValue) - return false; -#undef DO_ -} - -void StringValue::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.StringValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->value_ref(), output); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast<int>(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.StringValue.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->value(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.StringValue) -} - -::google::protobuf::uint8* StringValue::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.StringValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->value_ref(), target); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast<int>(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.StringValue.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.StringValue) - return target; -} - -size_t StringValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.StringValue) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // string value = 2; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - // uint32 value_ref = 1; - if (this->value_ref() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->value_ref()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void StringValue::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.StringValue) - GOOGLE_DCHECK_NE(&from, this); - const StringValue* source = - ::google::protobuf::internal::DynamicCastToGenerated<const StringValue>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.StringValue) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.StringValue) - MergeFrom(*source); - } -} - -void StringValue::MergeFrom(const StringValue& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.StringValue) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - if (from.value_ref() != 0) { - set_value_ref(from.value_ref()); - } -} - -void StringValue::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.StringValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StringValue::CopyFrom(const StringValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.StringValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StringValue::IsInitialized() const { - return true; -} - -void StringValue::Swap(StringValue* other) { - if (other == this) return; - InternalSwap(other); -} -void StringValue::InternalSwap(StringValue* other) { - using std::swap; - value_.Swap(&other->value_); - swap(value_ref_, other->value_ref_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata StringValue::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void ChannelLink::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ChannelLink::kMasterInstanceNameFieldNumber; -const int ChannelLink::kSlaveInstanceNameFieldNumber; -const int ChannelLink::kMasterVrFieldNumber; -const int ChannelLink::kSlaveVrFieldNumber; -const int ChannelLink::kFactorFieldNumber; -const int ChannelLink::kOffsetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ChannelLink::ChannelLink() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsChannelLink(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.ChannelLink) -} -ChannelLink::ChannelLink(const ChannelLink& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - master_instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.master_instance_name().size() > 0) { - master_instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.master_instance_name_); - } - slave_instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.slave_instance_name().size() > 0) { - slave_instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.slave_instance_name_); - } - ::memcpy(&master_vr_, &from.master_vr_, - static_cast<size_t>(reinterpret_cast<char*>(&offset_) - - reinterpret_cast<char*>(&master_vr_)) + sizeof(offset_)); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.ChannelLink) -} - -void ChannelLink::SharedCtor() { - master_instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - slave_instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&master_vr_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&offset_) - - reinterpret_cast<char*>(&master_vr_)) + sizeof(offset_)); - _cached_size_ = 0; -} - -ChannelLink::~ChannelLink() { - // @@protoc_insertion_point(destructor:ModeliRpc.ChannelLink) - SharedDtor(); -} - -void ChannelLink::SharedDtor() { - master_instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - slave_instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ChannelLink::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* ChannelLink::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const ChannelLink& ChannelLink::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsChannelLink(); - return *internal_default_instance(); -} - -ChannelLink* ChannelLink::New(::google::protobuf::Arena* arena) const { - ChannelLink* n = new ChannelLink; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void ChannelLink::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.ChannelLink) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - master_instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - slave_instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&master_vr_, 0, static_cast<size_t>( - reinterpret_cast<char*>(&offset_) - - reinterpret_cast<char*>(&master_vr_)) + sizeof(offset_)); - _internal_metadata_.Clear(); -} - -bool ChannelLink::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:ModeliRpc.ChannelLink) - 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)) { - // string master_instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_master_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->master_instance_name().data(), static_cast<int>(this->master_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.ChannelLink.master_instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // string slave_instance_name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_slave_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->slave_instance_name().data(), static_cast<int>(this->slave_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.ChannelLink.slave_instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 master_vr = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &master_vr_))); - } else { - goto handle_unusual; - } - break; - } - - // uint32 slave_vr = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &slave_vr_))); - } else { - goto handle_unusual; - } - break; - } - - // double factor = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &factor_))); - } else { - goto handle_unusual; - } - break; - } - - // double offset = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &offset_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.ChannelLink) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.ChannelLink) - return false; -#undef DO_ -} - -void ChannelLink::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.ChannelLink) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string master_instance_name = 1; - if (this->master_instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->master_instance_name().data(), static_cast<int>(this->master_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.ChannelLink.master_instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->master_instance_name(), output); - } - - // string slave_instance_name = 2; - if (this->slave_instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->slave_instance_name().data(), static_cast<int>(this->slave_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.ChannelLink.slave_instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->slave_instance_name(), output); - } - - // uint32 master_vr = 3; - if (this->master_vr() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->master_vr(), output); - } - - // uint32 slave_vr = 4; - if (this->slave_vr() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->slave_vr(), output); - } - - // double factor = 5; - if (this->factor() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->factor(), output); - } - - // double offset = 6; - if (this->offset() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->offset(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.ChannelLink) -} - -::google::protobuf::uint8* ChannelLink::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.ChannelLink) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string master_instance_name = 1; - if (this->master_instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->master_instance_name().data(), static_cast<int>(this->master_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.ChannelLink.master_instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->master_instance_name(), target); - } - - // string slave_instance_name = 2; - if (this->slave_instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->slave_instance_name().data(), static_cast<int>(this->slave_instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.ChannelLink.slave_instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->slave_instance_name(), target); - } - - // uint32 master_vr = 3; - if (this->master_vr() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->master_vr(), target); - } - - // uint32 slave_vr = 4; - if (this->slave_vr() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->slave_vr(), target); - } - - // double factor = 5; - if (this->factor() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->factor(), target); - } - - // double offset = 6; - if (this->offset() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->offset(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.ChannelLink) - return target; -} - -size_t ChannelLink::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.ChannelLink) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // string master_instance_name = 1; - if (this->master_instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->master_instance_name()); - } - - // string slave_instance_name = 2; - if (this->slave_instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->slave_instance_name()); - } - - // uint32 master_vr = 3; - if (this->master_vr() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->master_vr()); - } - - // uint32 slave_vr = 4; - if (this->slave_vr() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->slave_vr()); - } - - // double factor = 5; - if (this->factor() != 0) { - total_size += 1 + 8; - } - - // double offset = 6; - if (this->offset() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void ChannelLink::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.ChannelLink) - GOOGLE_DCHECK_NE(&from, this); - const ChannelLink* source = - ::google::protobuf::internal::DynamicCastToGenerated<const ChannelLink>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.ChannelLink) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.ChannelLink) - MergeFrom(*source); - } -} - -void ChannelLink::MergeFrom(const ChannelLink& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.ChannelLink) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.master_instance_name().size() > 0) { - - master_instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.master_instance_name_); - } - if (from.slave_instance_name().size() > 0) { - - slave_instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.slave_instance_name_); - } - if (from.master_vr() != 0) { - set_master_vr(from.master_vr()); - } - if (from.slave_vr() != 0) { - set_slave_vr(from.slave_vr()); - } - if (from.factor() != 0) { - set_factor(from.factor()); - } - if (from.offset() != 0) { - set_offset(from.offset()); - } -} - -void ChannelLink::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.ChannelLink) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ChannelLink::CopyFrom(const ChannelLink& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.ChannelLink) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ChannelLink::IsInitialized() const { - return true; -} - -void ChannelLink::Swap(ChannelLink* other) { - if (other == this) return; - InternalSwap(other); -} -void ChannelLink::InternalSwap(ChannelLink* other) { - using std::swap; - master_instance_name_.Swap(&other->master_instance_name_); - slave_instance_name_.Swap(&other->slave_instance_name_); - swap(master_vr_, other->master_vr_); - swap(slave_vr_, other->slave_vr_); - swap(factor_, other->factor_); - swap(offset_, other->offset_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata ChannelLink::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PlayRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PlayRequest::PlayRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PlayRequest) -} -PlayRequest::PlayRequest(const PlayRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PlayRequest) -} - -void PlayRequest::SharedCtor() { - _cached_size_ = 0; -} - -PlayRequest::~PlayRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.PlayRequest) - SharedDtor(); -} - -void PlayRequest::SharedDtor() { -} - -void PlayRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PlayRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PlayRequest& PlayRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayRequest(); - return *internal_default_instance(); -} - -PlayRequest* PlayRequest::New(::google::protobuf::Arena* arena) const { - PlayRequest* n = new PlayRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PlayRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PlayRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool PlayRequest::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:ModeliRpc.PlayRequest) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PlayRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PlayRequest) - return false; -#undef DO_ -} - -void PlayRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PlayRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PlayRequest) -} - -::google::protobuf::uint8* PlayRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PlayRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PlayRequest) - return target; -} - -size_t PlayRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PlayRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PlayRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PlayRequest) - GOOGLE_DCHECK_NE(&from, this); - const PlayRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PlayRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PlayRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PlayRequest) - MergeFrom(*source); - } -} - -void PlayRequest::MergeFrom(const PlayRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PlayRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void PlayRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PlayRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PlayRequest::CopyFrom(const PlayRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PlayRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayRequest::IsInitialized() const { - return true; -} - -void PlayRequest::Swap(PlayRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void PlayRequest::InternalSwap(PlayRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PlayRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PlayResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PlayResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PlayResponse::PlayResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PlayResponse) -} -PlayResponse::PlayResponse(const PlayResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PlayResponse) -} - -void PlayResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -PlayResponse::~PlayResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.PlayResponse) - SharedDtor(); -} - -void PlayResponse::SharedDtor() { -} - -void PlayResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PlayResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PlayResponse& PlayResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayResponse(); - return *internal_default_instance(); -} - -PlayResponse* PlayResponse::New(::google::protobuf::Arena* arena) const { - PlayResponse* n = new PlayResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PlayResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PlayResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool PlayResponse::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:ModeliRpc.PlayResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PlayResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PlayResponse) - return false; -#undef DO_ -} - -void PlayResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PlayResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PlayResponse) -} - -::google::protobuf::uint8* PlayResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PlayResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PlayResponse) - return target; -} - -size_t PlayResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PlayResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PlayResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PlayResponse) - GOOGLE_DCHECK_NE(&from, this); - const PlayResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PlayResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PlayResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PlayResponse) - MergeFrom(*source); - } -} - -void PlayResponse::MergeFrom(const PlayResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PlayResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void PlayResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PlayResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PlayResponse::CopyFrom(const PlayResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PlayResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayResponse::IsInitialized() const { - return true; -} - -void PlayResponse::Swap(PlayResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void PlayResponse::InternalSwap(PlayResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PlayResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PlayFastRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PlayFastRequest::kTimeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PlayFastRequest::PlayFastRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PlayFastRequest) -} -PlayFastRequest::PlayFastRequest(const PlayFastRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - time_ = from.time_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PlayFastRequest) -} - -void PlayFastRequest::SharedCtor() { - time_ = 0; - _cached_size_ = 0; -} - -PlayFastRequest::~PlayFastRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.PlayFastRequest) - SharedDtor(); -} - -void PlayFastRequest::SharedDtor() { -} - -void PlayFastRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PlayFastRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PlayFastRequest& PlayFastRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastRequest(); - return *internal_default_instance(); -} - -PlayFastRequest* PlayFastRequest::New(::google::protobuf::Arena* arena) const { - PlayFastRequest* n = new PlayFastRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PlayFastRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PlayFastRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - time_ = 0; - _internal_metadata_.Clear(); -} - -bool PlayFastRequest::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:ModeliRpc.PlayFastRequest) - 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)) { - // double time = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &time_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PlayFastRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PlayFastRequest) - return false; -#undef DO_ -} - -void PlayFastRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PlayFastRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double time = 1; - if (this->time() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->time(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PlayFastRequest) -} - -::google::protobuf::uint8* PlayFastRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PlayFastRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double time = 1; - if (this->time() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->time(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PlayFastRequest) - return target; -} - -size_t PlayFastRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PlayFastRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // double time = 1; - if (this->time() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PlayFastRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PlayFastRequest) - GOOGLE_DCHECK_NE(&from, this); - const PlayFastRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PlayFastRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PlayFastRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PlayFastRequest) - MergeFrom(*source); - } -} - -void PlayFastRequest::MergeFrom(const PlayFastRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PlayFastRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.time() != 0) { - set_time(from.time()); - } -} - -void PlayFastRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PlayFastRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PlayFastRequest::CopyFrom(const PlayFastRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PlayFastRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayFastRequest::IsInitialized() const { - return true; -} - -void PlayFastRequest::Swap(PlayFastRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void PlayFastRequest::InternalSwap(PlayFastRequest* other) { - using std::swap; - swap(time_, other->time_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PlayFastRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PlayFastResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PlayFastResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PlayFastResponse::PlayFastResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PlayFastResponse) -} -PlayFastResponse::PlayFastResponse(const PlayFastResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PlayFastResponse) -} - -void PlayFastResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -PlayFastResponse::~PlayFastResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.PlayFastResponse) - SharedDtor(); -} - -void PlayFastResponse::SharedDtor() { -} - -void PlayFastResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PlayFastResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PlayFastResponse& PlayFastResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastResponse(); - return *internal_default_instance(); -} - -PlayFastResponse* PlayFastResponse::New(::google::protobuf::Arena* arena) const { - PlayFastResponse* n = new PlayFastResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PlayFastResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PlayFastResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool PlayFastResponse::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:ModeliRpc.PlayFastResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PlayFastResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PlayFastResponse) - return false; -#undef DO_ -} - -void PlayFastResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PlayFastResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PlayFastResponse) -} - -::google::protobuf::uint8* PlayFastResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PlayFastResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PlayFastResponse) - return target; -} - -size_t PlayFastResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PlayFastResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PlayFastResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PlayFastResponse) - GOOGLE_DCHECK_NE(&from, this); - const PlayFastResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PlayFastResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PlayFastResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PlayFastResponse) - MergeFrom(*source); - } -} - -void PlayFastResponse::MergeFrom(const PlayFastResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PlayFastResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void PlayFastResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PlayFastResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PlayFastResponse::CopyFrom(const PlayFastResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PlayFastResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayFastResponse::IsInitialized() const { - return true; -} - -void PlayFastResponse::Swap(PlayFastResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void PlayFastResponse::InternalSwap(PlayFastResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PlayFastResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PauseRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PauseRequest::PauseRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PauseRequest) -} -PauseRequest::PauseRequest(const PauseRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PauseRequest) -} - -void PauseRequest::SharedCtor() { - _cached_size_ = 0; -} - -PauseRequest::~PauseRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.PauseRequest) - SharedDtor(); -} - -void PauseRequest::SharedDtor() { -} - -void PauseRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PauseRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PauseRequest& PauseRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseRequest(); - return *internal_default_instance(); -} - -PauseRequest* PauseRequest::New(::google::protobuf::Arena* arena) const { - PauseRequest* n = new PauseRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PauseRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PauseRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool PauseRequest::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:ModeliRpc.PauseRequest) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PauseRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PauseRequest) - return false; -#undef DO_ -} - -void PauseRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PauseRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PauseRequest) -} - -::google::protobuf::uint8* PauseRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PauseRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PauseRequest) - return target; -} - -size_t PauseRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PauseRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PauseRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PauseRequest) - GOOGLE_DCHECK_NE(&from, this); - const PauseRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PauseRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PauseRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PauseRequest) - MergeFrom(*source); - } -} - -void PauseRequest::MergeFrom(const PauseRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PauseRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void PauseRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PauseRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PauseRequest::CopyFrom(const PauseRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PauseRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PauseRequest::IsInitialized() const { - return true; -} - -void PauseRequest::Swap(PauseRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void PauseRequest::InternalSwap(PauseRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PauseRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void PauseResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PauseResponse::PauseResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.PauseResponse) -} -PauseResponse::PauseResponse(const PauseResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.PauseResponse) -} - -void PauseResponse::SharedCtor() { - _cached_size_ = 0; -} - -PauseResponse::~PauseResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.PauseResponse) - SharedDtor(); -} - -void PauseResponse::SharedDtor() { -} - -void PauseResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* PauseResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const PauseResponse& PauseResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseResponse(); - return *internal_default_instance(); -} - -PauseResponse* PauseResponse::New(::google::protobuf::Arena* arena) const { - PauseResponse* n = new PauseResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void PauseResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.PauseResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool PauseResponse::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:ModeliRpc.PauseResponse) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.PauseResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.PauseResponse) - return false; -#undef DO_ -} - -void PauseResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.PauseResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.PauseResponse) -} - -::google::protobuf::uint8* PauseResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.PauseResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.PauseResponse) - return target; -} - -size_t PauseResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.PauseResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void PauseResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.PauseResponse) - GOOGLE_DCHECK_NE(&from, this); - const PauseResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const PauseResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.PauseResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.PauseResponse) - MergeFrom(*source); - } -} - -void PauseResponse::MergeFrom(const PauseResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.PauseResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void PauseResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.PauseResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PauseResponse::CopyFrom(const PauseResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.PauseResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PauseResponse::IsInitialized() const { - return true; -} - -void PauseResponse::Swap(PauseResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void PauseResponse::InternalSwap(PauseResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata PauseResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void StopRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StopRequest::StopRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStopRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.StopRequest) -} -StopRequest::StopRequest(const StopRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.StopRequest) -} - -void StopRequest::SharedCtor() { - _cached_size_ = 0; -} - -StopRequest::~StopRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.StopRequest) - SharedDtor(); -} - -void StopRequest::SharedDtor() { -} - -void StopRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StopRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const StopRequest& StopRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStopRequest(); - return *internal_default_instance(); -} - -StopRequest* StopRequest::New(::google::protobuf::Arena* arena) const { - StopRequest* n = new StopRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void StopRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.StopRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool StopRequest::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:ModeliRpc.StopRequest) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.StopRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.StopRequest) - return false; -#undef DO_ -} - -void StopRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.StopRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.StopRequest) -} - -::google::protobuf::uint8* StopRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.StopRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.StopRequest) - return target; -} - -size_t StopRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.StopRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void StopRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.StopRequest) - GOOGLE_DCHECK_NE(&from, this); - const StopRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const StopRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.StopRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.StopRequest) - MergeFrom(*source); - } -} - -void StopRequest::MergeFrom(const StopRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.StopRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void StopRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.StopRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StopRequest::CopyFrom(const StopRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.StopRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StopRequest::IsInitialized() const { - return true; -} - -void StopRequest::Swap(StopRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void StopRequest::InternalSwap(StopRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata StopRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void StopResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StopResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StopResponse::StopResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStopResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.StopResponse) -} -StopResponse::StopResponse(const StopResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.StopResponse) -} - -void StopResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -StopResponse::~StopResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.StopResponse) - SharedDtor(); -} - -void StopResponse::SharedDtor() { -} - -void StopResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StopResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const StopResponse& StopResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsStopResponse(); - return *internal_default_instance(); -} - -StopResponse* StopResponse::New(::google::protobuf::Arena* arena) const { - StopResponse* n = new StopResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void StopResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.StopResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool StopResponse::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:ModeliRpc.StopResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.StopResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.StopResponse) - return false; -#undef DO_ -} - -void StopResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.StopResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.StopResponse) -} - -::google::protobuf::uint8* StopResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.StopResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.StopResponse) - return target; -} - -size_t StopResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.StopResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void StopResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.StopResponse) - GOOGLE_DCHECK_NE(&from, this); - const StopResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const StopResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.StopResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.StopResponse) - MergeFrom(*source); - } -} - -void StopResponse::MergeFrom(const StopResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.StopResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void StopResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.StopResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StopResponse::CopyFrom(const StopResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.StopResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StopResponse::IsInitialized() const { - return true; -} - -void StopResponse::Swap(StopResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void StopResponse::InternalSwap(StopResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata StopResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddFmuRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AddFmuRequest::kInstanceNameFieldNumber; -const int AddFmuRequest::kChunkFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddFmuRequest::AddFmuRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.AddFmuRequest) -} -AddFmuRequest::AddFmuRequest(const AddFmuRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - chunk_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.chunk().size() > 0) { - chunk_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chunk_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.AddFmuRequest) -} - -void AddFmuRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - chunk_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -AddFmuRequest::~AddFmuRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.AddFmuRequest) - SharedDtor(); -} - -void AddFmuRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - chunk_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void AddFmuRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddFmuRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const AddFmuRequest& AddFmuRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuRequest(); - return *internal_default_instance(); -} - -AddFmuRequest* AddFmuRequest::New(::google::protobuf::Arena* arena) const { - AddFmuRequest* n = new AddFmuRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void AddFmuRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.AddFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - chunk_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool AddFmuRequest::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:ModeliRpc.AddFmuRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.AddFmuRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // bytes chunk = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_chunk())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.AddFmuRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.AddFmuRequest) - return false; -#undef DO_ -} - -void AddFmuRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.AddFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.AddFmuRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // bytes chunk = 2; - if (this->chunk().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->chunk(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.AddFmuRequest) -} - -::google::protobuf::uint8* AddFmuRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.AddFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.AddFmuRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // bytes chunk = 2; - if (this->chunk().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->chunk(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.AddFmuRequest) - return target; -} - -size_t AddFmuRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.AddFmuRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - // bytes chunk = 2; - if (this->chunk().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->chunk()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void AddFmuRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.AddFmuRequest) - GOOGLE_DCHECK_NE(&from, this); - const AddFmuRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const AddFmuRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.AddFmuRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.AddFmuRequest) - MergeFrom(*source); - } -} - -void AddFmuRequest::MergeFrom(const AddFmuRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.AddFmuRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - if (from.chunk().size() > 0) { - - chunk_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.chunk_); - } -} - -void AddFmuRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.AddFmuRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddFmuRequest::CopyFrom(const AddFmuRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.AddFmuRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddFmuRequest::IsInitialized() const { - return true; -} - -void AddFmuRequest::Swap(AddFmuRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void AddFmuRequest::InternalSwap(AddFmuRequest* other) { - using std::swap; - instance_name_.Swap(&other->instance_name_); - chunk_.Swap(&other->chunk_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata AddFmuRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddFmuResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AddFmuResponse::kSuccessFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddFmuResponse::AddFmuResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.AddFmuResponse) -} -AddFmuResponse::AddFmuResponse(const AddFmuResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - success_ = from.success_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.AddFmuResponse) -} - -void AddFmuResponse::SharedCtor() { - success_ = false; - _cached_size_ = 0; -} - -AddFmuResponse::~AddFmuResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.AddFmuResponse) - SharedDtor(); -} - -void AddFmuResponse::SharedDtor() { -} - -void AddFmuResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddFmuResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const AddFmuResponse& AddFmuResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuResponse(); - return *internal_default_instance(); -} - -AddFmuResponse* AddFmuResponse::New(::google::protobuf::Arena* arena) const { - AddFmuResponse* n = new AddFmuResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void AddFmuResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.AddFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - success_ = false; - _internal_metadata_.Clear(); -} - -bool AddFmuResponse::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:ModeliRpc.AddFmuResponse) - 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)) { - // bool success = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &success_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.AddFmuResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.AddFmuResponse) - return false; -#undef DO_ -} - -void AddFmuResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.AddFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.AddFmuResponse) -} - -::google::protobuf::uint8* AddFmuResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.AddFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.AddFmuResponse) - return target; -} - -size_t AddFmuResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.AddFmuResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // bool success = 1; - if (this->success() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void AddFmuResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.AddFmuResponse) - GOOGLE_DCHECK_NE(&from, this); - const AddFmuResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const AddFmuResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.AddFmuResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.AddFmuResponse) - MergeFrom(*source); - } -} - -void AddFmuResponse::MergeFrom(const AddFmuResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.AddFmuResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.success() != 0) { - set_success(from.success()); - } -} - -void AddFmuResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.AddFmuResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddFmuResponse::CopyFrom(const AddFmuResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.AddFmuResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddFmuResponse::IsInitialized() const { - return true; -} - -void AddFmuResponse::Swap(AddFmuResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void AddFmuResponse::InternalSwap(AddFmuResponse* other) { - using std::swap; - swap(success_, other->success_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata AddFmuResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void RemoveFmuRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RemoveFmuRequest::kInstanceNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RemoveFmuRequest::RemoveFmuRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.RemoveFmuRequest) -} -RemoveFmuRequest::RemoveFmuRequest(const RemoveFmuRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.RemoveFmuRequest) -} - -void RemoveFmuRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -RemoveFmuRequest::~RemoveFmuRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.RemoveFmuRequest) - SharedDtor(); -} - -void RemoveFmuRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void RemoveFmuRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveFmuRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const RemoveFmuRequest& RemoveFmuRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuRequest(); - return *internal_default_instance(); -} - -RemoveFmuRequest* RemoveFmuRequest::New(::google::protobuf::Arena* arena) const { - RemoveFmuRequest* n = new RemoveFmuRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void RemoveFmuRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.RemoveFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool RemoveFmuRequest::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:ModeliRpc.RemoveFmuRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.RemoveFmuRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.RemoveFmuRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.RemoveFmuRequest) - return false; -#undef DO_ -} - -void RemoveFmuRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.RemoveFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.RemoveFmuRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.RemoveFmuRequest) -} - -::google::protobuf::uint8* RemoveFmuRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.RemoveFmuRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.RemoveFmuRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.RemoveFmuRequest) - return target; -} - -size_t RemoveFmuRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.RemoveFmuRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RemoveFmuRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.RemoveFmuRequest) - GOOGLE_DCHECK_NE(&from, this); - const RemoveFmuRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const RemoveFmuRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.RemoveFmuRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.RemoveFmuRequest) - MergeFrom(*source); - } -} - -void RemoveFmuRequest::MergeFrom(const RemoveFmuRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.RemoveFmuRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } -} - -void RemoveFmuRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.RemoveFmuRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RemoveFmuRequest::CopyFrom(const RemoveFmuRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.RemoveFmuRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RemoveFmuRequest::IsInitialized() const { - return true; -} - -void RemoveFmuRequest::Swap(RemoveFmuRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void RemoveFmuRequest::InternalSwap(RemoveFmuRequest* other) { - using std::swap; - instance_name_.Swap(&other->instance_name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata RemoveFmuRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void RemoveFmuResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RemoveFmuResponse::kSuccessFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RemoveFmuResponse::RemoveFmuResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.RemoveFmuResponse) -} -RemoveFmuResponse::RemoveFmuResponse(const RemoveFmuResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - success_ = from.success_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.RemoveFmuResponse) -} - -void RemoveFmuResponse::SharedCtor() { - success_ = false; - _cached_size_ = 0; -} - -RemoveFmuResponse::~RemoveFmuResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.RemoveFmuResponse) - SharedDtor(); -} - -void RemoveFmuResponse::SharedDtor() { -} - -void RemoveFmuResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveFmuResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const RemoveFmuResponse& RemoveFmuResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuResponse(); - return *internal_default_instance(); -} - -RemoveFmuResponse* RemoveFmuResponse::New(::google::protobuf::Arena* arena) const { - RemoveFmuResponse* n = new RemoveFmuResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void RemoveFmuResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.RemoveFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - success_ = false; - _internal_metadata_.Clear(); -} - -bool RemoveFmuResponse::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:ModeliRpc.RemoveFmuResponse) - 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)) { - // bool success = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &success_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.RemoveFmuResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.RemoveFmuResponse) - return false; -#undef DO_ -} - -void RemoveFmuResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.RemoveFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.RemoveFmuResponse) -} - -::google::protobuf::uint8* RemoveFmuResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.RemoveFmuResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.RemoveFmuResponse) - return target; -} - -size_t RemoveFmuResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.RemoveFmuResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // bool success = 1; - if (this->success() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RemoveFmuResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.RemoveFmuResponse) - GOOGLE_DCHECK_NE(&from, this); - const RemoveFmuResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const RemoveFmuResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.RemoveFmuResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.RemoveFmuResponse) - MergeFrom(*source); - } -} - -void RemoveFmuResponse::MergeFrom(const RemoveFmuResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.RemoveFmuResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.success() != 0) { - set_success(from.success()); - } -} - -void RemoveFmuResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.RemoveFmuResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RemoveFmuResponse::CopyFrom(const RemoveFmuResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.RemoveFmuResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RemoveFmuResponse::IsInitialized() const { - return true; -} - -void RemoveFmuResponse::Swap(RemoveFmuResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void RemoveFmuResponse::InternalSwap(RemoveFmuResponse* other) { - using std::swap; - swap(success_, other->success_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata RemoveFmuResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddChannelLinkRequest::InitAsDefaultInstance() { - ::ModeliRpc::_AddChannelLinkRequest_default_instance_._instance.get_mutable()->channel_link_ = const_cast< ::ModeliRpc::ChannelLink*>( - ::ModeliRpc::ChannelLink::internal_default_instance()); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AddChannelLinkRequest::kChannelLinkFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddChannelLinkRequest::AddChannelLinkRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.AddChannelLinkRequest) -} -AddChannelLinkRequest::AddChannelLinkRequest(const AddChannelLinkRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_channel_link()) { - channel_link_ = new ::ModeliRpc::ChannelLink(*from.channel_link_); - } else { - channel_link_ = NULL; - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.AddChannelLinkRequest) -} - -void AddChannelLinkRequest::SharedCtor() { - channel_link_ = NULL; - _cached_size_ = 0; -} - -AddChannelLinkRequest::~AddChannelLinkRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.AddChannelLinkRequest) - SharedDtor(); -} - -void AddChannelLinkRequest::SharedDtor() { - if (this != internal_default_instance()) delete channel_link_; -} - -void AddChannelLinkRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddChannelLinkRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const AddChannelLinkRequest& AddChannelLinkRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkRequest(); - return *internal_default_instance(); -} - -AddChannelLinkRequest* AddChannelLinkRequest::New(::google::protobuf::Arena* arena) const { - AddChannelLinkRequest* n = new AddChannelLinkRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void AddChannelLinkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.AddChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == NULL && channel_link_ != NULL) { - delete channel_link_; - } - channel_link_ = NULL; - _internal_metadata_.Clear(); -} - -bool AddChannelLinkRequest::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:ModeliRpc.AddChannelLinkRequest) - 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)) { - // .ModeliRpc.ChannelLink channel_link = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_channel_link())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.AddChannelLinkRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.AddChannelLinkRequest) - return false; -#undef DO_ -} - -void AddChannelLinkRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.AddChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, *this->channel_link_, output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.AddChannelLinkRequest) -} - -::google::protobuf::uint8* AddChannelLinkRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.AddChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, *this->channel_link_, deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.AddChannelLinkRequest) - return target; -} - -size_t AddChannelLinkRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.AddChannelLinkRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *this->channel_link_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void AddChannelLinkRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.AddChannelLinkRequest) - GOOGLE_DCHECK_NE(&from, this); - const AddChannelLinkRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const AddChannelLinkRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.AddChannelLinkRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.AddChannelLinkRequest) - MergeFrom(*source); - } -} - -void AddChannelLinkRequest::MergeFrom(const AddChannelLinkRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.AddChannelLinkRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_channel_link()) { - mutable_channel_link()->::ModeliRpc::ChannelLink::MergeFrom(from.channel_link()); - } -} - -void AddChannelLinkRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.AddChannelLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddChannelLinkRequest::CopyFrom(const AddChannelLinkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.AddChannelLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddChannelLinkRequest::IsInitialized() const { - return true; -} - -void AddChannelLinkRequest::Swap(AddChannelLinkRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void AddChannelLinkRequest::InternalSwap(AddChannelLinkRequest* other) { - using std::swap; - swap(channel_link_, other->channel_link_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata AddChannelLinkRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddChannelLinkResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AddChannelLinkResponse::kSuccessFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddChannelLinkResponse::AddChannelLinkResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.AddChannelLinkResponse) -} -AddChannelLinkResponse::AddChannelLinkResponse(const AddChannelLinkResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - success_ = from.success_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.AddChannelLinkResponse) -} - -void AddChannelLinkResponse::SharedCtor() { - success_ = false; - _cached_size_ = 0; -} - -AddChannelLinkResponse::~AddChannelLinkResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.AddChannelLinkResponse) - SharedDtor(); -} - -void AddChannelLinkResponse::SharedDtor() { -} - -void AddChannelLinkResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* AddChannelLinkResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const AddChannelLinkResponse& AddChannelLinkResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkResponse(); - return *internal_default_instance(); -} - -AddChannelLinkResponse* AddChannelLinkResponse::New(::google::protobuf::Arena* arena) const { - AddChannelLinkResponse* n = new AddChannelLinkResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void AddChannelLinkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.AddChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - success_ = false; - _internal_metadata_.Clear(); -} - -bool AddChannelLinkResponse::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:ModeliRpc.AddChannelLinkResponse) - 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)) { - // bool success = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &success_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.AddChannelLinkResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.AddChannelLinkResponse) - return false; -#undef DO_ -} - -void AddChannelLinkResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.AddChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.AddChannelLinkResponse) -} - -::google::protobuf::uint8* AddChannelLinkResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.AddChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.AddChannelLinkResponse) - return target; -} - -size_t AddChannelLinkResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.AddChannelLinkResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // bool success = 1; - if (this->success() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void AddChannelLinkResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.AddChannelLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - const AddChannelLinkResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const AddChannelLinkResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.AddChannelLinkResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.AddChannelLinkResponse) - MergeFrom(*source); - } -} - -void AddChannelLinkResponse::MergeFrom(const AddChannelLinkResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.AddChannelLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.success() != 0) { - set_success(from.success()); - } -} - -void AddChannelLinkResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.AddChannelLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddChannelLinkResponse::CopyFrom(const AddChannelLinkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.AddChannelLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddChannelLinkResponse::IsInitialized() const { - return true; -} - -void AddChannelLinkResponse::Swap(AddChannelLinkResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void AddChannelLinkResponse::InternalSwap(AddChannelLinkResponse* other) { - using std::swap; - swap(success_, other->success_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata AddChannelLinkResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void RemoveChannelLinkRequest::InitAsDefaultInstance() { - ::ModeliRpc::_RemoveChannelLinkRequest_default_instance_._instance.get_mutable()->channel_link_ = const_cast< ::ModeliRpc::ChannelLink*>( - ::ModeliRpc::ChannelLink::internal_default_instance()); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RemoveChannelLinkRequest::kChannelLinkFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RemoveChannelLinkRequest::RemoveChannelLinkRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.RemoveChannelLinkRequest) -} -RemoveChannelLinkRequest::RemoveChannelLinkRequest(const RemoveChannelLinkRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_channel_link()) { - channel_link_ = new ::ModeliRpc::ChannelLink(*from.channel_link_); - } else { - channel_link_ = NULL; - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.RemoveChannelLinkRequest) -} - -void RemoveChannelLinkRequest::SharedCtor() { - channel_link_ = NULL; - _cached_size_ = 0; -} - -RemoveChannelLinkRequest::~RemoveChannelLinkRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.RemoveChannelLinkRequest) - SharedDtor(); -} - -void RemoveChannelLinkRequest::SharedDtor() { - if (this != internal_default_instance()) delete channel_link_; -} - -void RemoveChannelLinkRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveChannelLinkRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const RemoveChannelLinkRequest& RemoveChannelLinkRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkRequest(); - return *internal_default_instance(); -} - -RemoveChannelLinkRequest* RemoveChannelLinkRequest::New(::google::protobuf::Arena* arena) const { - RemoveChannelLinkRequest* n = new RemoveChannelLinkRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void RemoveChannelLinkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.RemoveChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == NULL && channel_link_ != NULL) { - delete channel_link_; - } - channel_link_ = NULL; - _internal_metadata_.Clear(); -} - -bool RemoveChannelLinkRequest::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:ModeliRpc.RemoveChannelLinkRequest) - 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)) { - // .ModeliRpc.ChannelLink channel_link = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_channel_link())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.RemoveChannelLinkRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.RemoveChannelLinkRequest) - return false; -#undef DO_ -} - -void RemoveChannelLinkRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.RemoveChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, *this->channel_link_, output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.RemoveChannelLinkRequest) -} - -::google::protobuf::uint8* RemoveChannelLinkRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.RemoveChannelLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, *this->channel_link_, deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.RemoveChannelLinkRequest) - return target; -} - -size_t RemoveChannelLinkRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.RemoveChannelLinkRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.ChannelLink channel_link = 1; - if (this->has_channel_link()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *this->channel_link_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RemoveChannelLinkRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.RemoveChannelLinkRequest) - GOOGLE_DCHECK_NE(&from, this); - const RemoveChannelLinkRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const RemoveChannelLinkRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.RemoveChannelLinkRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.RemoveChannelLinkRequest) - MergeFrom(*source); - } -} - -void RemoveChannelLinkRequest::MergeFrom(const RemoveChannelLinkRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.RemoveChannelLinkRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_channel_link()) { - mutable_channel_link()->::ModeliRpc::ChannelLink::MergeFrom(from.channel_link()); - } -} - -void RemoveChannelLinkRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.RemoveChannelLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RemoveChannelLinkRequest::CopyFrom(const RemoveChannelLinkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.RemoveChannelLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RemoveChannelLinkRequest::IsInitialized() const { - return true; -} - -void RemoveChannelLinkRequest::Swap(RemoveChannelLinkRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void RemoveChannelLinkRequest::InternalSwap(RemoveChannelLinkRequest* other) { - using std::swap; - swap(channel_link_, other->channel_link_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata RemoveChannelLinkRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void RemoveChannelLinkResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RemoveChannelLinkResponse::kSuccessFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RemoveChannelLinkResponse::RemoveChannelLinkResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.RemoveChannelLinkResponse) -} -RemoveChannelLinkResponse::RemoveChannelLinkResponse(const RemoveChannelLinkResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - success_ = from.success_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.RemoveChannelLinkResponse) -} - -void RemoveChannelLinkResponse::SharedCtor() { - success_ = false; - _cached_size_ = 0; -} - -RemoveChannelLinkResponse::~RemoveChannelLinkResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.RemoveChannelLinkResponse) - SharedDtor(); -} - -void RemoveChannelLinkResponse::SharedDtor() { -} - -void RemoveChannelLinkResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* RemoveChannelLinkResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const RemoveChannelLinkResponse& RemoveChannelLinkResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkResponse(); - return *internal_default_instance(); -} - -RemoveChannelLinkResponse* RemoveChannelLinkResponse::New(::google::protobuf::Arena* arena) const { - RemoveChannelLinkResponse* n = new RemoveChannelLinkResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void RemoveChannelLinkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.RemoveChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - success_ = false; - _internal_metadata_.Clear(); -} - -bool RemoveChannelLinkResponse::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:ModeliRpc.RemoveChannelLinkResponse) - 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)) { - // bool success = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &success_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.RemoveChannelLinkResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.RemoveChannelLinkResponse) - return false; -#undef DO_ -} - -void RemoveChannelLinkResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.RemoveChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->success(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.RemoveChannelLinkResponse) -} - -::google::protobuf::uint8* RemoveChannelLinkResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.RemoveChannelLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool success = 1; - if (this->success() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->success(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.RemoveChannelLinkResponse) - return target; -} - -size_t RemoveChannelLinkResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.RemoveChannelLinkResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // bool success = 1; - if (this->success() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void RemoveChannelLinkResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.RemoveChannelLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - const RemoveChannelLinkResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const RemoveChannelLinkResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.RemoveChannelLinkResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.RemoveChannelLinkResponse) - MergeFrom(*source); - } -} - -void RemoveChannelLinkResponse::MergeFrom(const RemoveChannelLinkResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.RemoveChannelLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.success() != 0) { - set_success(from.success()); - } -} - -void RemoveChannelLinkResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.RemoveChannelLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RemoveChannelLinkResponse::CopyFrom(const RemoveChannelLinkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.RemoveChannelLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RemoveChannelLinkResponse::IsInitialized() const { - return true; -} - -void RemoveChannelLinkResponse::Swap(RemoveChannelLinkResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void RemoveChannelLinkResponse::InternalSwap(RemoveChannelLinkResponse* other) { - using std::swap; - swap(success_, other->success_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata RemoveChannelLinkResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetIntRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetIntRequest::kInstanceNameFieldNumber; -const int SetIntRequest::kIntValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetIntRequest::SetIntRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetIntRequest) -} -SetIntRequest::SetIntRequest(const SetIntRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - int_value_(from.int_value_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetIntRequest) -} - -void SetIntRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -SetIntRequest::~SetIntRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetIntRequest) - SharedDtor(); -} - -void SetIntRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SetIntRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetIntRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetIntRequest& SetIntRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntRequest(); - return *internal_default_instance(); -} - -SetIntRequest* SetIntRequest::New(::google::protobuf::Arena* arena) const { - SetIntRequest* n = new SetIntRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetIntRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetIntRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - int_value_.Clear(); - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool SetIntRequest::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:ModeliRpc.SetIntRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.SetIntRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.IntValue int_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_int_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetIntRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetIntRequest) - return false; -#undef DO_ -} - -void SetIntRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetIntRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetIntRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // repeated .ModeliRpc.IntValue int_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->int_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->int_value(static_cast<int>(i)), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetIntRequest) -} - -::google::protobuf::uint8* SetIntRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetIntRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetIntRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // repeated .ModeliRpc.IntValue int_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->int_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->int_value(static_cast<int>(i)), deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetIntRequest) - return target; -} - -size_t SetIntRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetIntRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // repeated .ModeliRpc.IntValue int_value = 2; - { - unsigned int count = static_cast<unsigned int>(this->int_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->int_value(static_cast<int>(i))); - } - } - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetIntRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetIntRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetIntRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetIntRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetIntRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetIntRequest) - MergeFrom(*source); - } -} - -void SetIntRequest::MergeFrom(const SetIntRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetIntRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - int_value_.MergeFrom(from.int_value_); - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } -} - -void SetIntRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetIntRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetIntRequest::CopyFrom(const SetIntRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetIntRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetIntRequest::IsInitialized() const { - return true; -} - -void SetIntRequest::Swap(SetIntRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetIntRequest::InternalSwap(SetIntRequest* other) { - using std::swap; - int_value_.InternalSwap(&other->int_value_); - instance_name_.Swap(&other->instance_name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetIntRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetIntResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetIntResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetIntResponse::SetIntResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetIntResponse) -} -SetIntResponse::SetIntResponse(const SetIntResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetIntResponse) -} - -void SetIntResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -SetIntResponse::~SetIntResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetIntResponse) - SharedDtor(); -} - -void SetIntResponse::SharedDtor() { -} - -void SetIntResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetIntResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetIntResponse& SetIntResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntResponse(); - return *internal_default_instance(); -} - -SetIntResponse* SetIntResponse::New(::google::protobuf::Arena* arena) const { - SetIntResponse* n = new SetIntResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetIntResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetIntResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool SetIntResponse::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:ModeliRpc.SetIntResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetIntResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetIntResponse) - return false; -#undef DO_ -} - -void SetIntResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetIntResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetIntResponse) -} - -::google::protobuf::uint8* SetIntResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetIntResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetIntResponse) - return target; -} - -size_t SetIntResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetIntResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetIntResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetIntResponse) - GOOGLE_DCHECK_NE(&from, this); - const SetIntResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetIntResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetIntResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetIntResponse) - MergeFrom(*source); - } -} - -void SetIntResponse::MergeFrom(const SetIntResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetIntResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void SetIntResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetIntResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetIntResponse::CopyFrom(const SetIntResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetIntResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetIntResponse::IsInitialized() const { - return true; -} - -void SetIntResponse::Swap(SetIntResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void SetIntResponse::InternalSwap(SetIntResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetIntResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetRealRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetRealRequest::kInstanceNameFieldNumber; -const int SetRealRequest::kRealValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetRealRequest::SetRealRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetRealRequest) -} -SetRealRequest::SetRealRequest(const SetRealRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - real_value_(from.real_value_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetRealRequest) -} - -void SetRealRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -SetRealRequest::~SetRealRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetRealRequest) - SharedDtor(); -} - -void SetRealRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SetRealRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetRealRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetRealRequest& SetRealRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealRequest(); - return *internal_default_instance(); -} - -SetRealRequest* SetRealRequest::New(::google::protobuf::Arena* arena) const { - SetRealRequest* n = new SetRealRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetRealRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetRealRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - real_value_.Clear(); - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool SetRealRequest::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:ModeliRpc.SetRealRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.SetRealRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.RealValue real_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_real_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetRealRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetRealRequest) - return false; -#undef DO_ -} - -void SetRealRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetRealRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetRealRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // repeated .ModeliRpc.RealValue real_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->real_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->real_value(static_cast<int>(i)), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetRealRequest) -} - -::google::protobuf::uint8* SetRealRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetRealRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetRealRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // repeated .ModeliRpc.RealValue real_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->real_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->real_value(static_cast<int>(i)), deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetRealRequest) - return target; -} - -size_t SetRealRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetRealRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // repeated .ModeliRpc.RealValue real_value = 2; - { - unsigned int count = static_cast<unsigned int>(this->real_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->real_value(static_cast<int>(i))); - } - } - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetRealRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetRealRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetRealRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetRealRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetRealRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetRealRequest) - MergeFrom(*source); - } -} - -void SetRealRequest::MergeFrom(const SetRealRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetRealRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - real_value_.MergeFrom(from.real_value_); - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } -} - -void SetRealRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetRealRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetRealRequest::CopyFrom(const SetRealRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetRealRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetRealRequest::IsInitialized() const { - return true; -} - -void SetRealRequest::Swap(SetRealRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetRealRequest::InternalSwap(SetRealRequest* other) { - using std::swap; - real_value_.InternalSwap(&other->real_value_); - instance_name_.Swap(&other->instance_name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetRealRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetRealResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetRealResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetRealResponse::SetRealResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetRealResponse) -} -SetRealResponse::SetRealResponse(const SetRealResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetRealResponse) -} - -void SetRealResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -SetRealResponse::~SetRealResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetRealResponse) - SharedDtor(); -} - -void SetRealResponse::SharedDtor() { -} - -void SetRealResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetRealResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetRealResponse& SetRealResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealResponse(); - return *internal_default_instance(); -} - -SetRealResponse* SetRealResponse::New(::google::protobuf::Arena* arena) const { - SetRealResponse* n = new SetRealResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetRealResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetRealResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool SetRealResponse::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:ModeliRpc.SetRealResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetRealResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetRealResponse) - return false; -#undef DO_ -} - -void SetRealResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetRealResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetRealResponse) -} - -::google::protobuf::uint8* SetRealResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetRealResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetRealResponse) - return target; -} - -size_t SetRealResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetRealResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetRealResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetRealResponse) - GOOGLE_DCHECK_NE(&from, this); - const SetRealResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetRealResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetRealResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetRealResponse) - MergeFrom(*source); - } -} - -void SetRealResponse::MergeFrom(const SetRealResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetRealResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void SetRealResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetRealResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetRealResponse::CopyFrom(const SetRealResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetRealResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetRealResponse::IsInitialized() const { - return true; -} - -void SetRealResponse::Swap(SetRealResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void SetRealResponse::InternalSwap(SetRealResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetRealResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetBoolRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetBoolRequest::kInstanceNameFieldNumber; -const int SetBoolRequest::kBoolValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetBoolRequest::SetBoolRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetBoolRequest) -} -SetBoolRequest::SetBoolRequest(const SetBoolRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - bool_value_(from.bool_value_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetBoolRequest) -} - -void SetBoolRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -SetBoolRequest::~SetBoolRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetBoolRequest) - SharedDtor(); -} - -void SetBoolRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SetBoolRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetBoolRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetBoolRequest& SetBoolRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolRequest(); - return *internal_default_instance(); -} - -SetBoolRequest* SetBoolRequest::New(::google::protobuf::Arena* arena) const { - SetBoolRequest* n = new SetBoolRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetBoolRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetBoolRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - bool_value_.Clear(); - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool SetBoolRequest::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:ModeliRpc.SetBoolRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.SetBoolRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.BoolValue bool_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_bool_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetBoolRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetBoolRequest) - return false; -#undef DO_ -} - -void SetBoolRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetBoolRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetBoolRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // repeated .ModeliRpc.BoolValue bool_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->bool_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->bool_value(static_cast<int>(i)), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetBoolRequest) -} - -::google::protobuf::uint8* SetBoolRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetBoolRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetBoolRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // repeated .ModeliRpc.BoolValue bool_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->bool_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->bool_value(static_cast<int>(i)), deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetBoolRequest) - return target; -} - -size_t SetBoolRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetBoolRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // repeated .ModeliRpc.BoolValue bool_value = 2; - { - unsigned int count = static_cast<unsigned int>(this->bool_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->bool_value(static_cast<int>(i))); - } - } - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetBoolRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetBoolRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetBoolRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetBoolRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetBoolRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetBoolRequest) - MergeFrom(*source); - } -} - -void SetBoolRequest::MergeFrom(const SetBoolRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetBoolRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - bool_value_.MergeFrom(from.bool_value_); - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } -} - -void SetBoolRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetBoolRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetBoolRequest::CopyFrom(const SetBoolRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetBoolRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetBoolRequest::IsInitialized() const { - return true; -} - -void SetBoolRequest::Swap(SetBoolRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetBoolRequest::InternalSwap(SetBoolRequest* other) { - using std::swap; - bool_value_.InternalSwap(&other->bool_value_); - instance_name_.Swap(&other->instance_name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetBoolRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetBoolResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetBoolResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetBoolResponse::SetBoolResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetBoolResponse) -} -SetBoolResponse::SetBoolResponse(const SetBoolResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetBoolResponse) -} - -void SetBoolResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -SetBoolResponse::~SetBoolResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetBoolResponse) - SharedDtor(); -} - -void SetBoolResponse::SharedDtor() { -} - -void SetBoolResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetBoolResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetBoolResponse& SetBoolResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolResponse(); - return *internal_default_instance(); -} - -SetBoolResponse* SetBoolResponse::New(::google::protobuf::Arena* arena) const { - SetBoolResponse* n = new SetBoolResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetBoolResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetBoolResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool SetBoolResponse::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:ModeliRpc.SetBoolResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetBoolResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetBoolResponse) - return false; -#undef DO_ -} - -void SetBoolResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetBoolResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetBoolResponse) -} - -::google::protobuf::uint8* SetBoolResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetBoolResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetBoolResponse) - return target; -} - -size_t SetBoolResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetBoolResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetBoolResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetBoolResponse) - GOOGLE_DCHECK_NE(&from, this); - const SetBoolResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetBoolResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetBoolResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetBoolResponse) - MergeFrom(*source); - } -} - -void SetBoolResponse::MergeFrom(const SetBoolResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetBoolResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void SetBoolResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetBoolResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetBoolResponse::CopyFrom(const SetBoolResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetBoolResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetBoolResponse::IsInitialized() const { - return true; -} - -void SetBoolResponse::Swap(SetBoolResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void SetBoolResponse::InternalSwap(SetBoolResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetBoolResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetStringRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetStringRequest::kInstanceNameFieldNumber; -const int SetStringRequest::kStringValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetStringRequest::SetStringRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetStringRequest) -} -SetStringRequest::SetStringRequest(const SetStringRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - string_value_(from.string_value_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetStringRequest) -} - -void SetStringRequest::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _cached_size_ = 0; -} - -SetStringRequest::~SetStringRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetStringRequest) - SharedDtor(); -} - -void SetStringRequest::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SetStringRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetStringRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetStringRequest& SetStringRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringRequest(); - return *internal_default_instance(); -} - -SetStringRequest* SetStringRequest::New(::google::protobuf::Arena* arena) const { - SetStringRequest* n = new SetStringRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetStringRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetStringRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - string_value_.Clear(); - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -bool SetStringRequest::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:ModeliRpc.SetStringRequest) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.SetStringRequest.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.StringValue string_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_string_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetStringRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetStringRequest) - return false; -#undef DO_ -} - -void SetStringRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetStringRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetStringRequest.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // repeated .ModeliRpc.StringValue string_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->string_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->string_value(static_cast<int>(i)), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetStringRequest) -} - -::google::protobuf::uint8* SetStringRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetStringRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.SetStringRequest.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // repeated .ModeliRpc.StringValue string_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->string_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->string_value(static_cast<int>(i)), deterministic, target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetStringRequest) - return target; -} - -size_t SetStringRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetStringRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // repeated .ModeliRpc.StringValue string_value = 2; - { - unsigned int count = static_cast<unsigned int>(this->string_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->string_value(static_cast<int>(i))); - } - } - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetStringRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetStringRequest) - GOOGLE_DCHECK_NE(&from, this); - const SetStringRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetStringRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetStringRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetStringRequest) - MergeFrom(*source); - } -} - -void SetStringRequest::MergeFrom(const SetStringRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetStringRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - string_value_.MergeFrom(from.string_value_); - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } -} - -void SetStringRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetStringRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetStringRequest::CopyFrom(const SetStringRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetStringRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetStringRequest::IsInitialized() const { - return true; -} - -void SetStringRequest::Swap(SetStringRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SetStringRequest::InternalSwap(SetStringRequest* other) { - using std::swap; - string_value_.InternalSwap(&other->string_value_); - instance_name_.Swap(&other->instance_name_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetStringRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void SetStringResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SetStringResponse::kStatusFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SetStringResponse::SetStringResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.SetStringResponse) -} -SetStringResponse::SetStringResponse(const SetStringResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.SetStringResponse) -} - -void SetStringResponse::SharedCtor() { - status_ = 0; - _cached_size_ = 0; -} - -SetStringResponse::~SetStringResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.SetStringResponse) - SharedDtor(); -} - -void SetStringResponse::SharedDtor() { -} - -void SetStringResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* SetStringResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const SetStringResponse& SetStringResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringResponse(); - return *internal_default_instance(); -} - -SetStringResponse* SetStringResponse::New(::google::protobuf::Arena* arena) const { - SetStringResponse* n = new SetStringResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void SetStringResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.SetStringResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear(); -} - -bool SetStringResponse::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:ModeliRpc.SetStringResponse) - 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)) { - // .ModeliRpc.Fmi2Status status = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.SetStringResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.SetStringResponse) - return false; -#undef DO_ -} - -void SetStringResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.SetStringResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->status(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.SetStringResponse) -} - -::google::protobuf::uint8* SetStringResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.SetStringResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->status(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.SetStringResponse) - return target; -} - -size_t SetStringResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.SetStringResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // .ModeliRpc.Fmi2Status status = 1; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void SetStringResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.SetStringResponse) - GOOGLE_DCHECK_NE(&from, this); - const SetStringResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const SetStringResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.SetStringResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.SetStringResponse) - MergeFrom(*source); - } -} - -void SetStringResponse::MergeFrom(const SetStringResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.SetStringResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.status() != 0) { - set_status(from.status()); - } -} - -void SetStringResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.SetStringResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SetStringResponse::CopyFrom(const SetStringResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.SetStringResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SetStringResponse::IsInitialized() const { - return true; -} - -void SetStringResponse::Swap(SetStringResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void SetStringResponse::InternalSwap(SetStringResponse* other) { - using std::swap; - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata SetStringResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void NewValuesRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NewValuesRequest::NewValuesRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.NewValuesRequest) -} -NewValuesRequest::NewValuesRequest(const NewValuesRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.NewValuesRequest) -} - -void NewValuesRequest::SharedCtor() { - _cached_size_ = 0; -} - -NewValuesRequest::~NewValuesRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.NewValuesRequest) - SharedDtor(); -} - -void NewValuesRequest::SharedDtor() { -} - -void NewValuesRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NewValuesRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const NewValuesRequest& NewValuesRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesRequest(); - return *internal_default_instance(); -} - -NewValuesRequest* NewValuesRequest::New(::google::protobuf::Arena* arena) const { - NewValuesRequest* n = new NewValuesRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void NewValuesRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.NewValuesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool NewValuesRequest::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:ModeliRpc.NewValuesRequest) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.NewValuesRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.NewValuesRequest) - return false; -#undef DO_ -} - -void NewValuesRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.NewValuesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.NewValuesRequest) -} - -::google::protobuf::uint8* NewValuesRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.NewValuesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.NewValuesRequest) - return target; -} - -size_t NewValuesRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.NewValuesRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void NewValuesRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.NewValuesRequest) - GOOGLE_DCHECK_NE(&from, this); - const NewValuesRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const NewValuesRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.NewValuesRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.NewValuesRequest) - MergeFrom(*source); - } -} - -void NewValuesRequest::MergeFrom(const NewValuesRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.NewValuesRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void NewValuesRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.NewValuesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NewValuesRequest::CopyFrom(const NewValuesRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.NewValuesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NewValuesRequest::IsInitialized() const { - return true; -} - -void NewValuesRequest::Swap(NewValuesRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NewValuesRequest::InternalSwap(NewValuesRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata NewValuesRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void NewValuesResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NewValuesResponse::kTimestampFieldNumber; -const int NewValuesResponse::kIntValueFieldNumber; -const int NewValuesResponse::kRealValueFieldNumber; -const int NewValuesResponse::kBoolValueFieldNumber; -const int NewValuesResponse::kStringValueFieldNumber; -const int NewValuesResponse::kInstanceNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NewValuesResponse::NewValuesResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.NewValuesResponse) -} -NewValuesResponse::NewValuesResponse(const NewValuesResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - int_value_(from.int_value_), - real_value_(from.real_value_), - bool_value_(from.bool_value_), - string_value_(from.string_value_), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - timestamp_ = from.timestamp_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.NewValuesResponse) -} - -void NewValuesResponse::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timestamp_ = 0; - _cached_size_ = 0; -} - -NewValuesResponse::~NewValuesResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.NewValuesResponse) - SharedDtor(); -} - -void NewValuesResponse::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NewValuesResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* NewValuesResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const NewValuesResponse& NewValuesResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesResponse(); - return *internal_default_instance(); -} - -NewValuesResponse* NewValuesResponse::New(::google::protobuf::Arena* arena) const { - NewValuesResponse* n = new NewValuesResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void NewValuesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.NewValuesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - int_value_.Clear(); - real_value_.Clear(); - bool_value_.Clear(); - string_value_.Clear(); - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - timestamp_ = 0; - _internal_metadata_.Clear(); -} - -bool NewValuesResponse::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:ModeliRpc.NewValuesResponse) - 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)) { - // double timestamp = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, ×tamp_))); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.IntValue int_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_int_value())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.RealValue real_value = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_real_value())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.BoolValue bool_value = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_bool_value())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .ModeliRpc.StringValue string_value = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_string_value())); - } else { - goto handle_unusual; - } - break; - } - - // string instance_name = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.NewValuesResponse.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.NewValuesResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.NewValuesResponse) - return false; -#undef DO_ -} - -void NewValuesResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.NewValuesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double timestamp = 1; - if (this->timestamp() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->timestamp(), output); - } - - // repeated .ModeliRpc.IntValue int_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->int_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->int_value(static_cast<int>(i)), output); - } - - // repeated .ModeliRpc.RealValue real_value = 3; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->real_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->real_value(static_cast<int>(i)), output); - } - - // repeated .ModeliRpc.BoolValue bool_value = 4; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->bool_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, this->bool_value(static_cast<int>(i)), output); - } - - // repeated .ModeliRpc.StringValue string_value = 5; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->string_value_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, this->string_value(static_cast<int>(i)), output); - } - - // string instance_name = 6; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.NewValuesResponse.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->instance_name(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.NewValuesResponse) -} - -::google::protobuf::uint8* NewValuesResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.NewValuesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // double timestamp = 1; - if (this->timestamp() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->timestamp(), target); - } - - // repeated .ModeliRpc.IntValue int_value = 2; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->int_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->int_value(static_cast<int>(i)), deterministic, target); - } - - // repeated .ModeliRpc.RealValue real_value = 3; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->real_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->real_value(static_cast<int>(i)), deterministic, target); - } - - // repeated .ModeliRpc.BoolValue bool_value = 4; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->bool_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->bool_value(static_cast<int>(i)), deterministic, target); - } - - // repeated .ModeliRpc.StringValue string_value = 5; - for (unsigned int i = 0, - n = static_cast<unsigned int>(this->string_value_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->string_value(static_cast<int>(i)), deterministic, target); - } - - // string instance_name = 6; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.NewValuesResponse.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->instance_name(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.NewValuesResponse) - return target; -} - -size_t NewValuesResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.NewValuesResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // repeated .ModeliRpc.IntValue int_value = 2; - { - unsigned int count = static_cast<unsigned int>(this->int_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->int_value(static_cast<int>(i))); - } - } - - // repeated .ModeliRpc.RealValue real_value = 3; - { - unsigned int count = static_cast<unsigned int>(this->real_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->real_value(static_cast<int>(i))); - } - } - - // repeated .ModeliRpc.BoolValue bool_value = 4; - { - unsigned int count = static_cast<unsigned int>(this->bool_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->bool_value(static_cast<int>(i))); - } - } - - // repeated .ModeliRpc.StringValue string_value = 5; - { - unsigned int count = static_cast<unsigned int>(this->string_value_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->string_value(static_cast<int>(i))); - } - } - - // string instance_name = 6; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - // double timestamp = 1; - if (this->timestamp() != 0) { - total_size += 1 + 8; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void NewValuesResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.NewValuesResponse) - GOOGLE_DCHECK_NE(&from, this); - const NewValuesResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const NewValuesResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.NewValuesResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.NewValuesResponse) - MergeFrom(*source); - } -} - -void NewValuesResponse::MergeFrom(const NewValuesResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.NewValuesResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - int_value_.MergeFrom(from.int_value_); - real_value_.MergeFrom(from.real_value_); - bool_value_.MergeFrom(from.bool_value_); - string_value_.MergeFrom(from.string_value_); - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - if (from.timestamp() != 0) { - set_timestamp(from.timestamp()); - } -} - -void NewValuesResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.NewValuesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NewValuesResponse::CopyFrom(const NewValuesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.NewValuesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NewValuesResponse::IsInitialized() const { - return true; -} - -void NewValuesResponse::Swap(NewValuesResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void NewValuesResponse::InternalSwap(NewValuesResponse* other) { - using std::swap; - int_value_.InternalSwap(&other->int_value_); - real_value_.InternalSwap(&other->real_value_); - bool_value_.InternalSwap(&other->bool_value_); - string_value_.InternalSwap(&other->string_value_); - instance_name_.Swap(&other->instance_name_); - swap(timestamp_, other->timestamp_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata NewValuesResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void LogRequest::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LogRequest::LogRequest() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsLogRequest(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.LogRequest) -} -LogRequest::LogRequest(const LogRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:ModeliRpc.LogRequest) -} - -void LogRequest::SharedCtor() { - _cached_size_ = 0; -} - -LogRequest::~LogRequest() { - // @@protoc_insertion_point(destructor:ModeliRpc.LogRequest) - SharedDtor(); -} - -void LogRequest::SharedDtor() { -} - -void LogRequest::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* LogRequest::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const LogRequest& LogRequest::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsLogRequest(); - return *internal_default_instance(); -} - -LogRequest* LogRequest::New(::google::protobuf::Arena* arena) const { - LogRequest* n = new LogRequest; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void LogRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.LogRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -bool LogRequest::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:ModeliRpc.LogRequest) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.LogRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.LogRequest) - return false; -#undef DO_ -} - -void LogRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.LogRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.LogRequest) -} - -::google::protobuf::uint8* LogRequest::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.LogRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.LogRequest) - return target; -} - -size_t LogRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.LogRequest) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void LogRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.LogRequest) - GOOGLE_DCHECK_NE(&from, this); - const LogRequest* source = - ::google::protobuf::internal::DynamicCastToGenerated<const LogRequest>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.LogRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.LogRequest) - MergeFrom(*source); - } -} - -void LogRequest::MergeFrom(const LogRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.LogRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void LogRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.LogRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LogRequest::CopyFrom(const LogRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.LogRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LogRequest::IsInitialized() const { - return true; -} - -void LogRequest::Swap(LogRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void LogRequest::InternalSwap(LogRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata LogRequest::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// =================================================================== - -void LogResponse::InitAsDefaultInstance() { -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LogResponse::kInstanceNameFieldNumber; -const int LogResponse::kStatusFieldNumber; -const int LogResponse::kMessageFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LogResponse::LogResponse() - : ::google::protobuf::Message(), _internal_metadata_(NULL) { - if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { - ::protobuf_ModeliRpc_2eproto::InitDefaultsLogResponse(); - } - SharedCtor(); - // @@protoc_insertion_point(constructor:ModeliRpc.LogResponse) -} -LogResponse::LogResponse(const LogResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(NULL), - _cached_size_(0) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.instance_name().size() > 0) { - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.message().size() > 0) { - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ModeliRpc.LogResponse) -} - -void LogResponse::SharedCtor() { - instance_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - status_ = 0; - _cached_size_ = 0; -} - -LogResponse::~LogResponse() { - // @@protoc_insertion_point(destructor:ModeliRpc.LogResponse) - SharedDtor(); -} - -void LogResponse::SharedDtor() { - instance_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void LogResponse::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* LogResponse::descriptor() { - ::protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; -} - -const LogResponse& LogResponse::default_instance() { - ::protobuf_ModeliRpc_2eproto::InitDefaultsLogResponse(); - return *internal_default_instance(); -} - -LogResponse* LogResponse::New(::google::protobuf::Arena* arena) const { - LogResponse* n = new LogResponse; - if (arena != NULL) { - arena->Own(n); - } - return n; -} - -void LogResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:ModeliRpc.LogResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - status_ = 0; - _internal_metadata_.Clear(); -} - -bool LogResponse::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:ModeliRpc.LogResponse) - 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)) { - // string instance_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_instance_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.LogResponse.instance_name")); - } else { - goto handle_unusual; - } - break; - } - - // .ModeliRpc.Fmi2Status status = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_status(static_cast< ::ModeliRpc::Fmi2Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string message = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == - static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_message())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->message().data(), static_cast<int>(this->message().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "ModeliRpc.LogResponse.message")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:ModeliRpc.LogResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:ModeliRpc.LogResponse) - return false; -#undef DO_ -} - -void LogResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:ModeliRpc.LogResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.LogResponse.instance_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->instance_name(), output); - } - - // .ModeliRpc.Fmi2Status status = 2; - if (this->status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->status(), output); - } - - // string message = 3; - if (this->message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->message().data(), static_cast<int>(this->message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.LogResponse.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->message(), output); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); - } - // @@protoc_insertion_point(serialize_end:ModeliRpc.LogResponse) -} - -::google::protobuf::uint8* LogResponse::InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const { - (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:ModeliRpc.LogResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string instance_name = 1; - if (this->instance_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->instance_name().data(), static_cast<int>(this->instance_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.LogResponse.instance_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->instance_name(), target); - } - - // .ModeliRpc.Fmi2Status status = 2; - if (this->status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->status(), target); - } - - // string message = 3; - if (this->message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->message().data(), static_cast<int>(this->message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "ModeliRpc.LogResponse.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->message(), target); - } - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - 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:ModeliRpc.LogResponse) - return target; -} - -size_t LogResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ModeliRpc.LogResponse) - size_t total_size = 0; - - if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); - } - // string instance_name = 1; - if (this->instance_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->instance_name()); - } - - // string message = 3; - if (this->message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->message()); - } - - // .ModeliRpc.Fmi2Status status = 2; - if (this->status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = cached_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void LogResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:ModeliRpc.LogResponse) - GOOGLE_DCHECK_NE(&from, this); - const LogResponse* source = - ::google::protobuf::internal::DynamicCastToGenerated<const LogResponse>( - &from); - if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:ModeliRpc.LogResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:ModeliRpc.LogResponse) - MergeFrom(*source); - } -} - -void LogResponse::MergeFrom(const LogResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ModeliRpc.LogResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.instance_name().size() > 0) { - - instance_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.instance_name_); - } - if (from.message().size() > 0) { - - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - if (from.status() != 0) { - set_status(from.status()); - } -} - -void LogResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:ModeliRpc.LogResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LogResponse::CopyFrom(const LogResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ModeliRpc.LogResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LogResponse::IsInitialized() const { - return true; -} - -void LogResponse::Swap(LogResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void LogResponse::InternalSwap(LogResponse* other) { - using std::swap; - instance_name_.Swap(&other->instance_name_); - message_.Swap(&other->message_); - swap(status_, other->status_); - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(_cached_size_, other->_cached_size_); -} - -::google::protobuf::Metadata LogResponse::GetMetadata() const { - protobuf_ModeliRpc_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_ModeliRpc_2eproto::file_level_metadata[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace ModeliRpc - -// @@protoc_insertion_point(global_scope) diff --git a/ModeliRpc_Cpp/ModeliRpc.pb.h b/ModeliRpc_Cpp/ModeliRpc.pb.h deleted file mode 100644 index 0631d3d3f25e1b2559e3729a88fb00d3d00c6de3..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cpp/ModeliRpc.pb.h +++ /dev/null @@ -1,5410 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ModeliRpc.proto - -#ifndef PROTOBUF_ModeliRpc_2eproto__INCLUDED -#define PROTOBUF_ModeliRpc_2eproto__INCLUDED - -#include <string> - -#include <google/protobuf/stubs/common.h> - -#if GOOGLE_PROTOBUF_VERSION < 3005000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/arena.h> -#include <google/protobuf/arenastring.h> -#include <google/protobuf/generated_message_table_driven.h> -#include <google/protobuf/generated_message_util.h> -#include <google/protobuf/metadata.h> -#include <google/protobuf/message.h> -#include <google/protobuf/repeated_field.h> // IWYU pragma: export -#include <google/protobuf/extension_set.h> // IWYU pragma: export -#include <google/protobuf/generated_enum_reflection.h> -#include <google/protobuf/unknown_field_set.h> -// @@protoc_insertion_point(includes) - -namespace protobuf_ModeliRpc_2eproto { -// Internal implementation detail -- do not use these members. -struct TableStruct { - static const ::google::protobuf::internal::ParseTableField entries[]; - static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; - static const ::google::protobuf::internal::ParseTable schema[33]; - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors(); -void InitDefaultsIntValueImpl(); -void InitDefaultsIntValue(); -void InitDefaultsRealValueImpl(); -void InitDefaultsRealValue(); -void InitDefaultsBoolValueImpl(); -void InitDefaultsBoolValue(); -void InitDefaultsStringValueImpl(); -void InitDefaultsStringValue(); -void InitDefaultsChannelLinkImpl(); -void InitDefaultsChannelLink(); -void InitDefaultsPlayRequestImpl(); -void InitDefaultsPlayRequest(); -void InitDefaultsPlayResponseImpl(); -void InitDefaultsPlayResponse(); -void InitDefaultsPlayFastRequestImpl(); -void InitDefaultsPlayFastRequest(); -void InitDefaultsPlayFastResponseImpl(); -void InitDefaultsPlayFastResponse(); -void InitDefaultsPauseRequestImpl(); -void InitDefaultsPauseRequest(); -void InitDefaultsPauseResponseImpl(); -void InitDefaultsPauseResponse(); -void InitDefaultsStopRequestImpl(); -void InitDefaultsStopRequest(); -void InitDefaultsStopResponseImpl(); -void InitDefaultsStopResponse(); -void InitDefaultsAddFmuRequestImpl(); -void InitDefaultsAddFmuRequest(); -void InitDefaultsAddFmuResponseImpl(); -void InitDefaultsAddFmuResponse(); -void InitDefaultsRemoveFmuRequestImpl(); -void InitDefaultsRemoveFmuRequest(); -void InitDefaultsRemoveFmuResponseImpl(); -void InitDefaultsRemoveFmuResponse(); -void InitDefaultsAddChannelLinkRequestImpl(); -void InitDefaultsAddChannelLinkRequest(); -void InitDefaultsAddChannelLinkResponseImpl(); -void InitDefaultsAddChannelLinkResponse(); -void InitDefaultsRemoveChannelLinkRequestImpl(); -void InitDefaultsRemoveChannelLinkRequest(); -void InitDefaultsRemoveChannelLinkResponseImpl(); -void InitDefaultsRemoveChannelLinkResponse(); -void InitDefaultsSetIntRequestImpl(); -void InitDefaultsSetIntRequest(); -void InitDefaultsSetIntResponseImpl(); -void InitDefaultsSetIntResponse(); -void InitDefaultsSetRealRequestImpl(); -void InitDefaultsSetRealRequest(); -void InitDefaultsSetRealResponseImpl(); -void InitDefaultsSetRealResponse(); -void InitDefaultsSetBoolRequestImpl(); -void InitDefaultsSetBoolRequest(); -void InitDefaultsSetBoolResponseImpl(); -void InitDefaultsSetBoolResponse(); -void InitDefaultsSetStringRequestImpl(); -void InitDefaultsSetStringRequest(); -void InitDefaultsSetStringResponseImpl(); -void InitDefaultsSetStringResponse(); -void InitDefaultsNewValuesRequestImpl(); -void InitDefaultsNewValuesRequest(); -void InitDefaultsNewValuesResponseImpl(); -void InitDefaultsNewValuesResponse(); -void InitDefaultsLogRequestImpl(); -void InitDefaultsLogRequest(); -void InitDefaultsLogResponseImpl(); -void InitDefaultsLogResponse(); -inline void InitDefaults() { - InitDefaultsIntValue(); - InitDefaultsRealValue(); - InitDefaultsBoolValue(); - InitDefaultsStringValue(); - InitDefaultsChannelLink(); - InitDefaultsPlayRequest(); - InitDefaultsPlayResponse(); - InitDefaultsPlayFastRequest(); - InitDefaultsPlayFastResponse(); - InitDefaultsPauseRequest(); - InitDefaultsPauseResponse(); - InitDefaultsStopRequest(); - InitDefaultsStopResponse(); - InitDefaultsAddFmuRequest(); - InitDefaultsAddFmuResponse(); - InitDefaultsRemoveFmuRequest(); - InitDefaultsRemoveFmuResponse(); - InitDefaultsAddChannelLinkRequest(); - InitDefaultsAddChannelLinkResponse(); - InitDefaultsRemoveChannelLinkRequest(); - InitDefaultsRemoveChannelLinkResponse(); - InitDefaultsSetIntRequest(); - InitDefaultsSetIntResponse(); - InitDefaultsSetRealRequest(); - InitDefaultsSetRealResponse(); - InitDefaultsSetBoolRequest(); - InitDefaultsSetBoolResponse(); - InitDefaultsSetStringRequest(); - InitDefaultsSetStringResponse(); - InitDefaultsNewValuesRequest(); - InitDefaultsNewValuesResponse(); - InitDefaultsLogRequest(); - InitDefaultsLogResponse(); -} -} // namespace protobuf_ModeliRpc_2eproto -namespace ModeliRpc { -class AddChannelLinkRequest; -class AddChannelLinkRequestDefaultTypeInternal; -extern AddChannelLinkRequestDefaultTypeInternal _AddChannelLinkRequest_default_instance_; -class AddChannelLinkResponse; -class AddChannelLinkResponseDefaultTypeInternal; -extern AddChannelLinkResponseDefaultTypeInternal _AddChannelLinkResponse_default_instance_; -class AddFmuRequest; -class AddFmuRequestDefaultTypeInternal; -extern AddFmuRequestDefaultTypeInternal _AddFmuRequest_default_instance_; -class AddFmuResponse; -class AddFmuResponseDefaultTypeInternal; -extern AddFmuResponseDefaultTypeInternal _AddFmuResponse_default_instance_; -class BoolValue; -class BoolValueDefaultTypeInternal; -extern BoolValueDefaultTypeInternal _BoolValue_default_instance_; -class ChannelLink; -class ChannelLinkDefaultTypeInternal; -extern ChannelLinkDefaultTypeInternal _ChannelLink_default_instance_; -class IntValue; -class IntValueDefaultTypeInternal; -extern IntValueDefaultTypeInternal _IntValue_default_instance_; -class LogRequest; -class LogRequestDefaultTypeInternal; -extern LogRequestDefaultTypeInternal _LogRequest_default_instance_; -class LogResponse; -class LogResponseDefaultTypeInternal; -extern LogResponseDefaultTypeInternal _LogResponse_default_instance_; -class NewValuesRequest; -class NewValuesRequestDefaultTypeInternal; -extern NewValuesRequestDefaultTypeInternal _NewValuesRequest_default_instance_; -class NewValuesResponse; -class NewValuesResponseDefaultTypeInternal; -extern NewValuesResponseDefaultTypeInternal _NewValuesResponse_default_instance_; -class PauseRequest; -class PauseRequestDefaultTypeInternal; -extern PauseRequestDefaultTypeInternal _PauseRequest_default_instance_; -class PauseResponse; -class PauseResponseDefaultTypeInternal; -extern PauseResponseDefaultTypeInternal _PauseResponse_default_instance_; -class PlayFastRequest; -class PlayFastRequestDefaultTypeInternal; -extern PlayFastRequestDefaultTypeInternal _PlayFastRequest_default_instance_; -class PlayFastResponse; -class PlayFastResponseDefaultTypeInternal; -extern PlayFastResponseDefaultTypeInternal _PlayFastResponse_default_instance_; -class PlayRequest; -class PlayRequestDefaultTypeInternal; -extern PlayRequestDefaultTypeInternal _PlayRequest_default_instance_; -class PlayResponse; -class PlayResponseDefaultTypeInternal; -extern PlayResponseDefaultTypeInternal _PlayResponse_default_instance_; -class RealValue; -class RealValueDefaultTypeInternal; -extern RealValueDefaultTypeInternal _RealValue_default_instance_; -class RemoveChannelLinkRequest; -class RemoveChannelLinkRequestDefaultTypeInternal; -extern RemoveChannelLinkRequestDefaultTypeInternal _RemoveChannelLinkRequest_default_instance_; -class RemoveChannelLinkResponse; -class RemoveChannelLinkResponseDefaultTypeInternal; -extern RemoveChannelLinkResponseDefaultTypeInternal _RemoveChannelLinkResponse_default_instance_; -class RemoveFmuRequest; -class RemoveFmuRequestDefaultTypeInternal; -extern RemoveFmuRequestDefaultTypeInternal _RemoveFmuRequest_default_instance_; -class RemoveFmuResponse; -class RemoveFmuResponseDefaultTypeInternal; -extern RemoveFmuResponseDefaultTypeInternal _RemoveFmuResponse_default_instance_; -class SetBoolRequest; -class SetBoolRequestDefaultTypeInternal; -extern SetBoolRequestDefaultTypeInternal _SetBoolRequest_default_instance_; -class SetBoolResponse; -class SetBoolResponseDefaultTypeInternal; -extern SetBoolResponseDefaultTypeInternal _SetBoolResponse_default_instance_; -class SetIntRequest; -class SetIntRequestDefaultTypeInternal; -extern SetIntRequestDefaultTypeInternal _SetIntRequest_default_instance_; -class SetIntResponse; -class SetIntResponseDefaultTypeInternal; -extern SetIntResponseDefaultTypeInternal _SetIntResponse_default_instance_; -class SetRealRequest; -class SetRealRequestDefaultTypeInternal; -extern SetRealRequestDefaultTypeInternal _SetRealRequest_default_instance_; -class SetRealResponse; -class SetRealResponseDefaultTypeInternal; -extern SetRealResponseDefaultTypeInternal _SetRealResponse_default_instance_; -class SetStringRequest; -class SetStringRequestDefaultTypeInternal; -extern SetStringRequestDefaultTypeInternal _SetStringRequest_default_instance_; -class SetStringResponse; -class SetStringResponseDefaultTypeInternal; -extern SetStringResponseDefaultTypeInternal _SetStringResponse_default_instance_; -class StopRequest; -class StopRequestDefaultTypeInternal; -extern StopRequestDefaultTypeInternal _StopRequest_default_instance_; -class StopResponse; -class StopResponseDefaultTypeInternal; -extern StopResponseDefaultTypeInternal _StopResponse_default_instance_; -class StringValue; -class StringValueDefaultTypeInternal; -extern StringValueDefaultTypeInternal _StringValue_default_instance_; -} // namespace ModeliRpc -namespace ModeliRpc { - -enum Fmi2Status { - FMI2_OK = 0, - FMI2_WARNING = 1, - FMI2_DISCARD = 2, - FMI2_ERROR = 3, - FMI2_FATAL = 4, - FMI2_PENDING = 5, - Fmi2Status_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, - Fmi2Status_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max -}; -bool Fmi2Status_IsValid(int value); -const Fmi2Status Fmi2Status_MIN = FMI2_OK; -const Fmi2Status Fmi2Status_MAX = FMI2_PENDING; -const int Fmi2Status_ARRAYSIZE = Fmi2Status_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Fmi2Status_descriptor(); -inline const ::std::string& Fmi2Status_Name(Fmi2Status value) { - return ::google::protobuf::internal::NameOfEnum( - Fmi2Status_descriptor(), value); -} -inline bool Fmi2Status_Parse( - const ::std::string& name, Fmi2Status* value) { - return ::google::protobuf::internal::ParseNamedEnum<Fmi2Status>( - Fmi2Status_descriptor(), name, value); -} -// =================================================================== - -class IntValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.IntValue) */ { - public: - IntValue(); - virtual ~IntValue(); - - IntValue(const IntValue& from); - - inline IntValue& operator=(const IntValue& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - IntValue(IntValue&& from) noexcept - : IntValue() { - *this = ::std::move(from); - } - - inline IntValue& operator=(IntValue&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const IntValue& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const IntValue* internal_default_instance() { - return reinterpret_cast<const IntValue*>( - &_IntValue_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 0; - - void Swap(IntValue* other); - friend void swap(IntValue& a, IntValue& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline IntValue* New() const PROTOBUF_FINAL { return New(NULL); } - - IntValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const IntValue& from); - void MergeFrom(const IntValue& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(IntValue* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // uint32 value_ref = 1; - void clear_value_ref(); - static const int kValueRefFieldNumber = 1; - ::google::protobuf::uint32 value_ref() const; - void set_value_ref(::google::protobuf::uint32 value); - - // int32 value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - ::google::protobuf::int32 value() const; - void set_value(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.IntValue) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::uint32 value_ref_; - ::google::protobuf::int32 value_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsIntValueImpl(); -}; -// ------------------------------------------------------------------- - -class RealValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.RealValue) */ { - public: - RealValue(); - virtual ~RealValue(); - - RealValue(const RealValue& from); - - inline RealValue& operator=(const RealValue& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RealValue(RealValue&& from) noexcept - : RealValue() { - *this = ::std::move(from); - } - - inline RealValue& operator=(RealValue&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const RealValue& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RealValue* internal_default_instance() { - return reinterpret_cast<const RealValue*>( - &_RealValue_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 1; - - void Swap(RealValue* other); - friend void swap(RealValue& a, RealValue& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RealValue* New() const PROTOBUF_FINAL { return New(NULL); } - - RealValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const RealValue& from); - void MergeFrom(const RealValue& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(RealValue* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - double value() const; - void set_value(double value); - - // uint32 value_ref = 1; - void clear_value_ref(); - static const int kValueRefFieldNumber = 1; - ::google::protobuf::uint32 value_ref() const; - void set_value_ref(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.RealValue) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double value_; - ::google::protobuf::uint32 value_ref_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsRealValueImpl(); -}; -// ------------------------------------------------------------------- - -class BoolValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.BoolValue) */ { - public: - BoolValue(); - virtual ~BoolValue(); - - BoolValue(const BoolValue& from); - - inline BoolValue& operator=(const BoolValue& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BoolValue(BoolValue&& from) noexcept - : BoolValue() { - *this = ::std::move(from); - } - - inline BoolValue& operator=(BoolValue&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const BoolValue& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BoolValue* internal_default_instance() { - return reinterpret_cast<const BoolValue*>( - &_BoolValue_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 2; - - void Swap(BoolValue* other); - friend void swap(BoolValue& a, BoolValue& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BoolValue* New() const PROTOBUF_FINAL { return New(NULL); } - - BoolValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const BoolValue& from); - void MergeFrom(const BoolValue& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(BoolValue* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // uint32 value_ref = 1; - void clear_value_ref(); - static const int kValueRefFieldNumber = 1; - ::google::protobuf::uint32 value_ref() const; - void set_value_ref(::google::protobuf::uint32 value); - - // int32 value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - ::google::protobuf::int32 value() const; - void set_value(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.BoolValue) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::uint32 value_ref_; - ::google::protobuf::int32 value_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsBoolValueImpl(); -}; -// ------------------------------------------------------------------- - -class StringValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.StringValue) */ { - public: - StringValue(); - virtual ~StringValue(); - - StringValue(const StringValue& from); - - inline StringValue& operator=(const StringValue& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StringValue(StringValue&& from) noexcept - : StringValue() { - *this = ::std::move(from); - } - - inline StringValue& operator=(StringValue&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const StringValue& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StringValue* internal_default_instance() { - return reinterpret_cast<const StringValue*>( - &_StringValue_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 3; - - void Swap(StringValue* other); - friend void swap(StringValue& a, StringValue& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StringValue* New() const PROTOBUF_FINAL { return New(NULL); } - - StringValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const StringValue& from); - void MergeFrom(const StringValue& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(StringValue* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::std::string& value() const; - void set_value(const ::std::string& value); - #if LANG_CXX11 - void set_value(::std::string&& value); - #endif - void set_value(const char* value); - void set_value(const char* value, size_t size); - ::std::string* mutable_value(); - ::std::string* release_value(); - void set_allocated_value(::std::string* value); - - // uint32 value_ref = 1; - void clear_value_ref(); - static const int kValueRefFieldNumber = 1; - ::google::protobuf::uint32 value_ref() const; - void set_value_ref(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.StringValue) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr value_; - ::google::protobuf::uint32 value_ref_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsStringValueImpl(); -}; -// ------------------------------------------------------------------- - -class ChannelLink : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.ChannelLink) */ { - public: - ChannelLink(); - virtual ~ChannelLink(); - - ChannelLink(const ChannelLink& from); - - inline ChannelLink& operator=(const ChannelLink& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ChannelLink(ChannelLink&& from) noexcept - : ChannelLink() { - *this = ::std::move(from); - } - - inline ChannelLink& operator=(ChannelLink&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const ChannelLink& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ChannelLink* internal_default_instance() { - return reinterpret_cast<const ChannelLink*>( - &_ChannelLink_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 4; - - void Swap(ChannelLink* other); - friend void swap(ChannelLink& a, ChannelLink& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ChannelLink* New() const PROTOBUF_FINAL { return New(NULL); } - - ChannelLink* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const ChannelLink& from); - void MergeFrom(const ChannelLink& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(ChannelLink* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string master_instance_name = 1; - void clear_master_instance_name(); - static const int kMasterInstanceNameFieldNumber = 1; - const ::std::string& master_instance_name() const; - void set_master_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_master_instance_name(::std::string&& value); - #endif - void set_master_instance_name(const char* value); - void set_master_instance_name(const char* value, size_t size); - ::std::string* mutable_master_instance_name(); - ::std::string* release_master_instance_name(); - void set_allocated_master_instance_name(::std::string* master_instance_name); - - // string slave_instance_name = 2; - void clear_slave_instance_name(); - static const int kSlaveInstanceNameFieldNumber = 2; - const ::std::string& slave_instance_name() const; - void set_slave_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_slave_instance_name(::std::string&& value); - #endif - void set_slave_instance_name(const char* value); - void set_slave_instance_name(const char* value, size_t size); - ::std::string* mutable_slave_instance_name(); - ::std::string* release_slave_instance_name(); - void set_allocated_slave_instance_name(::std::string* slave_instance_name); - - // uint32 master_vr = 3; - void clear_master_vr(); - static const int kMasterVrFieldNumber = 3; - ::google::protobuf::uint32 master_vr() const; - void set_master_vr(::google::protobuf::uint32 value); - - // uint32 slave_vr = 4; - void clear_slave_vr(); - static const int kSlaveVrFieldNumber = 4; - ::google::protobuf::uint32 slave_vr() const; - void set_slave_vr(::google::protobuf::uint32 value); - - // double factor = 5; - void clear_factor(); - static const int kFactorFieldNumber = 5; - double factor() const; - void set_factor(double value); - - // double offset = 6; - void clear_offset(); - static const int kOffsetFieldNumber = 6; - double offset() const; - void set_offset(double value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.ChannelLink) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr master_instance_name_; - ::google::protobuf::internal::ArenaStringPtr slave_instance_name_; - ::google::protobuf::uint32 master_vr_; - ::google::protobuf::uint32 slave_vr_; - double factor_; - double offset_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsChannelLinkImpl(); -}; -// ------------------------------------------------------------------- - -class PlayRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PlayRequest) */ { - public: - PlayRequest(); - virtual ~PlayRequest(); - - PlayRequest(const PlayRequest& from); - - inline PlayRequest& operator=(const PlayRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PlayRequest(PlayRequest&& from) noexcept - : PlayRequest() { - *this = ::std::move(from); - } - - inline PlayRequest& operator=(PlayRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PlayRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PlayRequest* internal_default_instance() { - return reinterpret_cast<const PlayRequest*>( - &_PlayRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 5; - - void Swap(PlayRequest* other); - friend void swap(PlayRequest& a, PlayRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PlayRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - PlayRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PlayRequest& from); - void MergeFrom(const PlayRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PlayRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.PlayRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayRequestImpl(); -}; -// ------------------------------------------------------------------- - -class PlayResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PlayResponse) */ { - public: - PlayResponse(); - virtual ~PlayResponse(); - - PlayResponse(const PlayResponse& from); - - inline PlayResponse& operator=(const PlayResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PlayResponse(PlayResponse&& from) noexcept - : PlayResponse() { - *this = ::std::move(from); - } - - inline PlayResponse& operator=(PlayResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PlayResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PlayResponse* internal_default_instance() { - return reinterpret_cast<const PlayResponse*>( - &_PlayResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 6; - - void Swap(PlayResponse* other); - friend void swap(PlayResponse& a, PlayResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PlayResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - PlayResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PlayResponse& from); - void MergeFrom(const PlayResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PlayResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.PlayResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayResponseImpl(); -}; -// ------------------------------------------------------------------- - -class PlayFastRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PlayFastRequest) */ { - public: - PlayFastRequest(); - virtual ~PlayFastRequest(); - - PlayFastRequest(const PlayFastRequest& from); - - inline PlayFastRequest& operator=(const PlayFastRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PlayFastRequest(PlayFastRequest&& from) noexcept - : PlayFastRequest() { - *this = ::std::move(from); - } - - inline PlayFastRequest& operator=(PlayFastRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PlayFastRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PlayFastRequest* internal_default_instance() { - return reinterpret_cast<const PlayFastRequest*>( - &_PlayFastRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 7; - - void Swap(PlayFastRequest* other); - friend void swap(PlayFastRequest& a, PlayFastRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PlayFastRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - PlayFastRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PlayFastRequest& from); - void MergeFrom(const PlayFastRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PlayFastRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // double time = 1; - void clear_time(); - static const int kTimeFieldNumber = 1; - double time() const; - void set_time(double value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.PlayFastRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - double time_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastRequestImpl(); -}; -// ------------------------------------------------------------------- - -class PlayFastResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PlayFastResponse) */ { - public: - PlayFastResponse(); - virtual ~PlayFastResponse(); - - PlayFastResponse(const PlayFastResponse& from); - - inline PlayFastResponse& operator=(const PlayFastResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PlayFastResponse(PlayFastResponse&& from) noexcept - : PlayFastResponse() { - *this = ::std::move(from); - } - - inline PlayFastResponse& operator=(PlayFastResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PlayFastResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PlayFastResponse* internal_default_instance() { - return reinterpret_cast<const PlayFastResponse*>( - &_PlayFastResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 8; - - void Swap(PlayFastResponse* other); - friend void swap(PlayFastResponse& a, PlayFastResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PlayFastResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - PlayFastResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PlayFastResponse& from); - void MergeFrom(const PlayFastResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PlayFastResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.PlayFastResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPlayFastResponseImpl(); -}; -// ------------------------------------------------------------------- - -class PauseRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PauseRequest) */ { - public: - PauseRequest(); - virtual ~PauseRequest(); - - PauseRequest(const PauseRequest& from); - - inline PauseRequest& operator=(const PauseRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PauseRequest(PauseRequest&& from) noexcept - : PauseRequest() { - *this = ::std::move(from); - } - - inline PauseRequest& operator=(PauseRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PauseRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PauseRequest* internal_default_instance() { - return reinterpret_cast<const PauseRequest*>( - &_PauseRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 9; - - void Swap(PauseRequest* other); - friend void swap(PauseRequest& a, PauseRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PauseRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - PauseRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PauseRequest& from); - void MergeFrom(const PauseRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PauseRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.PauseRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseRequestImpl(); -}; -// ------------------------------------------------------------------- - -class PauseResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.PauseResponse) */ { - public: - PauseResponse(); - virtual ~PauseResponse(); - - PauseResponse(const PauseResponse& from); - - inline PauseResponse& operator=(const PauseResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PauseResponse(PauseResponse&& from) noexcept - : PauseResponse() { - *this = ::std::move(from); - } - - inline PauseResponse& operator=(PauseResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const PauseResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PauseResponse* internal_default_instance() { - return reinterpret_cast<const PauseResponse*>( - &_PauseResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 10; - - void Swap(PauseResponse* other); - friend void swap(PauseResponse& a, PauseResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PauseResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - PauseResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const PauseResponse& from); - void MergeFrom(const PauseResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(PauseResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.PauseResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsPauseResponseImpl(); -}; -// ------------------------------------------------------------------- - -class StopRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.StopRequest) */ { - public: - StopRequest(); - virtual ~StopRequest(); - - StopRequest(const StopRequest& from); - - inline StopRequest& operator=(const StopRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StopRequest(StopRequest&& from) noexcept - : StopRequest() { - *this = ::std::move(from); - } - - inline StopRequest& operator=(StopRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const StopRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StopRequest* internal_default_instance() { - return reinterpret_cast<const StopRequest*>( - &_StopRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 11; - - void Swap(StopRequest* other); - friend void swap(StopRequest& a, StopRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StopRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - StopRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const StopRequest& from); - void MergeFrom(const StopRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(StopRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.StopRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsStopRequestImpl(); -}; -// ------------------------------------------------------------------- - -class StopResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.StopResponse) */ { - public: - StopResponse(); - virtual ~StopResponse(); - - StopResponse(const StopResponse& from); - - inline StopResponse& operator=(const StopResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StopResponse(StopResponse&& from) noexcept - : StopResponse() { - *this = ::std::move(from); - } - - inline StopResponse& operator=(StopResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const StopResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StopResponse* internal_default_instance() { - return reinterpret_cast<const StopResponse*>( - &_StopResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 12; - - void Swap(StopResponse* other); - friend void swap(StopResponse& a, StopResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StopResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - StopResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const StopResponse& from); - void MergeFrom(const StopResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(StopResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.StopResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsStopResponseImpl(); -}; -// ------------------------------------------------------------------- - -class AddFmuRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.AddFmuRequest) */ { - public: - AddFmuRequest(); - virtual ~AddFmuRequest(); - - AddFmuRequest(const AddFmuRequest& from); - - inline AddFmuRequest& operator=(const AddFmuRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddFmuRequest(AddFmuRequest&& from) noexcept - : AddFmuRequest() { - *this = ::std::move(from); - } - - inline AddFmuRequest& operator=(AddFmuRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const AddFmuRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddFmuRequest* internal_default_instance() { - return reinterpret_cast<const AddFmuRequest*>( - &_AddFmuRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 13; - - void Swap(AddFmuRequest* other); - friend void swap(AddFmuRequest& a, AddFmuRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddFmuRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - AddFmuRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const AddFmuRequest& from); - void MergeFrom(const AddFmuRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(AddFmuRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // bytes chunk = 2; - void clear_chunk(); - static const int kChunkFieldNumber = 2; - const ::std::string& chunk() const; - void set_chunk(const ::std::string& value); - #if LANG_CXX11 - void set_chunk(::std::string&& value); - #endif - void set_chunk(const char* value); - void set_chunk(const void* value, size_t size); - ::std::string* mutable_chunk(); - ::std::string* release_chunk(); - void set_allocated_chunk(::std::string* chunk); - - // @@protoc_insertion_point(class_scope:ModeliRpc.AddFmuRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - ::google::protobuf::internal::ArenaStringPtr chunk_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuRequestImpl(); -}; -// ------------------------------------------------------------------- - -class AddFmuResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.AddFmuResponse) */ { - public: - AddFmuResponse(); - virtual ~AddFmuResponse(); - - AddFmuResponse(const AddFmuResponse& from); - - inline AddFmuResponse& operator=(const AddFmuResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddFmuResponse(AddFmuResponse&& from) noexcept - : AddFmuResponse() { - *this = ::std::move(from); - } - - inline AddFmuResponse& operator=(AddFmuResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const AddFmuResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddFmuResponse* internal_default_instance() { - return reinterpret_cast<const AddFmuResponse*>( - &_AddFmuResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 14; - - void Swap(AddFmuResponse* other); - friend void swap(AddFmuResponse& a, AddFmuResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddFmuResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - AddFmuResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const AddFmuResponse& from); - void MergeFrom(const AddFmuResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(AddFmuResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // bool success = 1; - void clear_success(); - static const int kSuccessFieldNumber = 1; - bool success() const; - void set_success(bool value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.AddFmuResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - bool success_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsAddFmuResponseImpl(); -}; -// ------------------------------------------------------------------- - -class RemoveFmuRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.RemoveFmuRequest) */ { - public: - RemoveFmuRequest(); - virtual ~RemoveFmuRequest(); - - RemoveFmuRequest(const RemoveFmuRequest& from); - - inline RemoveFmuRequest& operator=(const RemoveFmuRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RemoveFmuRequest(RemoveFmuRequest&& from) noexcept - : RemoveFmuRequest() { - *this = ::std::move(from); - } - - inline RemoveFmuRequest& operator=(RemoveFmuRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveFmuRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RemoveFmuRequest* internal_default_instance() { - return reinterpret_cast<const RemoveFmuRequest*>( - &_RemoveFmuRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 15; - - void Swap(RemoveFmuRequest* other); - friend void swap(RemoveFmuRequest& a, RemoveFmuRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RemoveFmuRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - RemoveFmuRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const RemoveFmuRequest& from); - void MergeFrom(const RemoveFmuRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(RemoveFmuRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // @@protoc_insertion_point(class_scope:ModeliRpc.RemoveFmuRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuRequestImpl(); -}; -// ------------------------------------------------------------------- - -class RemoveFmuResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.RemoveFmuResponse) */ { - public: - RemoveFmuResponse(); - virtual ~RemoveFmuResponse(); - - RemoveFmuResponse(const RemoveFmuResponse& from); - - inline RemoveFmuResponse& operator=(const RemoveFmuResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RemoveFmuResponse(RemoveFmuResponse&& from) noexcept - : RemoveFmuResponse() { - *this = ::std::move(from); - } - - inline RemoveFmuResponse& operator=(RemoveFmuResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveFmuResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RemoveFmuResponse* internal_default_instance() { - return reinterpret_cast<const RemoveFmuResponse*>( - &_RemoveFmuResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 16; - - void Swap(RemoveFmuResponse* other); - friend void swap(RemoveFmuResponse& a, RemoveFmuResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RemoveFmuResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - RemoveFmuResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const RemoveFmuResponse& from); - void MergeFrom(const RemoveFmuResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(RemoveFmuResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // bool success = 1; - void clear_success(); - static const int kSuccessFieldNumber = 1; - bool success() const; - void set_success(bool value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.RemoveFmuResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - bool success_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveFmuResponseImpl(); -}; -// ------------------------------------------------------------------- - -class AddChannelLinkRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.AddChannelLinkRequest) */ { - public: - AddChannelLinkRequest(); - virtual ~AddChannelLinkRequest(); - - AddChannelLinkRequest(const AddChannelLinkRequest& from); - - inline AddChannelLinkRequest& operator=(const AddChannelLinkRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddChannelLinkRequest(AddChannelLinkRequest&& from) noexcept - : AddChannelLinkRequest() { - *this = ::std::move(from); - } - - inline AddChannelLinkRequest& operator=(AddChannelLinkRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const AddChannelLinkRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddChannelLinkRequest* internal_default_instance() { - return reinterpret_cast<const AddChannelLinkRequest*>( - &_AddChannelLinkRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 17; - - void Swap(AddChannelLinkRequest* other); - friend void swap(AddChannelLinkRequest& a, AddChannelLinkRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddChannelLinkRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - AddChannelLinkRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const AddChannelLinkRequest& from); - void MergeFrom(const AddChannelLinkRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(AddChannelLinkRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.ChannelLink channel_link = 1; - bool has_channel_link() const; - void clear_channel_link(); - static const int kChannelLinkFieldNumber = 1; - const ::ModeliRpc::ChannelLink& channel_link() const; - ::ModeliRpc::ChannelLink* release_channel_link(); - ::ModeliRpc::ChannelLink* mutable_channel_link(); - void set_allocated_channel_link(::ModeliRpc::ChannelLink* channel_link); - - // @@protoc_insertion_point(class_scope:ModeliRpc.AddChannelLinkRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::ModeliRpc::ChannelLink* channel_link_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkRequestImpl(); -}; -// ------------------------------------------------------------------- - -class AddChannelLinkResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.AddChannelLinkResponse) */ { - public: - AddChannelLinkResponse(); - virtual ~AddChannelLinkResponse(); - - AddChannelLinkResponse(const AddChannelLinkResponse& from); - - inline AddChannelLinkResponse& operator=(const AddChannelLinkResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddChannelLinkResponse(AddChannelLinkResponse&& from) noexcept - : AddChannelLinkResponse() { - *this = ::std::move(from); - } - - inline AddChannelLinkResponse& operator=(AddChannelLinkResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const AddChannelLinkResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddChannelLinkResponse* internal_default_instance() { - return reinterpret_cast<const AddChannelLinkResponse*>( - &_AddChannelLinkResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 18; - - void Swap(AddChannelLinkResponse* other); - friend void swap(AddChannelLinkResponse& a, AddChannelLinkResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddChannelLinkResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - AddChannelLinkResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const AddChannelLinkResponse& from); - void MergeFrom(const AddChannelLinkResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(AddChannelLinkResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // bool success = 1; - void clear_success(); - static const int kSuccessFieldNumber = 1; - bool success() const; - void set_success(bool value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.AddChannelLinkResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - bool success_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsAddChannelLinkResponseImpl(); -}; -// ------------------------------------------------------------------- - -class RemoveChannelLinkRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.RemoveChannelLinkRequest) */ { - public: - RemoveChannelLinkRequest(); - virtual ~RemoveChannelLinkRequest(); - - RemoveChannelLinkRequest(const RemoveChannelLinkRequest& from); - - inline RemoveChannelLinkRequest& operator=(const RemoveChannelLinkRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RemoveChannelLinkRequest(RemoveChannelLinkRequest&& from) noexcept - : RemoveChannelLinkRequest() { - *this = ::std::move(from); - } - - inline RemoveChannelLinkRequest& operator=(RemoveChannelLinkRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveChannelLinkRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RemoveChannelLinkRequest* internal_default_instance() { - return reinterpret_cast<const RemoveChannelLinkRequest*>( - &_RemoveChannelLinkRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 19; - - void Swap(RemoveChannelLinkRequest* other); - friend void swap(RemoveChannelLinkRequest& a, RemoveChannelLinkRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RemoveChannelLinkRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - RemoveChannelLinkRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const RemoveChannelLinkRequest& from); - void MergeFrom(const RemoveChannelLinkRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(RemoveChannelLinkRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.ChannelLink channel_link = 1; - bool has_channel_link() const; - void clear_channel_link(); - static const int kChannelLinkFieldNumber = 1; - const ::ModeliRpc::ChannelLink& channel_link() const; - ::ModeliRpc::ChannelLink* release_channel_link(); - ::ModeliRpc::ChannelLink* mutable_channel_link(); - void set_allocated_channel_link(::ModeliRpc::ChannelLink* channel_link); - - // @@protoc_insertion_point(class_scope:ModeliRpc.RemoveChannelLinkRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::ModeliRpc::ChannelLink* channel_link_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkRequestImpl(); -}; -// ------------------------------------------------------------------- - -class RemoveChannelLinkResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.RemoveChannelLinkResponse) */ { - public: - RemoveChannelLinkResponse(); - virtual ~RemoveChannelLinkResponse(); - - RemoveChannelLinkResponse(const RemoveChannelLinkResponse& from); - - inline RemoveChannelLinkResponse& operator=(const RemoveChannelLinkResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RemoveChannelLinkResponse(RemoveChannelLinkResponse&& from) noexcept - : RemoveChannelLinkResponse() { - *this = ::std::move(from); - } - - inline RemoveChannelLinkResponse& operator=(RemoveChannelLinkResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const RemoveChannelLinkResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RemoveChannelLinkResponse* internal_default_instance() { - return reinterpret_cast<const RemoveChannelLinkResponse*>( - &_RemoveChannelLinkResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 20; - - void Swap(RemoveChannelLinkResponse* other); - friend void swap(RemoveChannelLinkResponse& a, RemoveChannelLinkResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RemoveChannelLinkResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - RemoveChannelLinkResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const RemoveChannelLinkResponse& from); - void MergeFrom(const RemoveChannelLinkResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(RemoveChannelLinkResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // bool success = 1; - void clear_success(); - static const int kSuccessFieldNumber = 1; - bool success() const; - void set_success(bool value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.RemoveChannelLinkResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - bool success_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsRemoveChannelLinkResponseImpl(); -}; -// ------------------------------------------------------------------- - -class SetIntRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetIntRequest) */ { - public: - SetIntRequest(); - virtual ~SetIntRequest(); - - SetIntRequest(const SetIntRequest& from); - - inline SetIntRequest& operator=(const SetIntRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetIntRequest(SetIntRequest&& from) noexcept - : SetIntRequest() { - *this = ::std::move(from); - } - - inline SetIntRequest& operator=(SetIntRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetIntRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetIntRequest* internal_default_instance() { - return reinterpret_cast<const SetIntRequest*>( - &_SetIntRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 21; - - void Swap(SetIntRequest* other); - friend void swap(SetIntRequest& a, SetIntRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetIntRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetIntRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetIntRequest& from); - void MergeFrom(const SetIntRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetIntRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .ModeliRpc.IntValue int_value = 2; - int int_value_size() const; - void clear_int_value(); - static const int kIntValueFieldNumber = 2; - const ::ModeliRpc::IntValue& int_value(int index) const; - ::ModeliRpc::IntValue* mutable_int_value(int index); - ::ModeliRpc::IntValue* add_int_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >* - mutable_int_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >& - int_value() const; - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetIntRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue > int_value_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetIntResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetIntResponse) */ { - public: - SetIntResponse(); - virtual ~SetIntResponse(); - - SetIntResponse(const SetIntResponse& from); - - inline SetIntResponse& operator=(const SetIntResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetIntResponse(SetIntResponse&& from) noexcept - : SetIntResponse() { - *this = ::std::move(from); - } - - inline SetIntResponse& operator=(SetIntResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetIntResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetIntResponse* internal_default_instance() { - return reinterpret_cast<const SetIntResponse*>( - &_SetIntResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 22; - - void Swap(SetIntResponse* other); - friend void swap(SetIntResponse& a, SetIntResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetIntResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - SetIntResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetIntResponse& from); - void MergeFrom(const SetIntResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetIntResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetIntResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetIntResponseImpl(); -}; -// ------------------------------------------------------------------- - -class SetRealRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetRealRequest) */ { - public: - SetRealRequest(); - virtual ~SetRealRequest(); - - SetRealRequest(const SetRealRequest& from); - - inline SetRealRequest& operator=(const SetRealRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetRealRequest(SetRealRequest&& from) noexcept - : SetRealRequest() { - *this = ::std::move(from); - } - - inline SetRealRequest& operator=(SetRealRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetRealRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetRealRequest* internal_default_instance() { - return reinterpret_cast<const SetRealRequest*>( - &_SetRealRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 23; - - void Swap(SetRealRequest* other); - friend void swap(SetRealRequest& a, SetRealRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetRealRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetRealRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetRealRequest& from); - void MergeFrom(const SetRealRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetRealRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .ModeliRpc.RealValue real_value = 2; - int real_value_size() const; - void clear_real_value(); - static const int kRealValueFieldNumber = 2; - const ::ModeliRpc::RealValue& real_value(int index) const; - ::ModeliRpc::RealValue* mutable_real_value(int index); - ::ModeliRpc::RealValue* add_real_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >* - mutable_real_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >& - real_value() const; - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetRealRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue > real_value_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetRealResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetRealResponse) */ { - public: - SetRealResponse(); - virtual ~SetRealResponse(); - - SetRealResponse(const SetRealResponse& from); - - inline SetRealResponse& operator=(const SetRealResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetRealResponse(SetRealResponse&& from) noexcept - : SetRealResponse() { - *this = ::std::move(from); - } - - inline SetRealResponse& operator=(SetRealResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetRealResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetRealResponse* internal_default_instance() { - return reinterpret_cast<const SetRealResponse*>( - &_SetRealResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 24; - - void Swap(SetRealResponse* other); - friend void swap(SetRealResponse& a, SetRealResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetRealResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - SetRealResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetRealResponse& from); - void MergeFrom(const SetRealResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetRealResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetRealResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetRealResponseImpl(); -}; -// ------------------------------------------------------------------- - -class SetBoolRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetBoolRequest) */ { - public: - SetBoolRequest(); - virtual ~SetBoolRequest(); - - SetBoolRequest(const SetBoolRequest& from); - - inline SetBoolRequest& operator=(const SetBoolRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetBoolRequest(SetBoolRequest&& from) noexcept - : SetBoolRequest() { - *this = ::std::move(from); - } - - inline SetBoolRequest& operator=(SetBoolRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetBoolRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetBoolRequest* internal_default_instance() { - return reinterpret_cast<const SetBoolRequest*>( - &_SetBoolRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 25; - - void Swap(SetBoolRequest* other); - friend void swap(SetBoolRequest& a, SetBoolRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetBoolRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetBoolRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetBoolRequest& from); - void MergeFrom(const SetBoolRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetBoolRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .ModeliRpc.BoolValue bool_value = 2; - int bool_value_size() const; - void clear_bool_value(); - static const int kBoolValueFieldNumber = 2; - const ::ModeliRpc::BoolValue& bool_value(int index) const; - ::ModeliRpc::BoolValue* mutable_bool_value(int index); - ::ModeliRpc::BoolValue* add_bool_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >* - mutable_bool_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >& - bool_value() const; - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetBoolRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue > bool_value_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetBoolResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetBoolResponse) */ { - public: - SetBoolResponse(); - virtual ~SetBoolResponse(); - - SetBoolResponse(const SetBoolResponse& from); - - inline SetBoolResponse& operator=(const SetBoolResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetBoolResponse(SetBoolResponse&& from) noexcept - : SetBoolResponse() { - *this = ::std::move(from); - } - - inline SetBoolResponse& operator=(SetBoolResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetBoolResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetBoolResponse* internal_default_instance() { - return reinterpret_cast<const SetBoolResponse*>( - &_SetBoolResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 26; - - void Swap(SetBoolResponse* other); - friend void swap(SetBoolResponse& a, SetBoolResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetBoolResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - SetBoolResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetBoolResponse& from); - void MergeFrom(const SetBoolResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetBoolResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetBoolResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetBoolResponseImpl(); -}; -// ------------------------------------------------------------------- - -class SetStringRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetStringRequest) */ { - public: - SetStringRequest(); - virtual ~SetStringRequest(); - - SetStringRequest(const SetStringRequest& from); - - inline SetStringRequest& operator=(const SetStringRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetStringRequest(SetStringRequest&& from) noexcept - : SetStringRequest() { - *this = ::std::move(from); - } - - inline SetStringRequest& operator=(SetStringRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetStringRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetStringRequest* internal_default_instance() { - return reinterpret_cast<const SetStringRequest*>( - &_SetStringRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 27; - - void Swap(SetStringRequest* other); - friend void swap(SetStringRequest& a, SetStringRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetStringRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - SetStringRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetStringRequest& from); - void MergeFrom(const SetStringRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetStringRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .ModeliRpc.StringValue string_value = 2; - int string_value_size() const; - void clear_string_value(); - static const int kStringValueFieldNumber = 2; - const ::ModeliRpc::StringValue& string_value(int index) const; - ::ModeliRpc::StringValue* mutable_string_value(int index); - ::ModeliRpc::StringValue* add_string_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >* - mutable_string_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >& - string_value() const; - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetStringRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue > string_value_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringRequestImpl(); -}; -// ------------------------------------------------------------------- - -class SetStringResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.SetStringResponse) */ { - public: - SetStringResponse(); - virtual ~SetStringResponse(); - - SetStringResponse(const SetStringResponse& from); - - inline SetStringResponse& operator=(const SetStringResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SetStringResponse(SetStringResponse&& from) noexcept - : SetStringResponse() { - *this = ::std::move(from); - } - - inline SetStringResponse& operator=(SetStringResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const SetStringResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SetStringResponse* internal_default_instance() { - return reinterpret_cast<const SetStringResponse*>( - &_SetStringResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 28; - - void Swap(SetStringResponse* other); - friend void swap(SetStringResponse& a, SetStringResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SetStringResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - SetStringResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const SetStringResponse& from); - void MergeFrom(const SetStringResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(SetStringResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .ModeliRpc.Fmi2Status status = 1; - void clear_status(); - static const int kStatusFieldNumber = 1; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.SetStringResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsSetStringResponseImpl(); -}; -// ------------------------------------------------------------------- - -class NewValuesRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.NewValuesRequest) */ { - public: - NewValuesRequest(); - virtual ~NewValuesRequest(); - - NewValuesRequest(const NewValuesRequest& from); - - inline NewValuesRequest& operator=(const NewValuesRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NewValuesRequest(NewValuesRequest&& from) noexcept - : NewValuesRequest() { - *this = ::std::move(from); - } - - inline NewValuesRequest& operator=(NewValuesRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const NewValuesRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NewValuesRequest* internal_default_instance() { - return reinterpret_cast<const NewValuesRequest*>( - &_NewValuesRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 29; - - void Swap(NewValuesRequest* other); - friend void swap(NewValuesRequest& a, NewValuesRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NewValuesRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - NewValuesRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const NewValuesRequest& from); - void MergeFrom(const NewValuesRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(NewValuesRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.NewValuesRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesRequestImpl(); -}; -// ------------------------------------------------------------------- - -class NewValuesResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.NewValuesResponse) */ { - public: - NewValuesResponse(); - virtual ~NewValuesResponse(); - - NewValuesResponse(const NewValuesResponse& from); - - inline NewValuesResponse& operator=(const NewValuesResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NewValuesResponse(NewValuesResponse&& from) noexcept - : NewValuesResponse() { - *this = ::std::move(from); - } - - inline NewValuesResponse& operator=(NewValuesResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const NewValuesResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NewValuesResponse* internal_default_instance() { - return reinterpret_cast<const NewValuesResponse*>( - &_NewValuesResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 30; - - void Swap(NewValuesResponse* other); - friend void swap(NewValuesResponse& a, NewValuesResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NewValuesResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - NewValuesResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const NewValuesResponse& from); - void MergeFrom(const NewValuesResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(NewValuesResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated .ModeliRpc.IntValue int_value = 2; - int int_value_size() const; - void clear_int_value(); - static const int kIntValueFieldNumber = 2; - const ::ModeliRpc::IntValue& int_value(int index) const; - ::ModeliRpc::IntValue* mutable_int_value(int index); - ::ModeliRpc::IntValue* add_int_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >* - mutable_int_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >& - int_value() const; - - // repeated .ModeliRpc.RealValue real_value = 3; - int real_value_size() const; - void clear_real_value(); - static const int kRealValueFieldNumber = 3; - const ::ModeliRpc::RealValue& real_value(int index) const; - ::ModeliRpc::RealValue* mutable_real_value(int index); - ::ModeliRpc::RealValue* add_real_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >* - mutable_real_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >& - real_value() const; - - // repeated .ModeliRpc.BoolValue bool_value = 4; - int bool_value_size() const; - void clear_bool_value(); - static const int kBoolValueFieldNumber = 4; - const ::ModeliRpc::BoolValue& bool_value(int index) const; - ::ModeliRpc::BoolValue* mutable_bool_value(int index); - ::ModeliRpc::BoolValue* add_bool_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >* - mutable_bool_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >& - bool_value() const; - - // repeated .ModeliRpc.StringValue string_value = 5; - int string_value_size() const; - void clear_string_value(); - static const int kStringValueFieldNumber = 5; - const ::ModeliRpc::StringValue& string_value(int index) const; - ::ModeliRpc::StringValue* mutable_string_value(int index); - ::ModeliRpc::StringValue* add_string_value(); - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >* - mutable_string_value(); - const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >& - string_value() const; - - // string instance_name = 6; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 6; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // double timestamp = 1; - void clear_timestamp(); - static const int kTimestampFieldNumber = 1; - double timestamp() const; - void set_timestamp(double value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.NewValuesResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue > int_value_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue > real_value_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue > bool_value_; - ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue > string_value_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - double timestamp_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsNewValuesResponseImpl(); -}; -// ------------------------------------------------------------------- - -class LogRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.LogRequest) */ { - public: - LogRequest(); - virtual ~LogRequest(); - - LogRequest(const LogRequest& from); - - inline LogRequest& operator=(const LogRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LogRequest(LogRequest&& from) noexcept - : LogRequest() { - *this = ::std::move(from); - } - - inline LogRequest& operator=(LogRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const LogRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LogRequest* internal_default_instance() { - return reinterpret_cast<const LogRequest*>( - &_LogRequest_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 31; - - void Swap(LogRequest* other); - friend void swap(LogRequest& a, LogRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LogRequest* New() const PROTOBUF_FINAL { return New(NULL); } - - LogRequest* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const LogRequest& from); - void MergeFrom(const LogRequest& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(LogRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:ModeliRpc.LogRequest) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsLogRequestImpl(); -}; -// ------------------------------------------------------------------- - -class LogResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ModeliRpc.LogResponse) */ { - public: - LogResponse(); - virtual ~LogResponse(); - - LogResponse(const LogResponse& from); - - inline LogResponse& operator=(const LogResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LogResponse(LogResponse&& from) noexcept - : LogResponse() { - *this = ::std::move(from); - } - - inline LogResponse& operator=(LogResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor(); - static const LogResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LogResponse* internal_default_instance() { - return reinterpret_cast<const LogResponse*>( - &_LogResponse_default_instance_); - } - static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = - 32; - - void Swap(LogResponse* other); - friend void swap(LogResponse& a, LogResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LogResponse* New() const PROTOBUF_FINAL { return New(NULL); } - - LogResponse* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; - void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; - void CopyFrom(const LogResponse& from); - void MergeFrom(const LogResponse& from); - void Clear() PROTOBUF_FINAL; - bool IsInitialized() const PROTOBUF_FINAL; - - size_t ByteSizeLong() const PROTOBUF_FINAL; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; - int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const PROTOBUF_FINAL; - void InternalSwap(LogResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return NULL; - } - inline void* MaybeArenaPtr() const { - return NULL; - } - public: - - ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string instance_name = 1; - void clear_instance_name(); - static const int kInstanceNameFieldNumber = 1; - const ::std::string& instance_name() const; - void set_instance_name(const ::std::string& value); - #if LANG_CXX11 - void set_instance_name(::std::string&& value); - #endif - void set_instance_name(const char* value); - void set_instance_name(const char* value, size_t size); - ::std::string* mutable_instance_name(); - ::std::string* release_instance_name(); - void set_allocated_instance_name(::std::string* instance_name); - - // string message = 3; - void clear_message(); - static const int kMessageFieldNumber = 3; - const ::std::string& message() const; - void set_message(const ::std::string& value); - #if LANG_CXX11 - void set_message(::std::string&& value); - #endif - void set_message(const char* value); - void set_message(const char* value, size_t size); - ::std::string* mutable_message(); - ::std::string* release_message(); - void set_allocated_message(::std::string* message); - - // .ModeliRpc.Fmi2Status status = 2; - void clear_status(); - static const int kStatusFieldNumber = 2; - ::ModeliRpc::Fmi2Status status() const; - void set_status(::ModeliRpc::Fmi2Status value); - - // @@protoc_insertion_point(class_scope:ModeliRpc.LogResponse) - private: - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr instance_name_; - ::google::protobuf::internal::ArenaStringPtr message_; - int status_; - mutable int _cached_size_; - friend struct ::protobuf_ModeliRpc_2eproto::TableStruct; - friend void ::protobuf_ModeliRpc_2eproto::InitDefaultsLogResponseImpl(); -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// IntValue - -// uint32 value_ref = 1; -inline void IntValue::clear_value_ref() { - value_ref_ = 0u; -} -inline ::google::protobuf::uint32 IntValue::value_ref() const { - // @@protoc_insertion_point(field_get:ModeliRpc.IntValue.value_ref) - return value_ref_; -} -inline void IntValue::set_value_ref(::google::protobuf::uint32 value) { - - value_ref_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.IntValue.value_ref) -} - -// int32 value = 2; -inline void IntValue::clear_value() { - value_ = 0; -} -inline ::google::protobuf::int32 IntValue::value() const { - // @@protoc_insertion_point(field_get:ModeliRpc.IntValue.value) - return value_; -} -inline void IntValue::set_value(::google::protobuf::int32 value) { - - value_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.IntValue.value) -} - -// ------------------------------------------------------------------- - -// RealValue - -// uint32 value_ref = 1; -inline void RealValue::clear_value_ref() { - value_ref_ = 0u; -} -inline ::google::protobuf::uint32 RealValue::value_ref() const { - // @@protoc_insertion_point(field_get:ModeliRpc.RealValue.value_ref) - return value_ref_; -} -inline void RealValue::set_value_ref(::google::protobuf::uint32 value) { - - value_ref_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.RealValue.value_ref) -} - -// double value = 2; -inline void RealValue::clear_value() { - value_ = 0; -} -inline double RealValue::value() const { - // @@protoc_insertion_point(field_get:ModeliRpc.RealValue.value) - return value_; -} -inline void RealValue::set_value(double value) { - - value_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.RealValue.value) -} - -// ------------------------------------------------------------------- - -// BoolValue - -// uint32 value_ref = 1; -inline void BoolValue::clear_value_ref() { - value_ref_ = 0u; -} -inline ::google::protobuf::uint32 BoolValue::value_ref() const { - // @@protoc_insertion_point(field_get:ModeliRpc.BoolValue.value_ref) - return value_ref_; -} -inline void BoolValue::set_value_ref(::google::protobuf::uint32 value) { - - value_ref_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.BoolValue.value_ref) -} - -// int32 value = 2; -inline void BoolValue::clear_value() { - value_ = 0; -} -inline ::google::protobuf::int32 BoolValue::value() const { - // @@protoc_insertion_point(field_get:ModeliRpc.BoolValue.value) - return value_; -} -inline void BoolValue::set_value(::google::protobuf::int32 value) { - - value_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.BoolValue.value) -} - -// ------------------------------------------------------------------- - -// StringValue - -// uint32 value_ref = 1; -inline void StringValue::clear_value_ref() { - value_ref_ = 0u; -} -inline ::google::protobuf::uint32 StringValue::value_ref() const { - // @@protoc_insertion_point(field_get:ModeliRpc.StringValue.value_ref) - return value_ref_; -} -inline void StringValue::set_value_ref(::google::protobuf::uint32 value) { - - value_ref_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.StringValue.value_ref) -} - -// string value = 2; -inline void StringValue::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StringValue::value() const { - // @@protoc_insertion_point(field_get:ModeliRpc.StringValue.value) - return value_.GetNoArena(); -} -inline void StringValue::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.StringValue.value) -} -#if LANG_CXX11 -inline void StringValue::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.StringValue.value) -} -#endif -inline void StringValue::set_value(const char* value) { - GOOGLE_DCHECK(value != NULL); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.StringValue.value) -} -inline void StringValue::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.StringValue.value) -} -inline ::std::string* StringValue::mutable_value() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.StringValue.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StringValue::release_value() { - // @@protoc_insertion_point(field_release:ModeliRpc.StringValue.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StringValue::set_allocated_value(::std::string* value) { - if (value != NULL) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.StringValue.value) -} - -// ------------------------------------------------------------------- - -// ChannelLink - -// string master_instance_name = 1; -inline void ChannelLink::clear_master_instance_name() { - master_instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ChannelLink::master_instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.master_instance_name) - return master_instance_name_.GetNoArena(); -} -inline void ChannelLink::set_master_instance_name(const ::std::string& value) { - - master_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.master_instance_name) -} -#if LANG_CXX11 -inline void ChannelLink::set_master_instance_name(::std::string&& value) { - - master_instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.ChannelLink.master_instance_name) -} -#endif -inline void ChannelLink::set_master_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - master_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.ChannelLink.master_instance_name) -} -inline void ChannelLink::set_master_instance_name(const char* value, size_t size) { - - master_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.ChannelLink.master_instance_name) -} -inline ::std::string* ChannelLink::mutable_master_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.ChannelLink.master_instance_name) - return master_instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ChannelLink::release_master_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.ChannelLink.master_instance_name) - - return master_instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ChannelLink::set_allocated_master_instance_name(::std::string* master_instance_name) { - if (master_instance_name != NULL) { - - } else { - - } - master_instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), master_instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.ChannelLink.master_instance_name) -} - -// string slave_instance_name = 2; -inline void ChannelLink::clear_slave_instance_name() { - slave_instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ChannelLink::slave_instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.slave_instance_name) - return slave_instance_name_.GetNoArena(); -} -inline void ChannelLink::set_slave_instance_name(const ::std::string& value) { - - slave_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.slave_instance_name) -} -#if LANG_CXX11 -inline void ChannelLink::set_slave_instance_name(::std::string&& value) { - - slave_instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.ChannelLink.slave_instance_name) -} -#endif -inline void ChannelLink::set_slave_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - slave_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.ChannelLink.slave_instance_name) -} -inline void ChannelLink::set_slave_instance_name(const char* value, size_t size) { - - slave_instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.ChannelLink.slave_instance_name) -} -inline ::std::string* ChannelLink::mutable_slave_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.ChannelLink.slave_instance_name) - return slave_instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ChannelLink::release_slave_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.ChannelLink.slave_instance_name) - - return slave_instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ChannelLink::set_allocated_slave_instance_name(::std::string* slave_instance_name) { - if (slave_instance_name != NULL) { - - } else { - - } - slave_instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), slave_instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.ChannelLink.slave_instance_name) -} - -// uint32 master_vr = 3; -inline void ChannelLink::clear_master_vr() { - master_vr_ = 0u; -} -inline ::google::protobuf::uint32 ChannelLink::master_vr() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.master_vr) - return master_vr_; -} -inline void ChannelLink::set_master_vr(::google::protobuf::uint32 value) { - - master_vr_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.master_vr) -} - -// uint32 slave_vr = 4; -inline void ChannelLink::clear_slave_vr() { - slave_vr_ = 0u; -} -inline ::google::protobuf::uint32 ChannelLink::slave_vr() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.slave_vr) - return slave_vr_; -} -inline void ChannelLink::set_slave_vr(::google::protobuf::uint32 value) { - - slave_vr_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.slave_vr) -} - -// double factor = 5; -inline void ChannelLink::clear_factor() { - factor_ = 0; -} -inline double ChannelLink::factor() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.factor) - return factor_; -} -inline void ChannelLink::set_factor(double value) { - - factor_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.factor) -} - -// double offset = 6; -inline void ChannelLink::clear_offset() { - offset_ = 0; -} -inline double ChannelLink::offset() const { - // @@protoc_insertion_point(field_get:ModeliRpc.ChannelLink.offset) - return offset_; -} -inline void ChannelLink::set_offset(double value) { - - offset_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.ChannelLink.offset) -} - -// ------------------------------------------------------------------- - -// PlayRequest - -// ------------------------------------------------------------------- - -// PlayResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void PlayResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status PlayResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.PlayResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void PlayResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.PlayResponse.status) -} - -// ------------------------------------------------------------------- - -// PlayFastRequest - -// double time = 1; -inline void PlayFastRequest::clear_time() { - time_ = 0; -} -inline double PlayFastRequest::time() const { - // @@protoc_insertion_point(field_get:ModeliRpc.PlayFastRequest.time) - return time_; -} -inline void PlayFastRequest::set_time(double value) { - - time_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.PlayFastRequest.time) -} - -// ------------------------------------------------------------------- - -// PlayFastResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void PlayFastResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status PlayFastResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.PlayFastResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void PlayFastResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.PlayFastResponse.status) -} - -// ------------------------------------------------------------------- - -// PauseRequest - -// ------------------------------------------------------------------- - -// PauseResponse - -// ------------------------------------------------------------------- - -// StopRequest - -// ------------------------------------------------------------------- - -// StopResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void StopResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status StopResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.StopResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void StopResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.StopResponse.status) -} - -// ------------------------------------------------------------------- - -// AddFmuRequest - -// string instance_name = 1; -inline void AddFmuRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AddFmuRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.AddFmuRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void AddFmuRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.AddFmuRequest.instance_name) -} -#if LANG_CXX11 -inline void AddFmuRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.AddFmuRequest.instance_name) -} -#endif -inline void AddFmuRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.AddFmuRequest.instance_name) -} -inline void AddFmuRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.AddFmuRequest.instance_name) -} -inline ::std::string* AddFmuRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.AddFmuRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AddFmuRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.AddFmuRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AddFmuRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.AddFmuRequest.instance_name) -} - -// bytes chunk = 2; -inline void AddFmuRequest::clear_chunk() { - chunk_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AddFmuRequest::chunk() const { - // @@protoc_insertion_point(field_get:ModeliRpc.AddFmuRequest.chunk) - return chunk_.GetNoArena(); -} -inline void AddFmuRequest::set_chunk(const ::std::string& value) { - - chunk_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.AddFmuRequest.chunk) -} -#if LANG_CXX11 -inline void AddFmuRequest::set_chunk(::std::string&& value) { - - chunk_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.AddFmuRequest.chunk) -} -#endif -inline void AddFmuRequest::set_chunk(const char* value) { - GOOGLE_DCHECK(value != NULL); - - chunk_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.AddFmuRequest.chunk) -} -inline void AddFmuRequest::set_chunk(const void* value, size_t size) { - - chunk_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.AddFmuRequest.chunk) -} -inline ::std::string* AddFmuRequest::mutable_chunk() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.AddFmuRequest.chunk) - return chunk_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AddFmuRequest::release_chunk() { - // @@protoc_insertion_point(field_release:ModeliRpc.AddFmuRequest.chunk) - - return chunk_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AddFmuRequest::set_allocated_chunk(::std::string* chunk) { - if (chunk != NULL) { - - } else { - - } - chunk_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), chunk); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.AddFmuRequest.chunk) -} - -// ------------------------------------------------------------------- - -// AddFmuResponse - -// bool success = 1; -inline void AddFmuResponse::clear_success() { - success_ = false; -} -inline bool AddFmuResponse::success() const { - // @@protoc_insertion_point(field_get:ModeliRpc.AddFmuResponse.success) - return success_; -} -inline void AddFmuResponse::set_success(bool value) { - - success_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.AddFmuResponse.success) -} - -// ------------------------------------------------------------------- - -// RemoveFmuRequest - -// string instance_name = 1; -inline void RemoveFmuRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& RemoveFmuRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.RemoveFmuRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void RemoveFmuRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.RemoveFmuRequest.instance_name) -} -#if LANG_CXX11 -inline void RemoveFmuRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.RemoveFmuRequest.instance_name) -} -#endif -inline void RemoveFmuRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.RemoveFmuRequest.instance_name) -} -inline void RemoveFmuRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.RemoveFmuRequest.instance_name) -} -inline ::std::string* RemoveFmuRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.RemoveFmuRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* RemoveFmuRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.RemoveFmuRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void RemoveFmuRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.RemoveFmuRequest.instance_name) -} - -// ------------------------------------------------------------------- - -// RemoveFmuResponse - -// bool success = 1; -inline void RemoveFmuResponse::clear_success() { - success_ = false; -} -inline bool RemoveFmuResponse::success() const { - // @@protoc_insertion_point(field_get:ModeliRpc.RemoveFmuResponse.success) - return success_; -} -inline void RemoveFmuResponse::set_success(bool value) { - - success_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.RemoveFmuResponse.success) -} - -// ------------------------------------------------------------------- - -// AddChannelLinkRequest - -// .ModeliRpc.ChannelLink channel_link = 1; -inline bool AddChannelLinkRequest::has_channel_link() const { - return this != internal_default_instance() && channel_link_ != NULL; -} -inline void AddChannelLinkRequest::clear_channel_link() { - if (GetArenaNoVirtual() == NULL && channel_link_ != NULL) { - delete channel_link_; - } - channel_link_ = NULL; -} -inline const ::ModeliRpc::ChannelLink& AddChannelLinkRequest::channel_link() const { - const ::ModeliRpc::ChannelLink* p = channel_link_; - // @@protoc_insertion_point(field_get:ModeliRpc.AddChannelLinkRequest.channel_link) - return p != NULL ? *p : *reinterpret_cast<const ::ModeliRpc::ChannelLink*>( - &::ModeliRpc::_ChannelLink_default_instance_); -} -inline ::ModeliRpc::ChannelLink* AddChannelLinkRequest::release_channel_link() { - // @@protoc_insertion_point(field_release:ModeliRpc.AddChannelLinkRequest.channel_link) - - ::ModeliRpc::ChannelLink* temp = channel_link_; - channel_link_ = NULL; - return temp; -} -inline ::ModeliRpc::ChannelLink* AddChannelLinkRequest::mutable_channel_link() { - - if (channel_link_ == NULL) { - channel_link_ = new ::ModeliRpc::ChannelLink; - } - // @@protoc_insertion_point(field_mutable:ModeliRpc.AddChannelLinkRequest.channel_link) - return channel_link_; -} -inline void AddChannelLinkRequest::set_allocated_channel_link(::ModeliRpc::ChannelLink* channel_link) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == NULL) { - delete channel_link_; - } - if (channel_link) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - channel_link = ::google::protobuf::internal::GetOwnedMessage( - message_arena, channel_link, submessage_arena); - } - - } else { - - } - channel_link_ = channel_link; - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.AddChannelLinkRequest.channel_link) -} - -// ------------------------------------------------------------------- - -// AddChannelLinkResponse - -// bool success = 1; -inline void AddChannelLinkResponse::clear_success() { - success_ = false; -} -inline bool AddChannelLinkResponse::success() const { - // @@protoc_insertion_point(field_get:ModeliRpc.AddChannelLinkResponse.success) - return success_; -} -inline void AddChannelLinkResponse::set_success(bool value) { - - success_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.AddChannelLinkResponse.success) -} - -// ------------------------------------------------------------------- - -// RemoveChannelLinkRequest - -// .ModeliRpc.ChannelLink channel_link = 1; -inline bool RemoveChannelLinkRequest::has_channel_link() const { - return this != internal_default_instance() && channel_link_ != NULL; -} -inline void RemoveChannelLinkRequest::clear_channel_link() { - if (GetArenaNoVirtual() == NULL && channel_link_ != NULL) { - delete channel_link_; - } - channel_link_ = NULL; -} -inline const ::ModeliRpc::ChannelLink& RemoveChannelLinkRequest::channel_link() const { - const ::ModeliRpc::ChannelLink* p = channel_link_; - // @@protoc_insertion_point(field_get:ModeliRpc.RemoveChannelLinkRequest.channel_link) - return p != NULL ? *p : *reinterpret_cast<const ::ModeliRpc::ChannelLink*>( - &::ModeliRpc::_ChannelLink_default_instance_); -} -inline ::ModeliRpc::ChannelLink* RemoveChannelLinkRequest::release_channel_link() { - // @@protoc_insertion_point(field_release:ModeliRpc.RemoveChannelLinkRequest.channel_link) - - ::ModeliRpc::ChannelLink* temp = channel_link_; - channel_link_ = NULL; - return temp; -} -inline ::ModeliRpc::ChannelLink* RemoveChannelLinkRequest::mutable_channel_link() { - - if (channel_link_ == NULL) { - channel_link_ = new ::ModeliRpc::ChannelLink; - } - // @@protoc_insertion_point(field_mutable:ModeliRpc.RemoveChannelLinkRequest.channel_link) - return channel_link_; -} -inline void RemoveChannelLinkRequest::set_allocated_channel_link(::ModeliRpc::ChannelLink* channel_link) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == NULL) { - delete channel_link_; - } - if (channel_link) { - ::google::protobuf::Arena* submessage_arena = NULL; - if (message_arena != submessage_arena) { - channel_link = ::google::protobuf::internal::GetOwnedMessage( - message_arena, channel_link, submessage_arena); - } - - } else { - - } - channel_link_ = channel_link; - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.RemoveChannelLinkRequest.channel_link) -} - -// ------------------------------------------------------------------- - -// RemoveChannelLinkResponse - -// bool success = 1; -inline void RemoveChannelLinkResponse::clear_success() { - success_ = false; -} -inline bool RemoveChannelLinkResponse::success() const { - // @@protoc_insertion_point(field_get:ModeliRpc.RemoveChannelLinkResponse.success) - return success_; -} -inline void RemoveChannelLinkResponse::set_success(bool value) { - - success_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.RemoveChannelLinkResponse.success) -} - -// ------------------------------------------------------------------- - -// SetIntRequest - -// string instance_name = 1; -inline void SetIntRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetIntRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetIntRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void SetIntRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.SetIntRequest.instance_name) -} -#if LANG_CXX11 -inline void SetIntRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.SetIntRequest.instance_name) -} -#endif -inline void SetIntRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.SetIntRequest.instance_name) -} -inline void SetIntRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.SetIntRequest.instance_name) -} -inline ::std::string* SetIntRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetIntRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetIntRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.SetIntRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetIntRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.SetIntRequest.instance_name) -} - -// repeated .ModeliRpc.IntValue int_value = 2; -inline int SetIntRequest::int_value_size() const { - return int_value_.size(); -} -inline void SetIntRequest::clear_int_value() { - int_value_.Clear(); -} -inline const ::ModeliRpc::IntValue& SetIntRequest::int_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetIntRequest.int_value) - return int_value_.Get(index); -} -inline ::ModeliRpc::IntValue* SetIntRequest::mutable_int_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetIntRequest.int_value) - return int_value_.Mutable(index); -} -inline ::ModeliRpc::IntValue* SetIntRequest::add_int_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.SetIntRequest.int_value) - return int_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >* -SetIntRequest::mutable_int_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.SetIntRequest.int_value) - return &int_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >& -SetIntRequest::int_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.SetIntRequest.int_value) - return int_value_; -} - -// ------------------------------------------------------------------- - -// SetIntResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void SetIntResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status SetIntResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetIntResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void SetIntResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.SetIntResponse.status) -} - -// ------------------------------------------------------------------- - -// SetRealRequest - -// string instance_name = 1; -inline void SetRealRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetRealRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetRealRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void SetRealRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.SetRealRequest.instance_name) -} -#if LANG_CXX11 -inline void SetRealRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.SetRealRequest.instance_name) -} -#endif -inline void SetRealRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.SetRealRequest.instance_name) -} -inline void SetRealRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.SetRealRequest.instance_name) -} -inline ::std::string* SetRealRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetRealRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetRealRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.SetRealRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetRealRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.SetRealRequest.instance_name) -} - -// repeated .ModeliRpc.RealValue real_value = 2; -inline int SetRealRequest::real_value_size() const { - return real_value_.size(); -} -inline void SetRealRequest::clear_real_value() { - real_value_.Clear(); -} -inline const ::ModeliRpc::RealValue& SetRealRequest::real_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetRealRequest.real_value) - return real_value_.Get(index); -} -inline ::ModeliRpc::RealValue* SetRealRequest::mutable_real_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetRealRequest.real_value) - return real_value_.Mutable(index); -} -inline ::ModeliRpc::RealValue* SetRealRequest::add_real_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.SetRealRequest.real_value) - return real_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >* -SetRealRequest::mutable_real_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.SetRealRequest.real_value) - return &real_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >& -SetRealRequest::real_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.SetRealRequest.real_value) - return real_value_; -} - -// ------------------------------------------------------------------- - -// SetRealResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void SetRealResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status SetRealResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetRealResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void SetRealResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.SetRealResponse.status) -} - -// ------------------------------------------------------------------- - -// SetBoolRequest - -// string instance_name = 1; -inline void SetBoolRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetBoolRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetBoolRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void SetBoolRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.SetBoolRequest.instance_name) -} -#if LANG_CXX11 -inline void SetBoolRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.SetBoolRequest.instance_name) -} -#endif -inline void SetBoolRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.SetBoolRequest.instance_name) -} -inline void SetBoolRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.SetBoolRequest.instance_name) -} -inline ::std::string* SetBoolRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetBoolRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetBoolRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.SetBoolRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetBoolRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.SetBoolRequest.instance_name) -} - -// repeated .ModeliRpc.BoolValue bool_value = 2; -inline int SetBoolRequest::bool_value_size() const { - return bool_value_.size(); -} -inline void SetBoolRequest::clear_bool_value() { - bool_value_.Clear(); -} -inline const ::ModeliRpc::BoolValue& SetBoolRequest::bool_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetBoolRequest.bool_value) - return bool_value_.Get(index); -} -inline ::ModeliRpc::BoolValue* SetBoolRequest::mutable_bool_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetBoolRequest.bool_value) - return bool_value_.Mutable(index); -} -inline ::ModeliRpc::BoolValue* SetBoolRequest::add_bool_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.SetBoolRequest.bool_value) - return bool_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >* -SetBoolRequest::mutable_bool_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.SetBoolRequest.bool_value) - return &bool_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >& -SetBoolRequest::bool_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.SetBoolRequest.bool_value) - return bool_value_; -} - -// ------------------------------------------------------------------- - -// SetBoolResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void SetBoolResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status SetBoolResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetBoolResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void SetBoolResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.SetBoolResponse.status) -} - -// ------------------------------------------------------------------- - -// SetStringRequest - -// string instance_name = 1; -inline void SetStringRequest::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SetStringRequest::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetStringRequest.instance_name) - return instance_name_.GetNoArena(); -} -inline void SetStringRequest::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.SetStringRequest.instance_name) -} -#if LANG_CXX11 -inline void SetStringRequest::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.SetStringRequest.instance_name) -} -#endif -inline void SetStringRequest::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.SetStringRequest.instance_name) -} -inline void SetStringRequest::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.SetStringRequest.instance_name) -} -inline ::std::string* SetStringRequest::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetStringRequest.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SetStringRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.SetStringRequest.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SetStringRequest::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.SetStringRequest.instance_name) -} - -// repeated .ModeliRpc.StringValue string_value = 2; -inline int SetStringRequest::string_value_size() const { - return string_value_.size(); -} -inline void SetStringRequest::clear_string_value() { - string_value_.Clear(); -} -inline const ::ModeliRpc::StringValue& SetStringRequest::string_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetStringRequest.string_value) - return string_value_.Get(index); -} -inline ::ModeliRpc::StringValue* SetStringRequest::mutable_string_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.SetStringRequest.string_value) - return string_value_.Mutable(index); -} -inline ::ModeliRpc::StringValue* SetStringRequest::add_string_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.SetStringRequest.string_value) - return string_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >* -SetStringRequest::mutable_string_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.SetStringRequest.string_value) - return &string_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >& -SetStringRequest::string_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.SetStringRequest.string_value) - return string_value_; -} - -// ------------------------------------------------------------------- - -// SetStringResponse - -// .ModeliRpc.Fmi2Status status = 1; -inline void SetStringResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status SetStringResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.SetStringResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void SetStringResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.SetStringResponse.status) -} - -// ------------------------------------------------------------------- - -// NewValuesRequest - -// ------------------------------------------------------------------- - -// NewValuesResponse - -// double timestamp = 1; -inline void NewValuesResponse::clear_timestamp() { - timestamp_ = 0; -} -inline double NewValuesResponse::timestamp() const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.timestamp) - return timestamp_; -} -inline void NewValuesResponse::set_timestamp(double value) { - - timestamp_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.NewValuesResponse.timestamp) -} - -// repeated .ModeliRpc.IntValue int_value = 2; -inline int NewValuesResponse::int_value_size() const { - return int_value_.size(); -} -inline void NewValuesResponse::clear_int_value() { - int_value_.Clear(); -} -inline const ::ModeliRpc::IntValue& NewValuesResponse::int_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.int_value) - return int_value_.Get(index); -} -inline ::ModeliRpc::IntValue* NewValuesResponse::mutable_int_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.NewValuesResponse.int_value) - return int_value_.Mutable(index); -} -inline ::ModeliRpc::IntValue* NewValuesResponse::add_int_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.NewValuesResponse.int_value) - return int_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >* -NewValuesResponse::mutable_int_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.NewValuesResponse.int_value) - return &int_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::IntValue >& -NewValuesResponse::int_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.NewValuesResponse.int_value) - return int_value_; -} - -// repeated .ModeliRpc.RealValue real_value = 3; -inline int NewValuesResponse::real_value_size() const { - return real_value_.size(); -} -inline void NewValuesResponse::clear_real_value() { - real_value_.Clear(); -} -inline const ::ModeliRpc::RealValue& NewValuesResponse::real_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.real_value) - return real_value_.Get(index); -} -inline ::ModeliRpc::RealValue* NewValuesResponse::mutable_real_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.NewValuesResponse.real_value) - return real_value_.Mutable(index); -} -inline ::ModeliRpc::RealValue* NewValuesResponse::add_real_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.NewValuesResponse.real_value) - return real_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >* -NewValuesResponse::mutable_real_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.NewValuesResponse.real_value) - return &real_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::RealValue >& -NewValuesResponse::real_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.NewValuesResponse.real_value) - return real_value_; -} - -// repeated .ModeliRpc.BoolValue bool_value = 4; -inline int NewValuesResponse::bool_value_size() const { - return bool_value_.size(); -} -inline void NewValuesResponse::clear_bool_value() { - bool_value_.Clear(); -} -inline const ::ModeliRpc::BoolValue& NewValuesResponse::bool_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.bool_value) - return bool_value_.Get(index); -} -inline ::ModeliRpc::BoolValue* NewValuesResponse::mutable_bool_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.NewValuesResponse.bool_value) - return bool_value_.Mutable(index); -} -inline ::ModeliRpc::BoolValue* NewValuesResponse::add_bool_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.NewValuesResponse.bool_value) - return bool_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >* -NewValuesResponse::mutable_bool_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.NewValuesResponse.bool_value) - return &bool_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::BoolValue >& -NewValuesResponse::bool_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.NewValuesResponse.bool_value) - return bool_value_; -} - -// repeated .ModeliRpc.StringValue string_value = 5; -inline int NewValuesResponse::string_value_size() const { - return string_value_.size(); -} -inline void NewValuesResponse::clear_string_value() { - string_value_.Clear(); -} -inline const ::ModeliRpc::StringValue& NewValuesResponse::string_value(int index) const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.string_value) - return string_value_.Get(index); -} -inline ::ModeliRpc::StringValue* NewValuesResponse::mutable_string_value(int index) { - // @@protoc_insertion_point(field_mutable:ModeliRpc.NewValuesResponse.string_value) - return string_value_.Mutable(index); -} -inline ::ModeliRpc::StringValue* NewValuesResponse::add_string_value() { - // @@protoc_insertion_point(field_add:ModeliRpc.NewValuesResponse.string_value) - return string_value_.Add(); -} -inline ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >* -NewValuesResponse::mutable_string_value() { - // @@protoc_insertion_point(field_mutable_list:ModeliRpc.NewValuesResponse.string_value) - return &string_value_; -} -inline const ::google::protobuf::RepeatedPtrField< ::ModeliRpc::StringValue >& -NewValuesResponse::string_value() const { - // @@protoc_insertion_point(field_list:ModeliRpc.NewValuesResponse.string_value) - return string_value_; -} - -// string instance_name = 6; -inline void NewValuesResponse::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NewValuesResponse::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.NewValuesResponse.instance_name) - return instance_name_.GetNoArena(); -} -inline void NewValuesResponse::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.NewValuesResponse.instance_name) -} -#if LANG_CXX11 -inline void NewValuesResponse::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.NewValuesResponse.instance_name) -} -#endif -inline void NewValuesResponse::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.NewValuesResponse.instance_name) -} -inline void NewValuesResponse::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.NewValuesResponse.instance_name) -} -inline ::std::string* NewValuesResponse::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.NewValuesResponse.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NewValuesResponse::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.NewValuesResponse.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NewValuesResponse::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.NewValuesResponse.instance_name) -} - -// ------------------------------------------------------------------- - -// LogRequest - -// ------------------------------------------------------------------- - -// LogResponse - -// string instance_name = 1; -inline void LogResponse::clear_instance_name() { - instance_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& LogResponse::instance_name() const { - // @@protoc_insertion_point(field_get:ModeliRpc.LogResponse.instance_name) - return instance_name_.GetNoArena(); -} -inline void LogResponse::set_instance_name(const ::std::string& value) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.LogResponse.instance_name) -} -#if LANG_CXX11 -inline void LogResponse::set_instance_name(::std::string&& value) { - - instance_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.LogResponse.instance_name) -} -#endif -inline void LogResponse::set_instance_name(const char* value) { - GOOGLE_DCHECK(value != NULL); - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.LogResponse.instance_name) -} -inline void LogResponse::set_instance_name(const char* value, size_t size) { - - instance_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.LogResponse.instance_name) -} -inline ::std::string* LogResponse::mutable_instance_name() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.LogResponse.instance_name) - return instance_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LogResponse::release_instance_name() { - // @@protoc_insertion_point(field_release:ModeliRpc.LogResponse.instance_name) - - return instance_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void LogResponse::set_allocated_instance_name(::std::string* instance_name) { - if (instance_name != NULL) { - - } else { - - } - instance_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), instance_name); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.LogResponse.instance_name) -} - -// .ModeliRpc.Fmi2Status status = 2; -inline void LogResponse::clear_status() { - status_ = 0; -} -inline ::ModeliRpc::Fmi2Status LogResponse::status() const { - // @@protoc_insertion_point(field_get:ModeliRpc.LogResponse.status) - return static_cast< ::ModeliRpc::Fmi2Status >(status_); -} -inline void LogResponse::set_status(::ModeliRpc::Fmi2Status value) { - - status_ = value; - // @@protoc_insertion_point(field_set:ModeliRpc.LogResponse.status) -} - -// string message = 3; -inline void LogResponse::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& LogResponse::message() const { - // @@protoc_insertion_point(field_get:ModeliRpc.LogResponse.message) - return message_.GetNoArena(); -} -inline void LogResponse::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:ModeliRpc.LogResponse.message) -} -#if LANG_CXX11 -inline void LogResponse::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:ModeliRpc.LogResponse.message) -} -#endif -inline void LogResponse::set_message(const char* value) { - GOOGLE_DCHECK(value != NULL); - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:ModeliRpc.LogResponse.message) -} -inline void LogResponse::set_message(const char* value, size_t size) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast<const char*>(value), size)); - // @@protoc_insertion_point(field_set_pointer:ModeliRpc.LogResponse.message) -} -inline ::std::string* LogResponse::mutable_message() { - - // @@protoc_insertion_point(field_mutable:ModeliRpc.LogResponse.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LogResponse::release_message() { - // @@protoc_insertion_point(field_release:ModeliRpc.LogResponse.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void LogResponse::set_allocated_message(::std::string* message) { - if (message != NULL) { - - } else { - - } - message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); - // @@protoc_insertion_point(field_set_allocated:ModeliRpc.LogResponse.message) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace ModeliRpc - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::ModeliRpc::Fmi2Status> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ModeliRpc::Fmi2Status>() { - return ::ModeliRpc::Fmi2Status_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_ModeliRpc_2eproto__INCLUDED diff --git a/ModeliRpc_Cs/ModeliRpc.cs b/ModeliRpc_Cs/ModeliRpc.cs deleted file mode 100644 index 3530497e60460600f2f2016c5c899782a0730b15..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cs/ModeliRpc.cs +++ /dev/null @@ -1,4395 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ModeliRpc.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace ModeliRpc { - - /// <summary>Holder for reflection information generated from ModeliRpc.proto</summary> - public static partial class ModeliRpcReflection { - - #region Descriptor - /// <summary>File descriptor for ModeliRpc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ModeliRpcReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9Nb2RlbGlScGMucHJvdG8SCU1vZGVsaVJwYyIsCghJbnRWYWx1ZRIRCgl2", - "YWx1ZV9yZWYYASABKA0SDQoFdmFsdWUYAiABKAUiLQoJUmVhbFZhbHVlEhEK", - "CXZhbHVlX3JlZhgBIAEoDRINCgV2YWx1ZRgCIAEoASItCglCb29sVmFsdWUS", - "EQoJdmFsdWVfcmVmGAEgASgNEg0KBXZhbHVlGAIgASgFIi8KC1N0cmluZ1Zh", - "bHVlEhEKCXZhbHVlX3JlZhgBIAEoDRINCgV2YWx1ZRgCIAEoCSKNAQoLQ2hh", - "bm5lbExpbmsSHAoUbWFzdGVyX2luc3RhbmNlX25hbWUYASABKAkSGwoTc2xh", - "dmVfaW5zdGFuY2VfbmFtZRgCIAEoCRIRCgltYXN0ZXJfdnIYAyABKA0SEAoI", - "c2xhdmVfdnIYBCABKA0SDgoGZmFjdG9yGAUgASgBEg4KBm9mZnNldBgGIAEo", - "ASINCgtQbGF5UmVxdWVzdCI1CgxQbGF5UmVzcG9uc2USJQoGc3RhdHVzGAEg", - "ASgOMhUuTW9kZWxpUnBjLkZtaTJTdGF0dXMiHwoPUGxheUZhc3RSZXF1ZXN0", - "EgwKBHRpbWUYASABKAEiOQoQUGxheUZhc3RSZXNwb25zZRIlCgZzdGF0dXMY", - "ASABKA4yFS5Nb2RlbGlScGMuRm1pMlN0YXR1cyIOCgxQYXVzZVJlcXVlc3Qi", - "DwoNUGF1c2VSZXNwb25zZSINCgtTdG9wUmVxdWVzdCI1CgxTdG9wUmVzcG9u", - "c2USJQoGc3RhdHVzGAEgASgOMhUuTW9kZWxpUnBjLkZtaTJTdGF0dXMiNQoN", - "QWRkRm11UmVxdWVzdBIVCg1pbnN0YW5jZV9uYW1lGAEgASgJEg0KBWNodW5r", - "GAIgASgMIiEKDkFkZEZtdVJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgiKQoQ", - "UmVtb3ZlRm11UmVxdWVzdBIVCg1pbnN0YW5jZV9uYW1lGAEgASgJIiQKEVJl", - "bW92ZUZtdVJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgiRQoVQWRkQ2hhbm5l", - "bExpbmtSZXF1ZXN0EiwKDGNoYW5uZWxfbGluaxgBIAEoCzIWLk1vZGVsaVJw", - "Yy5DaGFubmVsTGluayIpChZBZGRDaGFubmVsTGlua1Jlc3BvbnNlEg8KB3N1", - "Y2Nlc3MYASABKAgiSAoYUmVtb3ZlQ2hhbm5lbExpbmtSZXF1ZXN0EiwKDGNo", - "YW5uZWxfbGluaxgBIAEoCzIWLk1vZGVsaVJwYy5DaGFubmVsTGluayIsChlS", - "ZW1vdmVDaGFubmVsTGlua1Jlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgiTgoN", - "U2V0SW50UmVxdWVzdBIVCg1pbnN0YW5jZV9uYW1lGAEgASgJEiYKCWludF92", - "YWx1ZRgCIAMoCzITLk1vZGVsaVJwYy5JbnRWYWx1ZSI3Cg5TZXRJbnRSZXNw", - "b25zZRIlCgZzdGF0dXMYASABKA4yFS5Nb2RlbGlScGMuRm1pMlN0YXR1cyJR", - "Cg5TZXRSZWFsUmVxdWVzdBIVCg1pbnN0YW5jZV9uYW1lGAEgASgJEigKCnJl", - "YWxfdmFsdWUYAiADKAsyFC5Nb2RlbGlScGMuUmVhbFZhbHVlIjgKD1NldFJl", - "YWxSZXNwb25zZRIlCgZzdGF0dXMYASABKA4yFS5Nb2RlbGlScGMuRm1pMlN0", - "YXR1cyJRCg5TZXRCb29sUmVxdWVzdBIVCg1pbnN0YW5jZV9uYW1lGAEgASgJ", - "EigKCmJvb2xfdmFsdWUYAiADKAsyFC5Nb2RlbGlScGMuQm9vbFZhbHVlIjgK", - "D1NldEJvb2xSZXNwb25zZRIlCgZzdGF0dXMYASABKA4yFS5Nb2RlbGlScGMu", - "Rm1pMlN0YXR1cyJXChBTZXRTdHJpbmdSZXF1ZXN0EhUKDWluc3RhbmNlX25h", - "bWUYASABKAkSLAoMc3RyaW5nX3ZhbHVlGAIgAygLMhYuTW9kZWxpUnBjLlN0", - "cmluZ1ZhbHVlIjoKEVNldFN0cmluZ1Jlc3BvbnNlEiUKBnN0YXR1cxgBIAEo", - "DjIVLk1vZGVsaVJwYy5GbWkyU3RhdHVzIhIKEE5ld1ZhbHVlc1JlcXVlc3Qi", - "5wEKEU5ld1ZhbHVlc1Jlc3BvbnNlEhEKCXRpbWVzdGFtcBgBIAEoARImCglp", - "bnRfdmFsdWUYAiADKAsyEy5Nb2RlbGlScGMuSW50VmFsdWUSKAoKcmVhbF92", - "YWx1ZRgDIAMoCzIULk1vZGVsaVJwYy5SZWFsVmFsdWUSKAoKYm9vbF92YWx1", - "ZRgEIAMoCzIULk1vZGVsaVJwYy5Cb29sVmFsdWUSLAoMc3RyaW5nX3ZhbHVl", - "GAUgAygLMhYuTW9kZWxpUnBjLlN0cmluZ1ZhbHVlEhUKDWluc3RhbmNlX25h", - "bWUYBiABKAkiDAoKTG9nUmVxdWVzdCJcCgtMb2dSZXNwb25zZRIVCg1pbnN0", - "YW5jZV9uYW1lGAEgASgJEiUKBnN0YXR1cxgCIAEoDjIVLk1vZGVsaVJwYy5G", - "bWkyU3RhdHVzEg8KB21lc3NhZ2UYAyABKAkqbwoKRm1pMlN0YXR1cxILCgdG", - "TUkyX09LEAASEAoMRk1JMl9XQVJOSU5HEAESEAoMRk1JMl9ESVNDQVJEEAIS", - "DgoKRk1JMl9FUlJPUhADEg4KCkZNSTJfRkFUQUwQBBIQCgxGTUkyX1BFTkRJ", - "TkcQBTLPBwoNTW9kZWxpQmFja2VuZBI3CgRQbGF5EhYuTW9kZWxpUnBjLlBs", - "YXlSZXF1ZXN0GhcuTW9kZWxpUnBjLlBsYXlSZXNwb25zZRJDCghQbGF5RmFz", - "dBIaLk1vZGVsaVJwYy5QbGF5RmFzdFJlcXVlc3QaGy5Nb2RlbGlScGMuUGxh", - "eUZhc3RSZXNwb25zZRI6CgVQYXVzZRIXLk1vZGVsaVJwYy5QYXVzZVJlcXVl", - "c3QaGC5Nb2RlbGlScGMuUGF1c2VSZXNwb25zZRI3CgRTdG9wEhYuTW9kZWxp", - "UnBjLlN0b3BSZXF1ZXN0GhcuTW9kZWxpUnBjLlN0b3BSZXNwb25zZRI/CgZB", - "ZGRGbXUSGC5Nb2RlbGlScGMuQWRkRm11UmVxdWVzdBoZLk1vZGVsaVJwYy5B", - "ZGRGbXVSZXNwb25zZSgBEkYKCVJlbW92ZUZtdRIbLk1vZGVsaVJwYy5SZW1v", - "dmVGbXVSZXF1ZXN0GhwuTW9kZWxpUnBjLlJlbW92ZUZtdVJlc3BvbnNlElUK", - "DkFkZENoYW5uZWxMaW5rEiAuTW9kZWxpUnBjLkFkZENoYW5uZWxMaW5rUmVx", - "dWVzdBohLk1vZGVsaVJwYy5BZGRDaGFubmVsTGlua1Jlc3BvbnNlEl4KEVJl", - "bW92ZUNoYW5uZWxMaW5rEiMuTW9kZWxpUnBjLlJlbW92ZUNoYW5uZWxMaW5r", - "UmVxdWVzdBokLk1vZGVsaVJwYy5SZW1vdmVDaGFubmVsTGlua1Jlc3BvbnNl", - "Ej0KBlNldEludBIYLk1vZGVsaVJwYy5TZXRJbnRSZXF1ZXN0GhkuTW9kZWxp", - "UnBjLlNldEludFJlc3BvbnNlEkAKB1NldFJlYWwSGS5Nb2RlbGlScGMuU2V0", - "UmVhbFJlcXVlc3QaGi5Nb2RlbGlScGMuU2V0UmVhbFJlc3BvbnNlEkAKB1Nl", - "dEJvb2wSGS5Nb2RlbGlScGMuU2V0Qm9vbFJlcXVlc3QaGi5Nb2RlbGlScGMu", - "U2V0Qm9vbFJlc3BvbnNlEkYKCVNldFN0cmluZxIbLk1vZGVsaVJwYy5TZXRT", - "dHJpbmdSZXF1ZXN0GhwuTW9kZWxpUnBjLlNldFN0cmluZ1Jlc3BvbnNlEkgK", - "CU5ld1ZhbHVlcxIbLk1vZGVsaVJwYy5OZXdWYWx1ZXNSZXF1ZXN0GhwuTW9k", - "ZWxpUnBjLk5ld1ZhbHVlc1Jlc3BvbnNlMAESNgoDTG9nEhUuTW9kZWxpUnBj", - "LkxvZ1JlcXVlc3QaFi5Nb2RlbGlScGMuTG9nUmVzcG9uc2UwAWIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ModeliRpc.Fmi2Status), }, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.IntValue), global::ModeliRpc.IntValue.Parser, new[]{ "ValueRef", "Value" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.RealValue), global::ModeliRpc.RealValue.Parser, new[]{ "ValueRef", "Value" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.BoolValue), global::ModeliRpc.BoolValue.Parser, new[]{ "ValueRef", "Value" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.StringValue), global::ModeliRpc.StringValue.Parser, new[]{ "ValueRef", "Value" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.ChannelLink), global::ModeliRpc.ChannelLink.Parser, new[]{ "MasterInstanceName", "SlaveInstanceName", "MasterVr", "SlaveVr", "Factor", "Offset" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PlayRequest), global::ModeliRpc.PlayRequest.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PlayResponse), global::ModeliRpc.PlayResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PlayFastRequest), global::ModeliRpc.PlayFastRequest.Parser, new[]{ "Time" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PlayFastResponse), global::ModeliRpc.PlayFastResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PauseRequest), global::ModeliRpc.PauseRequest.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.PauseResponse), global::ModeliRpc.PauseResponse.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.StopRequest), global::ModeliRpc.StopRequest.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.StopResponse), global::ModeliRpc.StopResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.AddFmuRequest), global::ModeliRpc.AddFmuRequest.Parser, new[]{ "InstanceName", "Chunk" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.AddFmuResponse), global::ModeliRpc.AddFmuResponse.Parser, new[]{ "Success" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.RemoveFmuRequest), global::ModeliRpc.RemoveFmuRequest.Parser, new[]{ "InstanceName" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.RemoveFmuResponse), global::ModeliRpc.RemoveFmuResponse.Parser, new[]{ "Success" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.AddChannelLinkRequest), global::ModeliRpc.AddChannelLinkRequest.Parser, new[]{ "ChannelLink" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.AddChannelLinkResponse), global::ModeliRpc.AddChannelLinkResponse.Parser, new[]{ "Success" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.RemoveChannelLinkRequest), global::ModeliRpc.RemoveChannelLinkRequest.Parser, new[]{ "ChannelLink" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.RemoveChannelLinkResponse), global::ModeliRpc.RemoveChannelLinkResponse.Parser, new[]{ "Success" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetIntRequest), global::ModeliRpc.SetIntRequest.Parser, new[]{ "InstanceName", "IntValue" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetIntResponse), global::ModeliRpc.SetIntResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetRealRequest), global::ModeliRpc.SetRealRequest.Parser, new[]{ "InstanceName", "RealValue" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetRealResponse), global::ModeliRpc.SetRealResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetBoolRequest), global::ModeliRpc.SetBoolRequest.Parser, new[]{ "InstanceName", "BoolValue" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetBoolResponse), global::ModeliRpc.SetBoolResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetStringRequest), global::ModeliRpc.SetStringRequest.Parser, new[]{ "InstanceName", "StringValue" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.SetStringResponse), global::ModeliRpc.SetStringResponse.Parser, new[]{ "Status" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.NewValuesRequest), global::ModeliRpc.NewValuesRequest.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.NewValuesResponse), global::ModeliRpc.NewValuesResponse.Parser, new[]{ "Timestamp", "IntValue", "RealValue", "BoolValue", "StringValue", "InstanceName" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.LogRequest), global::ModeliRpc.LogRequest.Parser, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::ModeliRpc.LogResponse), global::ModeliRpc.LogResponse.Parser, new[]{ "InstanceName", "Status", "Message" }, null, null, null) - })); - } - #endregion - - } - #region Enums - /// <summary> - /// From Fmi2Standard - /// </summary> - public enum Fmi2Status { - [pbr::OriginalName("FMI2_OK")] Fmi2Ok = 0, - [pbr::OriginalName("FMI2_WARNING")] Fmi2Warning = 1, - [pbr::OriginalName("FMI2_DISCARD")] Fmi2Discard = 2, - [pbr::OriginalName("FMI2_ERROR")] Fmi2Error = 3, - [pbr::OriginalName("FMI2_FATAL")] Fmi2Fatal = 4, - [pbr::OriginalName("FMI2_PENDING")] Fmi2Pending = 5, - } - - #endregion - - #region Messages - /// <summary> - /// Contains values from and for the fmu - /// </summary> - public sealed partial class IntValue : pb::IMessage<IntValue> { - private static readonly pb::MessageParser<IntValue> _parser = new pb::MessageParser<IntValue>(() => new IntValue()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<IntValue> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public IntValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public IntValue(IntValue other) : this() { - valueRef_ = other.valueRef_; - value_ = other.value_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public IntValue Clone() { - return new IntValue(this); - } - - /// <summary>Field number for the "value_ref" field.</summary> - public const int ValueRefFieldNumber = 1; - private uint valueRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ValueRef { - get { return valueRef_; } - set { - valueRef_ = value; - } - } - - /// <summary>Field number for the "value" field.</summary> - public const int ValueFieldNumber = 2; - private int value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Value { - get { return value_; } - set { - value_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as IntValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(IntValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ValueRef != other.ValueRef) return false; - if (Value != other.Value) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (ValueRef != 0) hash ^= ValueRef.GetHashCode(); - if (Value != 0) hash ^= Value.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (ValueRef != 0) { - output.WriteRawTag(8); - output.WriteUInt32(ValueRef); - } - if (Value != 0) { - output.WriteRawTag(16); - output.WriteInt32(Value); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (ValueRef != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ValueRef); - } - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(IntValue other) { - if (other == null) { - return; - } - if (other.ValueRef != 0) { - ValueRef = other.ValueRef; - } - if (other.Value != 0) { - Value = other.Value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - ValueRef = input.ReadUInt32(); - break; - } - case 16: { - Value = input.ReadInt32(); - break; - } - } - } - } - - } - - public sealed partial class RealValue : pb::IMessage<RealValue> { - private static readonly pb::MessageParser<RealValue> _parser = new pb::MessageParser<RealValue>(() => new RealValue()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<RealValue> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RealValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RealValue(RealValue other) : this() { - valueRef_ = other.valueRef_; - value_ = other.value_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RealValue Clone() { - return new RealValue(this); - } - - /// <summary>Field number for the "value_ref" field.</summary> - public const int ValueRefFieldNumber = 1; - private uint valueRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ValueRef { - get { return valueRef_; } - set { - valueRef_ = value; - } - } - - /// <summary>Field number for the "value" field.</summary> - public const int ValueFieldNumber = 2; - private double value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Value { - get { return value_; } - set { - value_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RealValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RealValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ValueRef != other.ValueRef) return false; - if (Value != other.Value) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (ValueRef != 0) hash ^= ValueRef.GetHashCode(); - if (Value != 0D) hash ^= Value.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (ValueRef != 0) { - output.WriteRawTag(8); - output.WriteUInt32(ValueRef); - } - if (Value != 0D) { - output.WriteRawTag(17); - output.WriteDouble(Value); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (ValueRef != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ValueRef); - } - if (Value != 0D) { - size += 1 + 8; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RealValue other) { - if (other == null) { - return; - } - if (other.ValueRef != 0) { - ValueRef = other.ValueRef; - } - if (other.Value != 0D) { - Value = other.Value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - ValueRef = input.ReadUInt32(); - break; - } - case 17: { - Value = input.ReadDouble(); - break; - } - } - } - } - - } - - public sealed partial class BoolValue : pb::IMessage<BoolValue> { - private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<BoolValue> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BoolValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BoolValue(BoolValue other) : this() { - valueRef_ = other.valueRef_; - value_ = other.value_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public BoolValue Clone() { - return new BoolValue(this); - } - - /// <summary>Field number for the "value_ref" field.</summary> - public const int ValueRefFieldNumber = 1; - private uint valueRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ValueRef { - get { return valueRef_; } - set { - valueRef_ = value; - } - } - - /// <summary>Field number for the "value" field.</summary> - public const int ValueFieldNumber = 2; - private int value_; - /// <summary> - /// Fmi2 standard encodes bools as int (1: true, 0: false) - /// </summary> - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Value { - get { return value_; } - set { - value_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as BoolValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(BoolValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ValueRef != other.ValueRef) return false; - if (Value != other.Value) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (ValueRef != 0) hash ^= ValueRef.GetHashCode(); - if (Value != 0) hash ^= Value.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (ValueRef != 0) { - output.WriteRawTag(8); - output.WriteUInt32(ValueRef); - } - if (Value != 0) { - output.WriteRawTag(16); - output.WriteInt32(Value); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (ValueRef != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ValueRef); - } - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(BoolValue other) { - if (other == null) { - return; - } - if (other.ValueRef != 0) { - ValueRef = other.ValueRef; - } - if (other.Value != 0) { - Value = other.Value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - ValueRef = input.ReadUInt32(); - break; - } - case 16: { - Value = input.ReadInt32(); - break; - } - } - } - } - - } - - public sealed partial class StringValue : pb::IMessage<StringValue> { - private static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() => new StringValue()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StringValue> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[3]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StringValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StringValue(StringValue other) : this() { - valueRef_ = other.valueRef_; - value_ = other.value_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StringValue Clone() { - return new StringValue(this); - } - - /// <summary>Field number for the "value_ref" field.</summary> - public const int ValueRefFieldNumber = 1; - private uint valueRef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ValueRef { - get { return valueRef_; } - set { - valueRef_ = value; - } - } - - /// <summary>Field number for the "value" field.</summary> - public const int ValueFieldNumber = 2; - private string value_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Value { - get { return value_; } - set { - value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StringValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StringValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ValueRef != other.ValueRef) return false; - if (Value != other.Value) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (ValueRef != 0) hash ^= ValueRef.GetHashCode(); - if (Value.Length != 0) hash ^= Value.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (ValueRef != 0) { - output.WriteRawTag(8); - output.WriteUInt32(ValueRef); - } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Value); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (ValueRef != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ValueRef); - } - if (Value.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StringValue other) { - if (other == null) { - return; - } - if (other.ValueRef != 0) { - ValueRef = other.ValueRef; - } - if (other.Value.Length != 0) { - Value = other.Value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - ValueRef = input.ReadUInt32(); - break; - } - case 18: { - Value = input.ReadString(); - break; - } - } - } - } - - } - - /// <summary> - /// The metadata of a ChannelLink - /// </summary> - public sealed partial class ChannelLink : pb::IMessage<ChannelLink> { - private static readonly pb::MessageParser<ChannelLink> _parser = new pb::MessageParser<ChannelLink>(() => new ChannelLink()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<ChannelLink> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ChannelLink() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ChannelLink(ChannelLink other) : this() { - masterInstanceName_ = other.masterInstanceName_; - slaveInstanceName_ = other.slaveInstanceName_; - masterVr_ = other.masterVr_; - slaveVr_ = other.slaveVr_; - factor_ = other.factor_; - offset_ = other.offset_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ChannelLink Clone() { - return new ChannelLink(this); - } - - /// <summary>Field number for the "master_instance_name" field.</summary> - public const int MasterInstanceNameFieldNumber = 1; - private string masterInstanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string MasterInstanceName { - get { return masterInstanceName_; } - set { - masterInstanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "slave_instance_name" field.</summary> - public const int SlaveInstanceNameFieldNumber = 2; - private string slaveInstanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string SlaveInstanceName { - get { return slaveInstanceName_; } - set { - slaveInstanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "master_vr" field.</summary> - public const int MasterVrFieldNumber = 3; - private uint masterVr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint MasterVr { - get { return masterVr_; } - set { - masterVr_ = value; - } - } - - /// <summary>Field number for the "slave_vr" field.</summary> - public const int SlaveVrFieldNumber = 4; - private uint slaveVr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint SlaveVr { - get { return slaveVr_; } - set { - slaveVr_ = value; - } - } - - /// <summary>Field number for the "factor" field.</summary> - public const int FactorFieldNumber = 5; - private double factor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Factor { - get { return factor_; } - set { - factor_ = value; - } - } - - /// <summary>Field number for the "offset" field.</summary> - public const int OffsetFieldNumber = 6; - private double offset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Offset { - get { return offset_; } - set { - offset_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as ChannelLink); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ChannelLink other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MasterInstanceName != other.MasterInstanceName) return false; - if (SlaveInstanceName != other.SlaveInstanceName) return false; - if (MasterVr != other.MasterVr) return false; - if (SlaveVr != other.SlaveVr) return false; - if (Factor != other.Factor) return false; - if (Offset != other.Offset) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (MasterInstanceName.Length != 0) hash ^= MasterInstanceName.GetHashCode(); - if (SlaveInstanceName.Length != 0) hash ^= SlaveInstanceName.GetHashCode(); - if (MasterVr != 0) hash ^= MasterVr.GetHashCode(); - if (SlaveVr != 0) hash ^= SlaveVr.GetHashCode(); - if (Factor != 0D) hash ^= Factor.GetHashCode(); - if (Offset != 0D) hash ^= Offset.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (MasterInstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(MasterInstanceName); - } - if (SlaveInstanceName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SlaveInstanceName); - } - if (MasterVr != 0) { - output.WriteRawTag(24); - output.WriteUInt32(MasterVr); - } - if (SlaveVr != 0) { - output.WriteRawTag(32); - output.WriteUInt32(SlaveVr); - } - if (Factor != 0D) { - output.WriteRawTag(41); - output.WriteDouble(Factor); - } - if (Offset != 0D) { - output.WriteRawTag(49); - output.WriteDouble(Offset); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (MasterInstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MasterInstanceName); - } - if (SlaveInstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SlaveInstanceName); - } - if (MasterVr != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MasterVr); - } - if (SlaveVr != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SlaveVr); - } - if (Factor != 0D) { - size += 1 + 8; - } - if (Offset != 0D) { - size += 1 + 8; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ChannelLink other) { - if (other == null) { - return; - } - if (other.MasterInstanceName.Length != 0) { - MasterInstanceName = other.MasterInstanceName; - } - if (other.SlaveInstanceName.Length != 0) { - SlaveInstanceName = other.SlaveInstanceName; - } - if (other.MasterVr != 0) { - MasterVr = other.MasterVr; - } - if (other.SlaveVr != 0) { - SlaveVr = other.SlaveVr; - } - if (other.Factor != 0D) { - Factor = other.Factor; - } - if (other.Offset != 0D) { - Offset = other.Offset; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - MasterInstanceName = input.ReadString(); - break; - } - case 18: { - SlaveInstanceName = input.ReadString(); - break; - } - case 24: { - MasterVr = input.ReadUInt32(); - break; - } - case 32: { - SlaveVr = input.ReadUInt32(); - break; - } - case 41: { - Factor = input.ReadDouble(); - break; - } - case 49: { - Offset = input.ReadDouble(); - break; - } - } - } - } - - } - - /// <summary> - /// Request & Response definitions - /// </summary> - public sealed partial class PlayRequest : pb::IMessage<PlayRequest> { - private static readonly pb::MessageParser<PlayRequest> _parser = new pb::MessageParser<PlayRequest>(() => new PlayRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PlayRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[5]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayRequest(PlayRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayRequest Clone() { - return new PlayRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PlayRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class PlayResponse : pb::IMessage<PlayResponse> { - private static readonly pb::MessageParser<PlayResponse> _parser = new pb::MessageParser<PlayResponse>(() => new PlayResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PlayResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[6]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayResponse(PlayResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayResponse Clone() { - return new PlayResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PlayResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class PlayFastRequest : pb::IMessage<PlayFastRequest> { - private static readonly pb::MessageParser<PlayFastRequest> _parser = new pb::MessageParser<PlayFastRequest>(() => new PlayFastRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PlayFastRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[7]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastRequest(PlayFastRequest other) : this() { - time_ = other.time_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastRequest Clone() { - return new PlayFastRequest(this); - } - - /// <summary>Field number for the "time" field.</summary> - public const int TimeFieldNumber = 1; - private double time_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Time { - get { return time_; } - set { - time_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PlayFastRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayFastRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Time != other.Time) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Time != 0D) hash ^= Time.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Time != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Time); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Time != 0D) { - size += 1 + 8; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayFastRequest other) { - if (other == null) { - return; - } - if (other.Time != 0D) { - Time = other.Time; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 9: { - Time = input.ReadDouble(); - break; - } - } - } - } - - } - - public sealed partial class PlayFastResponse : pb::IMessage<PlayFastResponse> { - private static readonly pb::MessageParser<PlayFastResponse> _parser = new pb::MessageParser<PlayFastResponse>(() => new PlayFastResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PlayFastResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[8]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastResponse(PlayFastResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PlayFastResponse Clone() { - return new PlayFastResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PlayFastResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PlayFastResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PlayFastResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class PauseRequest : pb::IMessage<PauseRequest> { - private static readonly pb::MessageParser<PauseRequest> _parser = new pb::MessageParser<PauseRequest>(() => new PauseRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PauseRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[9]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseRequest(PauseRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseRequest Clone() { - return new PauseRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PauseRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PauseRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PauseRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class PauseResponse : pb::IMessage<PauseResponse> { - private static readonly pb::MessageParser<PauseResponse> _parser = new pb::MessageParser<PauseResponse>(() => new PauseResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PauseResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[10]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseResponse(PauseResponse other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PauseResponse Clone() { - return new PauseResponse(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PauseResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PauseResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PauseResponse other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class StopRequest : pb::IMessage<StopRequest> { - private static readonly pb::MessageParser<StopRequest> _parser = new pb::MessageParser<StopRequest>(() => new StopRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StopRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[11]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopRequest(StopRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopRequest Clone() { - return new StopRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StopRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class StopResponse : pb::IMessage<StopResponse> { - private static readonly pb::MessageParser<StopResponse> _parser = new pb::MessageParser<StopResponse>(() => new StopResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StopResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[12]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopResponse(StopResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StopResponse Clone() { - return new StopResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StopResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StopResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StopResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class AddFmuRequest : pb::IMessage<AddFmuRequest> { - private static readonly pb::MessageParser<AddFmuRequest> _parser = new pb::MessageParser<AddFmuRequest>(() => new AddFmuRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<AddFmuRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[13]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuRequest(AddFmuRequest other) : this() { - instanceName_ = other.instanceName_; - chunk_ = other.chunk_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuRequest Clone() { - return new AddFmuRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "chunk" field.</summary> - public const int ChunkFieldNumber = 2; - private pb::ByteString chunk_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pb::ByteString Chunk { - get { return chunk_; } - set { - chunk_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as AddFmuRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AddFmuRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if (Chunk != other.Chunk) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - if (Chunk.Length != 0) hash ^= Chunk.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - if (Chunk.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Chunk); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - if (Chunk.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Chunk); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AddFmuRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - if (other.Chunk.Length != 0) { - Chunk = other.Chunk; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 18: { - Chunk = input.ReadBytes(); - break; - } - } - } - } - - } - - public sealed partial class AddFmuResponse : pb::IMessage<AddFmuResponse> { - private static readonly pb::MessageParser<AddFmuResponse> _parser = new pb::MessageParser<AddFmuResponse>(() => new AddFmuResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<AddFmuResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[14]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuResponse(AddFmuResponse other) : this() { - success_ = other.success_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddFmuResponse Clone() { - return new AddFmuResponse(this); - } - - /// <summary>Field number for the "success" field.</summary> - public const int SuccessFieldNumber = 1; - private bool success_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Success { - get { return success_; } - set { - success_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as AddFmuResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AddFmuResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Success != other.Success) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Success != false) hash ^= Success.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Success != false) { - output.WriteRawTag(8); - output.WriteBool(Success); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Success != false) { - size += 1 + 1; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AddFmuResponse other) { - if (other == null) { - return; - } - if (other.Success != false) { - Success = other.Success; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Success = input.ReadBool(); - break; - } - } - } - } - - } - - public sealed partial class RemoveFmuRequest : pb::IMessage<RemoveFmuRequest> { - private static readonly pb::MessageParser<RemoveFmuRequest> _parser = new pb::MessageParser<RemoveFmuRequest>(() => new RemoveFmuRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<RemoveFmuRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[15]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuRequest(RemoveFmuRequest other) : this() { - instanceName_ = other.instanceName_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuRequest Clone() { - return new RemoveFmuRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RemoveFmuRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RemoveFmuRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RemoveFmuRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - } - } - } - - } - - public sealed partial class RemoveFmuResponse : pb::IMessage<RemoveFmuResponse> { - private static readonly pb::MessageParser<RemoveFmuResponse> _parser = new pb::MessageParser<RemoveFmuResponse>(() => new RemoveFmuResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<RemoveFmuResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[16]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuResponse(RemoveFmuResponse other) : this() { - success_ = other.success_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveFmuResponse Clone() { - return new RemoveFmuResponse(this); - } - - /// <summary>Field number for the "success" field.</summary> - public const int SuccessFieldNumber = 1; - private bool success_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Success { - get { return success_; } - set { - success_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RemoveFmuResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RemoveFmuResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Success != other.Success) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Success != false) hash ^= Success.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Success != false) { - output.WriteRawTag(8); - output.WriteBool(Success); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Success != false) { - size += 1 + 1; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RemoveFmuResponse other) { - if (other == null) { - return; - } - if (other.Success != false) { - Success = other.Success; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Success = input.ReadBool(); - break; - } - } - } - } - - } - - public sealed partial class AddChannelLinkRequest : pb::IMessage<AddChannelLinkRequest> { - private static readonly pb::MessageParser<AddChannelLinkRequest> _parser = new pb::MessageParser<AddChannelLinkRequest>(() => new AddChannelLinkRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<AddChannelLinkRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[17]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkRequest(AddChannelLinkRequest other) : this() { - ChannelLink = other.channelLink_ != null ? other.ChannelLink.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkRequest Clone() { - return new AddChannelLinkRequest(this); - } - - /// <summary>Field number for the "channel_link" field.</summary> - public const int ChannelLinkFieldNumber = 1; - private global::ModeliRpc.ChannelLink channelLink_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.ChannelLink ChannelLink { - get { return channelLink_; } - set { - channelLink_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as AddChannelLinkRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AddChannelLinkRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(ChannelLink, other.ChannelLink)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (channelLink_ != null) hash ^= ChannelLink.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (channelLink_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ChannelLink); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (channelLink_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChannelLink); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AddChannelLinkRequest other) { - if (other == null) { - return; - } - if (other.channelLink_ != null) { - if (channelLink_ == null) { - channelLink_ = new global::ModeliRpc.ChannelLink(); - } - ChannelLink.MergeFrom(other.ChannelLink); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - if (channelLink_ == null) { - channelLink_ = new global::ModeliRpc.ChannelLink(); - } - input.ReadMessage(channelLink_); - break; - } - } - } - } - - } - - public sealed partial class AddChannelLinkResponse : pb::IMessage<AddChannelLinkResponse> { - private static readonly pb::MessageParser<AddChannelLinkResponse> _parser = new pb::MessageParser<AddChannelLinkResponse>(() => new AddChannelLinkResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<AddChannelLinkResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[18]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkResponse(AddChannelLinkResponse other) : this() { - success_ = other.success_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public AddChannelLinkResponse Clone() { - return new AddChannelLinkResponse(this); - } - - /// <summary>Field number for the "success" field.</summary> - public const int SuccessFieldNumber = 1; - private bool success_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Success { - get { return success_; } - set { - success_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as AddChannelLinkResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(AddChannelLinkResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Success != other.Success) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Success != false) hash ^= Success.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Success != false) { - output.WriteRawTag(8); - output.WriteBool(Success); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Success != false) { - size += 1 + 1; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(AddChannelLinkResponse other) { - if (other == null) { - return; - } - if (other.Success != false) { - Success = other.Success; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Success = input.ReadBool(); - break; - } - } - } - } - - } - - public sealed partial class RemoveChannelLinkRequest : pb::IMessage<RemoveChannelLinkRequest> { - private static readonly pb::MessageParser<RemoveChannelLinkRequest> _parser = new pb::MessageParser<RemoveChannelLinkRequest>(() => new RemoveChannelLinkRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<RemoveChannelLinkRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[19]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkRequest(RemoveChannelLinkRequest other) : this() { - ChannelLink = other.channelLink_ != null ? other.ChannelLink.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkRequest Clone() { - return new RemoveChannelLinkRequest(this); - } - - /// <summary>Field number for the "channel_link" field.</summary> - public const int ChannelLinkFieldNumber = 1; - private global::ModeliRpc.ChannelLink channelLink_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.ChannelLink ChannelLink { - get { return channelLink_; } - set { - channelLink_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RemoveChannelLinkRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RemoveChannelLinkRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(ChannelLink, other.ChannelLink)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (channelLink_ != null) hash ^= ChannelLink.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (channelLink_ != null) { - output.WriteRawTag(10); - output.WriteMessage(ChannelLink); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (channelLink_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChannelLink); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RemoveChannelLinkRequest other) { - if (other == null) { - return; - } - if (other.channelLink_ != null) { - if (channelLink_ == null) { - channelLink_ = new global::ModeliRpc.ChannelLink(); - } - ChannelLink.MergeFrom(other.ChannelLink); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - if (channelLink_ == null) { - channelLink_ = new global::ModeliRpc.ChannelLink(); - } - input.ReadMessage(channelLink_); - break; - } - } - } - } - - } - - public sealed partial class RemoveChannelLinkResponse : pb::IMessage<RemoveChannelLinkResponse> { - private static readonly pb::MessageParser<RemoveChannelLinkResponse> _parser = new pb::MessageParser<RemoveChannelLinkResponse>(() => new RemoveChannelLinkResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<RemoveChannelLinkResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[20]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkResponse(RemoveChannelLinkResponse other) : this() { - success_ = other.success_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public RemoveChannelLinkResponse Clone() { - return new RemoveChannelLinkResponse(this); - } - - /// <summary>Field number for the "success" field.</summary> - public const int SuccessFieldNumber = 1; - private bool success_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Success { - get { return success_; } - set { - success_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as RemoveChannelLinkResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(RemoveChannelLinkResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Success != other.Success) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Success != false) hash ^= Success.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Success != false) { - output.WriteRawTag(8); - output.WriteBool(Success); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Success != false) { - size += 1 + 1; - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(RemoveChannelLinkResponse other) { - if (other == null) { - return; - } - if (other.Success != false) { - Success = other.Success; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Success = input.ReadBool(); - break; - } - } - } - } - - } - - public sealed partial class SetIntRequest : pb::IMessage<SetIntRequest> { - private static readonly pb::MessageParser<SetIntRequest> _parser = new pb::MessageParser<SetIntRequest>(() => new SetIntRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetIntRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[21]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntRequest(SetIntRequest other) : this() { - instanceName_ = other.instanceName_; - intValue_ = other.intValue_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntRequest Clone() { - return new SetIntRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "int_value" field.</summary> - public const int IntValueFieldNumber = 2; - private static readonly pb::FieldCodec<global::ModeliRpc.IntValue> _repeated_intValue_codec - = pb::FieldCodec.ForMessage(18, global::ModeliRpc.IntValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.IntValue> intValue_ = new pbc::RepeatedField<global::ModeliRpc.IntValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.IntValue> IntValue { - get { return intValue_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetIntRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetIntRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if(!intValue_.Equals(other.intValue_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - hash ^= intValue_.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - intValue_.WriteTo(output, _repeated_intValue_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - size += intValue_.CalculateSize(_repeated_intValue_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetIntRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - intValue_.Add(other.intValue_); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 18: { - intValue_.AddEntriesFrom(input, _repeated_intValue_codec); - break; - } - } - } - } - - } - - public sealed partial class SetIntResponse : pb::IMessage<SetIntResponse> { - private static readonly pb::MessageParser<SetIntResponse> _parser = new pb::MessageParser<SetIntResponse>(() => new SetIntResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetIntResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[22]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntResponse(SetIntResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetIntResponse Clone() { - return new SetIntResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetIntResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetIntResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetIntResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class SetRealRequest : pb::IMessage<SetRealRequest> { - private static readonly pb::MessageParser<SetRealRequest> _parser = new pb::MessageParser<SetRealRequest>(() => new SetRealRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetRealRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[23]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealRequest(SetRealRequest other) : this() { - instanceName_ = other.instanceName_; - realValue_ = other.realValue_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealRequest Clone() { - return new SetRealRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "real_value" field.</summary> - public const int RealValueFieldNumber = 2; - private static readonly pb::FieldCodec<global::ModeliRpc.RealValue> _repeated_realValue_codec - = pb::FieldCodec.ForMessage(18, global::ModeliRpc.RealValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.RealValue> realValue_ = new pbc::RepeatedField<global::ModeliRpc.RealValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.RealValue> RealValue { - get { return realValue_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetRealRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetRealRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if(!realValue_.Equals(other.realValue_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - hash ^= realValue_.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - realValue_.WriteTo(output, _repeated_realValue_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - size += realValue_.CalculateSize(_repeated_realValue_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetRealRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - realValue_.Add(other.realValue_); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 18: { - realValue_.AddEntriesFrom(input, _repeated_realValue_codec); - break; - } - } - } - } - - } - - public sealed partial class SetRealResponse : pb::IMessage<SetRealResponse> { - private static readonly pb::MessageParser<SetRealResponse> _parser = new pb::MessageParser<SetRealResponse>(() => new SetRealResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetRealResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[24]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealResponse(SetRealResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetRealResponse Clone() { - return new SetRealResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetRealResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetRealResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetRealResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class SetBoolRequest : pb::IMessage<SetBoolRequest> { - private static readonly pb::MessageParser<SetBoolRequest> _parser = new pb::MessageParser<SetBoolRequest>(() => new SetBoolRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetBoolRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[25]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolRequest(SetBoolRequest other) : this() { - instanceName_ = other.instanceName_; - boolValue_ = other.boolValue_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolRequest Clone() { - return new SetBoolRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bool_value" field.</summary> - public const int BoolValueFieldNumber = 2; - private static readonly pb::FieldCodec<global::ModeliRpc.BoolValue> _repeated_boolValue_codec - = pb::FieldCodec.ForMessage(18, global::ModeliRpc.BoolValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.BoolValue> boolValue_ = new pbc::RepeatedField<global::ModeliRpc.BoolValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.BoolValue> BoolValue { - get { return boolValue_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetBoolRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetBoolRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if(!boolValue_.Equals(other.boolValue_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - hash ^= boolValue_.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - boolValue_.WriteTo(output, _repeated_boolValue_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - size += boolValue_.CalculateSize(_repeated_boolValue_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetBoolRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - boolValue_.Add(other.boolValue_); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 18: { - boolValue_.AddEntriesFrom(input, _repeated_boolValue_codec); - break; - } - } - } - } - - } - - public sealed partial class SetBoolResponse : pb::IMessage<SetBoolResponse> { - private static readonly pb::MessageParser<SetBoolResponse> _parser = new pb::MessageParser<SetBoolResponse>(() => new SetBoolResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetBoolResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[26]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolResponse(SetBoolResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetBoolResponse Clone() { - return new SetBoolResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetBoolResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetBoolResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetBoolResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class SetStringRequest : pb::IMessage<SetStringRequest> { - private static readonly pb::MessageParser<SetStringRequest> _parser = new pb::MessageParser<SetStringRequest>(() => new SetStringRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetStringRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[27]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringRequest(SetStringRequest other) : this() { - instanceName_ = other.instanceName_; - stringValue_ = other.stringValue_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringRequest Clone() { - return new SetStringRequest(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "string_value" field.</summary> - public const int StringValueFieldNumber = 2; - private static readonly pb::FieldCodec<global::ModeliRpc.StringValue> _repeated_stringValue_codec - = pb::FieldCodec.ForMessage(18, global::ModeliRpc.StringValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.StringValue> stringValue_ = new pbc::RepeatedField<global::ModeliRpc.StringValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.StringValue> StringValue { - get { return stringValue_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetStringRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetStringRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if(!stringValue_.Equals(other.stringValue_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - hash ^= stringValue_.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - stringValue_.WriteTo(output, _repeated_stringValue_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - size += stringValue_.CalculateSize(_repeated_stringValue_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetStringRequest other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - stringValue_.Add(other.stringValue_); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 18: { - stringValue_.AddEntriesFrom(input, _repeated_stringValue_codec); - break; - } - } - } - } - - } - - public sealed partial class SetStringResponse : pb::IMessage<SetStringResponse> { - private static readonly pb::MessageParser<SetStringResponse> _parser = new pb::MessageParser<SetStringResponse>(() => new SetStringResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<SetStringResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[28]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringResponse(SetStringResponse other) : this() { - status_ = other.status_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public SetStringResponse Clone() { - return new SetStringResponse(this); - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 1; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as SetStringResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(SetStringResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != 0) hash ^= Status.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Status != 0) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(SetStringResponse other) { - if (other == null) { - return; - } - if (other.Status != 0) { - Status = other.Status; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - } - } - } - - } - - public sealed partial class NewValuesRequest : pb::IMessage<NewValuesRequest> { - private static readonly pb::MessageParser<NewValuesRequest> _parser = new pb::MessageParser<NewValuesRequest>(() => new NewValuesRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<NewValuesRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[29]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesRequest(NewValuesRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesRequest Clone() { - return new NewValuesRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as NewValuesRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NewValuesRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NewValuesRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class NewValuesResponse : pb::IMessage<NewValuesResponse> { - private static readonly pb::MessageParser<NewValuesResponse> _parser = new pb::MessageParser<NewValuesResponse>(() => new NewValuesResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<NewValuesResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[30]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesResponse(NewValuesResponse other) : this() { - timestamp_ = other.timestamp_; - intValue_ = other.intValue_.Clone(); - realValue_ = other.realValue_.Clone(); - boolValue_ = other.boolValue_.Clone(); - stringValue_ = other.stringValue_.Clone(); - instanceName_ = other.instanceName_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public NewValuesResponse Clone() { - return new NewValuesResponse(this); - } - - /// <summary>Field number for the "timestamp" field.</summary> - public const int TimestampFieldNumber = 1; - private double timestamp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Timestamp { - get { return timestamp_; } - set { - timestamp_ = value; - } - } - - /// <summary>Field number for the "int_value" field.</summary> - public const int IntValueFieldNumber = 2; - private static readonly pb::FieldCodec<global::ModeliRpc.IntValue> _repeated_intValue_codec - = pb::FieldCodec.ForMessage(18, global::ModeliRpc.IntValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.IntValue> intValue_ = new pbc::RepeatedField<global::ModeliRpc.IntValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.IntValue> IntValue { - get { return intValue_; } - } - - /// <summary>Field number for the "real_value" field.</summary> - public const int RealValueFieldNumber = 3; - private static readonly pb::FieldCodec<global::ModeliRpc.RealValue> _repeated_realValue_codec - = pb::FieldCodec.ForMessage(26, global::ModeliRpc.RealValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.RealValue> realValue_ = new pbc::RepeatedField<global::ModeliRpc.RealValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.RealValue> RealValue { - get { return realValue_; } - } - - /// <summary>Field number for the "bool_value" field.</summary> - public const int BoolValueFieldNumber = 4; - private static readonly pb::FieldCodec<global::ModeliRpc.BoolValue> _repeated_boolValue_codec - = pb::FieldCodec.ForMessage(34, global::ModeliRpc.BoolValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.BoolValue> boolValue_ = new pbc::RepeatedField<global::ModeliRpc.BoolValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.BoolValue> BoolValue { - get { return boolValue_; } - } - - /// <summary>Field number for the "string_value" field.</summary> - public const int StringValueFieldNumber = 5; - private static readonly pb::FieldCodec<global::ModeliRpc.StringValue> _repeated_stringValue_codec - = pb::FieldCodec.ForMessage(42, global::ModeliRpc.StringValue.Parser); - private readonly pbc::RepeatedField<global::ModeliRpc.StringValue> stringValue_ = new pbc::RepeatedField<global::ModeliRpc.StringValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::ModeliRpc.StringValue> StringValue { - get { return stringValue_; } - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 6; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as NewValuesResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(NewValuesResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Timestamp != other.Timestamp) return false; - if(!intValue_.Equals(other.intValue_)) return false; - if(!realValue_.Equals(other.realValue_)) return false; - if(!boolValue_.Equals(other.boolValue_)) return false; - if(!stringValue_.Equals(other.stringValue_)) return false; - if (InstanceName != other.InstanceName) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Timestamp != 0D) hash ^= Timestamp.GetHashCode(); - hash ^= intValue_.GetHashCode(); - hash ^= realValue_.GetHashCode(); - hash ^= boolValue_.GetHashCode(); - hash ^= stringValue_.GetHashCode(); - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Timestamp != 0D) { - output.WriteRawTag(9); - output.WriteDouble(Timestamp); - } - intValue_.WriteTo(output, _repeated_intValue_codec); - realValue_.WriteTo(output, _repeated_realValue_codec); - boolValue_.WriteTo(output, _repeated_boolValue_codec); - stringValue_.WriteTo(output, _repeated_stringValue_codec); - if (InstanceName.Length != 0) { - output.WriteRawTag(50); - output.WriteString(InstanceName); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Timestamp != 0D) { - size += 1 + 8; - } - size += intValue_.CalculateSize(_repeated_intValue_codec); - size += realValue_.CalculateSize(_repeated_realValue_codec); - size += boolValue_.CalculateSize(_repeated_boolValue_codec); - size += stringValue_.CalculateSize(_repeated_stringValue_codec); - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(NewValuesResponse other) { - if (other == null) { - return; - } - if (other.Timestamp != 0D) { - Timestamp = other.Timestamp; - } - intValue_.Add(other.intValue_); - realValue_.Add(other.realValue_); - boolValue_.Add(other.boolValue_); - stringValue_.Add(other.stringValue_); - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 9: { - Timestamp = input.ReadDouble(); - break; - } - case 18: { - intValue_.AddEntriesFrom(input, _repeated_intValue_codec); - break; - } - case 26: { - realValue_.AddEntriesFrom(input, _repeated_realValue_codec); - break; - } - case 34: { - boolValue_.AddEntriesFrom(input, _repeated_boolValue_codec); - break; - } - case 42: { - stringValue_.AddEntriesFrom(input, _repeated_stringValue_codec); - break; - } - case 50: { - InstanceName = input.ReadString(); - break; - } - } - } - } - - } - - public sealed partial class LogRequest : pb::IMessage<LogRequest> { - private static readonly pb::MessageParser<LogRequest> _parser = new pb::MessageParser<LogRequest>(() => new LogRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<LogRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[31]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogRequest(LogRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogRequest Clone() { - return new LogRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as LogRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LogRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LogRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - public sealed partial class LogResponse : pb::IMessage<LogResponse> { - private static readonly pb::MessageParser<LogResponse> _parser = new pb::MessageParser<LogResponse>(() => new LogResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<LogResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.MessageTypes[32]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogResponse(LogResponse other) : this() { - instanceName_ = other.instanceName_; - status_ = other.status_; - message_ = other.message_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LogResponse Clone() { - return new LogResponse(this); - } - - /// <summary>Field number for the "instance_name" field.</summary> - public const int InstanceNameFieldNumber = 1; - private string instanceName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string InstanceName { - get { return instanceName_; } - set { - instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "status" field.</summary> - public const int StatusFieldNumber = 2; - private global::ModeliRpc.Fmi2Status status_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::ModeliRpc.Fmi2Status Status { - get { return status_; } - set { - status_ = value; - } - } - - /// <summary>Field number for the "message" field.</summary> - public const int MessageFieldNumber = 3; - private string message_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Message { - get { return message_; } - set { - message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as LogResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(LogResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (InstanceName != other.InstanceName) return false; - if (Status != other.Status) return false; - if (Message != other.Message) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); - if (Status != 0) hash ^= Status.GetHashCode(); - if (Message.Length != 0) hash ^= Message.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (InstanceName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(InstanceName); - } - if (Status != 0) { - output.WriteRawTag(16); - output.WriteEnum((int) Status); - } - if (Message.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Message); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (InstanceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); - } - if (Status != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - if (Message.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(LogResponse other) { - if (other == null) { - return; - } - if (other.InstanceName.Length != 0) { - InstanceName = other.InstanceName; - } - if (other.Status != 0) { - Status = other.Status; - } - if (other.Message.Length != 0) { - Message = other.Message; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - InstanceName = input.ReadString(); - break; - } - case 16: { - status_ = (global::ModeliRpc.Fmi2Status) input.ReadEnum(); - break; - } - case 26: { - Message = input.ReadString(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/ModeliRpc_Cs/ModeliRpcGrpc.cs b/ModeliRpc_Cs/ModeliRpcGrpc.cs deleted file mode 100644 index 6732d3f6d1cdaf60f271baf5bad02e81a6558647..0000000000000000000000000000000000000000 --- a/ModeliRpc_Cs/ModeliRpcGrpc.cs +++ /dev/null @@ -1,919 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ModeliRpc.proto -// </auto-generated> -// Original file comments: -// Language defintion -#pragma warning disable 1591 -#region Designer generated code - -using System; -using System.Threading; -using System.Threading.Tasks; -using grpc = global::Grpc.Core; - -namespace ModeliRpc { - /// <summary> - /// Service must be offered by a ModeliChart Backend - /// Default Port ist 52062 - /// </summary> - public static partial class ModeliBackend - { - static readonly string __ServiceName = "ModeliRpc.ModeliBackend"; - - static readonly grpc::Marshaller<global::ModeliRpc.PlayRequest> __Marshaller_PlayRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PlayRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.PlayResponse> __Marshaller_PlayResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PlayResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.PlayFastRequest> __Marshaller_PlayFastRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PlayFastRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.PlayFastResponse> __Marshaller_PlayFastResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PlayFastResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.PauseRequest> __Marshaller_PauseRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PauseRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.PauseResponse> __Marshaller_PauseResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.PauseResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.StopRequest> __Marshaller_StopRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.StopRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.StopResponse> __Marshaller_StopResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.StopResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.AddFmuRequest> __Marshaller_AddFmuRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.AddFmuRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.AddFmuResponse> __Marshaller_AddFmuResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.AddFmuResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.RemoveFmuRequest> __Marshaller_RemoveFmuRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.RemoveFmuRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.RemoveFmuResponse> __Marshaller_RemoveFmuResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.RemoveFmuResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.AddChannelLinkRequest> __Marshaller_AddChannelLinkRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.AddChannelLinkRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.AddChannelLinkResponse> __Marshaller_AddChannelLinkResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.AddChannelLinkResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.RemoveChannelLinkRequest> __Marshaller_RemoveChannelLinkRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.RemoveChannelLinkRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.RemoveChannelLinkResponse> __Marshaller_RemoveChannelLinkResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.RemoveChannelLinkResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetIntRequest> __Marshaller_SetIntRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetIntRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetIntResponse> __Marshaller_SetIntResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetIntResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetRealRequest> __Marshaller_SetRealRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetRealRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetRealResponse> __Marshaller_SetRealResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetRealResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetBoolRequest> __Marshaller_SetBoolRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetBoolRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetBoolResponse> __Marshaller_SetBoolResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetBoolResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetStringRequest> __Marshaller_SetStringRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetStringRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.SetStringResponse> __Marshaller_SetStringResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.SetStringResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.NewValuesRequest> __Marshaller_NewValuesRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.NewValuesRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.NewValuesResponse> __Marshaller_NewValuesResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.NewValuesResponse.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.LogRequest> __Marshaller_LogRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.LogRequest.Parser.ParseFrom); - static readonly grpc::Marshaller<global::ModeliRpc.LogResponse> __Marshaller_LogResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::ModeliRpc.LogResponse.Parser.ParseFrom); - - static readonly grpc::Method<global::ModeliRpc.PlayRequest, global::ModeliRpc.PlayResponse> __Method_Play = new grpc::Method<global::ModeliRpc.PlayRequest, global::ModeliRpc.PlayResponse>( - grpc::MethodType.Unary, - __ServiceName, - "Play", - __Marshaller_PlayRequest, - __Marshaller_PlayResponse); - - static readonly grpc::Method<global::ModeliRpc.PlayFastRequest, global::ModeliRpc.PlayFastResponse> __Method_PlayFast = new grpc::Method<global::ModeliRpc.PlayFastRequest, global::ModeliRpc.PlayFastResponse>( - grpc::MethodType.Unary, - __ServiceName, - "PlayFast", - __Marshaller_PlayFastRequest, - __Marshaller_PlayFastResponse); - - static readonly grpc::Method<global::ModeliRpc.PauseRequest, global::ModeliRpc.PauseResponse> __Method_Pause = new grpc::Method<global::ModeliRpc.PauseRequest, global::ModeliRpc.PauseResponse>( - grpc::MethodType.Unary, - __ServiceName, - "Pause", - __Marshaller_PauseRequest, - __Marshaller_PauseResponse); - - static readonly grpc::Method<global::ModeliRpc.StopRequest, global::ModeliRpc.StopResponse> __Method_Stop = new grpc::Method<global::ModeliRpc.StopRequest, global::ModeliRpc.StopResponse>( - grpc::MethodType.Unary, - __ServiceName, - "Stop", - __Marshaller_StopRequest, - __Marshaller_StopResponse); - - static readonly grpc::Method<global::ModeliRpc.AddFmuRequest, global::ModeliRpc.AddFmuResponse> __Method_AddFmu = new grpc::Method<global::ModeliRpc.AddFmuRequest, global::ModeliRpc.AddFmuResponse>( - grpc::MethodType.ClientStreaming, - __ServiceName, - "AddFmu", - __Marshaller_AddFmuRequest, - __Marshaller_AddFmuResponse); - - static readonly grpc::Method<global::ModeliRpc.RemoveFmuRequest, global::ModeliRpc.RemoveFmuResponse> __Method_RemoveFmu = new grpc::Method<global::ModeliRpc.RemoveFmuRequest, global::ModeliRpc.RemoveFmuResponse>( - grpc::MethodType.Unary, - __ServiceName, - "RemoveFmu", - __Marshaller_RemoveFmuRequest, - __Marshaller_RemoveFmuResponse); - - static readonly grpc::Method<global::ModeliRpc.AddChannelLinkRequest, global::ModeliRpc.AddChannelLinkResponse> __Method_AddChannelLink = new grpc::Method<global::ModeliRpc.AddChannelLinkRequest, global::ModeliRpc.AddChannelLinkResponse>( - grpc::MethodType.Unary, - __ServiceName, - "AddChannelLink", - __Marshaller_AddChannelLinkRequest, - __Marshaller_AddChannelLinkResponse); - - static readonly grpc::Method<global::ModeliRpc.RemoveChannelLinkRequest, global::ModeliRpc.RemoveChannelLinkResponse> __Method_RemoveChannelLink = new grpc::Method<global::ModeliRpc.RemoveChannelLinkRequest, global::ModeliRpc.RemoveChannelLinkResponse>( - grpc::MethodType.Unary, - __ServiceName, - "RemoveChannelLink", - __Marshaller_RemoveChannelLinkRequest, - __Marshaller_RemoveChannelLinkResponse); - - static readonly grpc::Method<global::ModeliRpc.SetIntRequest, global::ModeliRpc.SetIntResponse> __Method_SetInt = new grpc::Method<global::ModeliRpc.SetIntRequest, global::ModeliRpc.SetIntResponse>( - grpc::MethodType.Unary, - __ServiceName, - "SetInt", - __Marshaller_SetIntRequest, - __Marshaller_SetIntResponse); - - static readonly grpc::Method<global::ModeliRpc.SetRealRequest, global::ModeliRpc.SetRealResponse> __Method_SetReal = new grpc::Method<global::ModeliRpc.SetRealRequest, global::ModeliRpc.SetRealResponse>( - grpc::MethodType.Unary, - __ServiceName, - "SetReal", - __Marshaller_SetRealRequest, - __Marshaller_SetRealResponse); - - static readonly grpc::Method<global::ModeliRpc.SetBoolRequest, global::ModeliRpc.SetBoolResponse> __Method_SetBool = new grpc::Method<global::ModeliRpc.SetBoolRequest, global::ModeliRpc.SetBoolResponse>( - grpc::MethodType.Unary, - __ServiceName, - "SetBool", - __Marshaller_SetBoolRequest, - __Marshaller_SetBoolResponse); - - static readonly grpc::Method<global::ModeliRpc.SetStringRequest, global::ModeliRpc.SetStringResponse> __Method_SetString = new grpc::Method<global::ModeliRpc.SetStringRequest, global::ModeliRpc.SetStringResponse>( - grpc::MethodType.Unary, - __ServiceName, - "SetString", - __Marshaller_SetStringRequest, - __Marshaller_SetStringResponse); - - static readonly grpc::Method<global::ModeliRpc.NewValuesRequest, global::ModeliRpc.NewValuesResponse> __Method_NewValues = new grpc::Method<global::ModeliRpc.NewValuesRequest, global::ModeliRpc.NewValuesResponse>( - grpc::MethodType.ServerStreaming, - __ServiceName, - "NewValues", - __Marshaller_NewValuesRequest, - __Marshaller_NewValuesResponse); - - static readonly grpc::Method<global::ModeliRpc.LogRequest, global::ModeliRpc.LogResponse> __Method_Log = new grpc::Method<global::ModeliRpc.LogRequest, global::ModeliRpc.LogResponse>( - grpc::MethodType.ServerStreaming, - __ServiceName, - "Log", - __Marshaller_LogRequest, - __Marshaller_LogResponse); - - /// <summary>Service descriptor</summary> - public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor - { - get { return global::ModeliRpc.ModeliRpcReflection.Descriptor.Services[0]; } - } - - /// <summary>Base class for server-side implementations of ModeliBackend</summary> - public abstract partial class ModeliBackendBase - { - /// <summary> - /// Play the simulation infinetly in realtime - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.PlayResponse> Play(global::ModeliRpc.PlayRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Play the simulation as fast as possible (fast forwad) - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.PlayFastResponse> PlayFast(global::ModeliRpc.PlayFastRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Pause the simulation without resetting it - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.PauseResponse> Pause(global::ModeliRpc.PauseRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Halt and reset the simulation - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.StopResponse> Stop(global::ModeliRpc.StopRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Add a new Fmu to the simulation, transfer it via chunks - /// </summary> - /// <param name="requestStream">Used for reading requests from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.AddFmuResponse> AddFmu(grpc::IAsyncStreamReader<global::ModeliRpc.AddFmuRequest> requestStream, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Remove a Fmu from the simulation - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.RemoveFmuResponse> RemoveFmu(global::ModeliRpc.RemoveFmuRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Add a ChannelLink to the simulation - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.AddChannelLinkResponse> AddChannelLink(global::ModeliRpc.AddChannelLinkRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Remove a ChannelLink from the simulation - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.RemoveChannelLinkResponse> RemoveChannelLink(global::ModeliRpc.RemoveChannelLinkRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Set int values in one of the fmus - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.SetIntResponse> SetInt(global::ModeliRpc.SetIntRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Set real values in one of the fmus - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.SetRealResponse> SetReal(global::ModeliRpc.SetRealRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Set bool values in one of the fmus - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.SetBoolResponse> SetBool(global::ModeliRpc.SetBoolRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Set string values in one of the fmus - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>The response to send back to the client (wrapped by a task).</returns> - public virtual global::System.Threading.Tasks.Task<global::ModeliRpc.SetStringResponse> SetString(global::ModeliRpc.SetStringRequest request, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Stream simulation results to the client - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="responseStream">Used for sending responses back to the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>A task indicating completion of the handler.</returns> - public virtual global::System.Threading.Tasks.Task NewValues(global::ModeliRpc.NewValuesRequest request, grpc::IServerStreamWriter<global::ModeliRpc.NewValuesResponse> responseStream, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - /// <summary> - /// Stream log messages to the client - /// </summary> - /// <param name="request">The request received from the client.</param> - /// <param name="responseStream">Used for sending responses back to the client.</param> - /// <param name="context">The context of the server-side call handler being invoked.</param> - /// <returns>A task indicating completion of the handler.</returns> - public virtual global::System.Threading.Tasks.Task Log(global::ModeliRpc.LogRequest request, grpc::IServerStreamWriter<global::ModeliRpc.LogResponse> responseStream, grpc::ServerCallContext context) - { - throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); - } - - } - - /// <summary>Client for ModeliBackend</summary> - public partial class ModeliBackendClient : grpc::ClientBase<ModeliBackendClient> - { - /// <summary>Creates a new client for ModeliBackend</summary> - /// <param name="channel">The channel to use to make remote calls.</param> - public ModeliBackendClient(grpc::Channel channel) : base(channel) - { - } - /// <summary>Creates a new client for ModeliBackend that uses a custom <c>CallInvoker</c>.</summary> - /// <param name="callInvoker">The callInvoker to use to make remote calls.</param> - public ModeliBackendClient(grpc::CallInvoker callInvoker) : base(callInvoker) - { - } - /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary> - protected ModeliBackendClient() : base() - { - } - /// <summary>Protected constructor to allow creation of configured clients.</summary> - /// <param name="configuration">The client configuration.</param> - protected ModeliBackendClient(ClientBaseConfiguration configuration) : base(configuration) - { - } - - /// <summary> - /// Play the simulation infinetly in realtime - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PlayResponse Play(global::ModeliRpc.PlayRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return Play(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Play the simulation infinetly in realtime - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PlayResponse Play(global::ModeliRpc.PlayRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_Play, null, options, request); - } - /// <summary> - /// Play the simulation infinetly in realtime - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PlayResponse> PlayAsync(global::ModeliRpc.PlayRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return PlayAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Play the simulation infinetly in realtime - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PlayResponse> PlayAsync(global::ModeliRpc.PlayRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_Play, null, options, request); - } - /// <summary> - /// Play the simulation as fast as possible (fast forwad) - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PlayFastResponse PlayFast(global::ModeliRpc.PlayFastRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return PlayFast(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Play the simulation as fast as possible (fast forwad) - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PlayFastResponse PlayFast(global::ModeliRpc.PlayFastRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_PlayFast, null, options, request); - } - /// <summary> - /// Play the simulation as fast as possible (fast forwad) - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PlayFastResponse> PlayFastAsync(global::ModeliRpc.PlayFastRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return PlayFastAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Play the simulation as fast as possible (fast forwad) - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PlayFastResponse> PlayFastAsync(global::ModeliRpc.PlayFastRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_PlayFast, null, options, request); - } - /// <summary> - /// Pause the simulation without resetting it - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PauseResponse Pause(global::ModeliRpc.PauseRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return Pause(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Pause the simulation without resetting it - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.PauseResponse Pause(global::ModeliRpc.PauseRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_Pause, null, options, request); - } - /// <summary> - /// Pause the simulation without resetting it - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PauseResponse> PauseAsync(global::ModeliRpc.PauseRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return PauseAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Pause the simulation without resetting it - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.PauseResponse> PauseAsync(global::ModeliRpc.PauseRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_Pause, null, options, request); - } - /// <summary> - /// Halt and reset the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.StopResponse Stop(global::ModeliRpc.StopRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return Stop(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Halt and reset the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.StopResponse Stop(global::ModeliRpc.StopRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_Stop, null, options, request); - } - /// <summary> - /// Halt and reset the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.StopResponse> StopAsync(global::ModeliRpc.StopRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return StopAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Halt and reset the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.StopResponse> StopAsync(global::ModeliRpc.StopRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_Stop, null, options, request); - } - /// <summary> - /// Add a new Fmu to the simulation, transfer it via chunks - /// </summary> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncClientStreamingCall<global::ModeliRpc.AddFmuRequest, global::ModeliRpc.AddFmuResponse> AddFmu(grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return AddFmu(new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Add a new Fmu to the simulation, transfer it via chunks - /// </summary> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncClientStreamingCall<global::ModeliRpc.AddFmuRequest, global::ModeliRpc.AddFmuResponse> AddFmu(grpc::CallOptions options) - { - return CallInvoker.AsyncClientStreamingCall(__Method_AddFmu, null, options); - } - /// <summary> - /// Remove a Fmu from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.RemoveFmuResponse RemoveFmu(global::ModeliRpc.RemoveFmuRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return RemoveFmu(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Remove a Fmu from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.RemoveFmuResponse RemoveFmu(global::ModeliRpc.RemoveFmuRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_RemoveFmu, null, options, request); - } - /// <summary> - /// Remove a Fmu from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.RemoveFmuResponse> RemoveFmuAsync(global::ModeliRpc.RemoveFmuRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return RemoveFmuAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Remove a Fmu from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.RemoveFmuResponse> RemoveFmuAsync(global::ModeliRpc.RemoveFmuRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_RemoveFmu, null, options, request); - } - /// <summary> - /// Add a ChannelLink to the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.AddChannelLinkResponse AddChannelLink(global::ModeliRpc.AddChannelLinkRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return AddChannelLink(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Add a ChannelLink to the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.AddChannelLinkResponse AddChannelLink(global::ModeliRpc.AddChannelLinkRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_AddChannelLink, null, options, request); - } - /// <summary> - /// Add a ChannelLink to the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.AddChannelLinkResponse> AddChannelLinkAsync(global::ModeliRpc.AddChannelLinkRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return AddChannelLinkAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Add a ChannelLink to the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.AddChannelLinkResponse> AddChannelLinkAsync(global::ModeliRpc.AddChannelLinkRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_AddChannelLink, null, options, request); - } - /// <summary> - /// Remove a ChannelLink from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.RemoveChannelLinkResponse RemoveChannelLink(global::ModeliRpc.RemoveChannelLinkRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return RemoveChannelLink(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Remove a ChannelLink from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.RemoveChannelLinkResponse RemoveChannelLink(global::ModeliRpc.RemoveChannelLinkRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_RemoveChannelLink, null, options, request); - } - /// <summary> - /// Remove a ChannelLink from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.RemoveChannelLinkResponse> RemoveChannelLinkAsync(global::ModeliRpc.RemoveChannelLinkRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return RemoveChannelLinkAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Remove a ChannelLink from the simulation - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.RemoveChannelLinkResponse> RemoveChannelLinkAsync(global::ModeliRpc.RemoveChannelLinkRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_RemoveChannelLink, null, options, request); - } - /// <summary> - /// Set int values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetIntResponse SetInt(global::ModeliRpc.SetIntRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetInt(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set int values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetIntResponse SetInt(global::ModeliRpc.SetIntRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_SetInt, null, options, request); - } - /// <summary> - /// Set int values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetIntResponse> SetIntAsync(global::ModeliRpc.SetIntRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetIntAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set int values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetIntResponse> SetIntAsync(global::ModeliRpc.SetIntRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_SetInt, null, options, request); - } - /// <summary> - /// Set real values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetRealResponse SetReal(global::ModeliRpc.SetRealRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetReal(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set real values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetRealResponse SetReal(global::ModeliRpc.SetRealRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_SetReal, null, options, request); - } - /// <summary> - /// Set real values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetRealResponse> SetRealAsync(global::ModeliRpc.SetRealRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetRealAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set real values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetRealResponse> SetRealAsync(global::ModeliRpc.SetRealRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_SetReal, null, options, request); - } - /// <summary> - /// Set bool values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetBoolResponse SetBool(global::ModeliRpc.SetBoolRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetBool(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set bool values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetBoolResponse SetBool(global::ModeliRpc.SetBoolRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_SetBool, null, options, request); - } - /// <summary> - /// Set bool values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetBoolResponse> SetBoolAsync(global::ModeliRpc.SetBoolRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetBoolAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set bool values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetBoolResponse> SetBoolAsync(global::ModeliRpc.SetBoolRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_SetBool, null, options, request); - } - /// <summary> - /// Set string values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetStringResponse SetString(global::ModeliRpc.SetStringRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetString(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set string values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The response received from the server.</returns> - public virtual global::ModeliRpc.SetStringResponse SetString(global::ModeliRpc.SetStringRequest request, grpc::CallOptions options) - { - return CallInvoker.BlockingUnaryCall(__Method_SetString, null, options, request); - } - /// <summary> - /// Set string values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetStringResponse> SetStringAsync(global::ModeliRpc.SetStringRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return SetStringAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Set string values in one of the fmus - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncUnaryCall<global::ModeliRpc.SetStringResponse> SetStringAsync(global::ModeliRpc.SetStringRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncUnaryCall(__Method_SetString, null, options, request); - } - /// <summary> - /// Stream simulation results to the client - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncServerStreamingCall<global::ModeliRpc.NewValuesResponse> NewValues(global::ModeliRpc.NewValuesRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return NewValues(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Stream simulation results to the client - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncServerStreamingCall<global::ModeliRpc.NewValuesResponse> NewValues(global::ModeliRpc.NewValuesRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncServerStreamingCall(__Method_NewValues, null, options, request); - } - /// <summary> - /// Stream log messages to the client - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> - /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> - /// <param name="cancellationToken">An optional token for canceling the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncServerStreamingCall<global::ModeliRpc.LogResponse> Log(global::ModeliRpc.LogRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) - { - return Log(request, new grpc::CallOptions(headers, deadline, cancellationToken)); - } - /// <summary> - /// Stream log messages to the client - /// </summary> - /// <param name="request">The request to send to the server.</param> - /// <param name="options">The options for the call.</param> - /// <returns>The call object.</returns> - public virtual grpc::AsyncServerStreamingCall<global::ModeliRpc.LogResponse> Log(global::ModeliRpc.LogRequest request, grpc::CallOptions options) - { - return CallInvoker.AsyncServerStreamingCall(__Method_Log, null, options, request); - } - /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary> - protected override ModeliBackendClient NewInstance(ClientBaseConfiguration configuration) - { - return new ModeliBackendClient(configuration); - } - } - - /// <summary>Creates service definition that can be registered with a server</summary> - /// <param name="serviceImpl">An object implementing the server-side handling logic.</param> - public static grpc::ServerServiceDefinition BindService(ModeliBackendBase serviceImpl) - { - return grpc::ServerServiceDefinition.CreateBuilder() - .AddMethod(__Method_Play, serviceImpl.Play) - .AddMethod(__Method_PlayFast, serviceImpl.PlayFast) - .AddMethod(__Method_Pause, serviceImpl.Pause) - .AddMethod(__Method_Stop, serviceImpl.Stop) - .AddMethod(__Method_AddFmu, serviceImpl.AddFmu) - .AddMethod(__Method_RemoveFmu, serviceImpl.RemoveFmu) - .AddMethod(__Method_AddChannelLink, serviceImpl.AddChannelLink) - .AddMethod(__Method_RemoveChannelLink, serviceImpl.RemoveChannelLink) - .AddMethod(__Method_SetInt, serviceImpl.SetInt) - .AddMethod(__Method_SetReal, serviceImpl.SetReal) - .AddMethod(__Method_SetBool, serviceImpl.SetBool) - .AddMethod(__Method_SetString, serviceImpl.SetString) - .AddMethod(__Method_NewValues, serviceImpl.NewValues) - .AddMethod(__Method_Log, serviceImpl.Log).Build(); - } - - } -} -#endregion diff --git a/README.md b/README.md index 567fe204e12d09a06504c437d02a8d57b5c649c1..9072edaa5936730eb24de1dc9f53a7a799389618 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -Using Cap'n'Proto as rpc framework. It works via passing capabilites so we can easily extend the functionality from the client and server side. +Using the grpc framework. -Use the capnptool to generate the code: https://capnproto.org/capnp-tool.html - -As a design decision the frontend uses a native dll which encapsulates the framework. -The capnproto does not compile with the /clr flag! \ No newline at end of file +The rpc calls are defined in the .proto file so use the protoc compiler to generate the code. +Use the batch file to generate the cpp & csharp code. +This reqruires the plugins (grcp_csharp_plugin.exe & grcp_cpp_plugin.exe) which are delivered with your version of the library. +The C# library and generation tool can be obtained via nuget (Grpc, Grpc.Tools & Google.Protobuf). +The easiest way to get obtain the C++ library is using the cvpkg tool from github (use ".\vcpkg install grpc:x64-windows") diff --git a/grpc_cpp_plugin.exe b/grpc_cpp_plugin.exe deleted file mode 100644 index 800255f314420788858b39b5e64f8dafee508400..0000000000000000000000000000000000000000 Binary files a/grpc_cpp_plugin.exe and /dev/null differ diff --git a/grpc_csharp_plugin.exe b/grpc_csharp_plugin.exe deleted file mode 100644 index d26c670f9f8cb4f4f7ddcecbff756d66d253a901..0000000000000000000000000000000000000000 Binary files a/grpc_csharp_plugin.exe and /dev/null differ diff --git a/protoc.exe b/protoc.exe deleted file mode 100644 index e533f068d70f8f1c97205e100de231a5cbb57d48..0000000000000000000000000000000000000000 Binary files a/protoc.exe and /dev/null differ