Select Git revision
ModeliRpc.pb.cc
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ModeliRpc.pb.cc 365.28 KiB
// 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 >= 1900const 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)