LCOV - code coverage report
Current view: top level - build/protobuf_generated - plotserver_events.pb.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 142 1083 13.1 %
Date: 2024-10-10 11:40:37 Functions: 28 163 17.2 %

          Line data    Source code
       1             : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2             : // source: plotserver_events.proto
       3             : 
       4             : #include "plotserver_events.pb.h"
       5             : 
       6             : #include <algorithm>
       7             : 
       8             : #include <google/protobuf/stubs/common.h>
       9             : #include <google/protobuf/stubs/port.h>
      10             : #include <google/protobuf/io/coded_stream.h>
      11             : #include <google/protobuf/wire_format_lite_inl.h>
      12             : #include <google/protobuf/descriptor.h>
      13             : #include <google/protobuf/generated_message_reflection.h>
      14             : #include <google/protobuf/reflection_ops.h>
      15             : #include <google/protobuf/wire_format.h>
      16             : // This is a temporary google only hack
      17             : #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
      18             : #include "third_party/protobuf/version.h"
      19             : #endif
      20             : // @@protoc_insertion_point(includes)
      21             : 
      22             : namespace protobuf_plotserver_2eproto {
      23             : extern PROTOBUF_INTERNAL_EXPORT_protobuf_plotserver_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Id;
      24             : }  // namespace protobuf_plotserver_2eproto
      25             : namespace rpc {
      26             : namespace gui {
      27             : class ButtonEventDefaultTypeInternal {
      28             :  public:
      29             :   ::google::protobuf::internal::ExplicitlyConstructed<ButtonEvent>
      30             :       _instance;
      31             : } _ButtonEvent_default_instance_;
      32             : class CheckEventDefaultTypeInternal {
      33             :  public:
      34             :   ::google::protobuf::internal::ExplicitlyConstructed<CheckEvent>
      35             :       _instance;
      36             : } _CheckEvent_default_instance_;
      37             : class RadioEventDefaultTypeInternal {
      38             :  public:
      39             :   ::google::protobuf::internal::ExplicitlyConstructed<RadioEvent>
      40             :       _instance;
      41             : } _RadioEvent_default_instance_;
      42             : class LineTextEventDefaultTypeInternal {
      43             :  public:
      44             :   ::google::protobuf::internal::ExplicitlyConstructed<LineTextEvent>
      45             :       _instance;
      46             : } _LineTextEvent_default_instance_;
      47             : class SlideValueEventDefaultTypeInternal {
      48             :  public:
      49             :   ::google::protobuf::internal::ExplicitlyConstructed<SlideValueEvent>
      50             :       _instance;
      51             : } _SlideValueEvent_default_instance_;
      52             : class ClosingEventDefaultTypeInternal {
      53             :  public:
      54             :   ::google::protobuf::internal::ExplicitlyConstructed<ClosingEvent>
      55             :       _instance;
      56             : } _ClosingEvent_default_instance_;
      57             : }  // namespace gui
      58             : }  // namespace rpc
      59             : namespace protobuf_plotserver_5fevents_2eproto {
      60           8 : static void InitDefaultsButtonEvent() {
      61           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      62             : 
      63             :   {
      64           8 :     void* ptr = &::rpc::gui::_ButtonEvent_default_instance_;
      65           8 :     new (ptr) ::rpc::gui::ButtonEvent();
      66           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      67             :   }
      68           8 :   ::rpc::gui::ButtonEvent::InitAsDefaultInstance();
      69           8 : }
      70             : 
      71             : ::google::protobuf::internal::SCCInfo<1> scc_info_ButtonEvent =
      72             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsButtonEvent}, {
      73             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
      74             : 
      75           8 : static void InitDefaultsCheckEvent() {
      76           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      77             : 
      78             :   {
      79           8 :     void* ptr = &::rpc::gui::_CheckEvent_default_instance_;
      80           8 :     new (ptr) ::rpc::gui::CheckEvent();
      81           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      82             :   }
      83           8 :   ::rpc::gui::CheckEvent::InitAsDefaultInstance();
      84           8 : }
      85             : 
      86             : ::google::protobuf::internal::SCCInfo<1> scc_info_CheckEvent =
      87             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCheckEvent}, {
      88             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
      89             : 
      90           8 : static void InitDefaultsRadioEvent() {
      91           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
      92             : 
      93             :   {
      94           8 :     void* ptr = &::rpc::gui::_RadioEvent_default_instance_;
      95           8 :     new (ptr) ::rpc::gui::RadioEvent();
      96           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
      97             :   }
      98           8 :   ::rpc::gui::RadioEvent::InitAsDefaultInstance();
      99           8 : }
     100             : 
     101             : ::google::protobuf::internal::SCCInfo<1> scc_info_RadioEvent =
     102             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRadioEvent}, {
     103             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
     104             : 
     105           8 : static void InitDefaultsLineTextEvent() {
     106           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     107             : 
     108             :   {
     109           8 :     void* ptr = &::rpc::gui::_LineTextEvent_default_instance_;
     110           8 :     new (ptr) ::rpc::gui::LineTextEvent();
     111           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     112             :   }
     113           8 :   ::rpc::gui::LineTextEvent::InitAsDefaultInstance();
     114           8 : }
     115             : 
     116             : ::google::protobuf::internal::SCCInfo<1> scc_info_LineTextEvent =
     117             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLineTextEvent}, {
     118             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
     119             : 
     120           8 : static void InitDefaultsSlideValueEvent() {
     121           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     122             : 
     123             :   {
     124           8 :     void* ptr = &::rpc::gui::_SlideValueEvent_default_instance_;
     125           8 :     new (ptr) ::rpc::gui::SlideValueEvent();
     126           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     127             :   }
     128           8 :   ::rpc::gui::SlideValueEvent::InitAsDefaultInstance();
     129           8 : }
     130             : 
     131             : ::google::protobuf::internal::SCCInfo<1> scc_info_SlideValueEvent =
     132             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSlideValueEvent}, {
     133             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
     134             : 
     135           8 : static void InitDefaultsClosingEvent() {
     136           8 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     137             : 
     138             :   {
     139           8 :     void* ptr = &::rpc::gui::_ClosingEvent_default_instance_;
     140           8 :     new (ptr) ::rpc::gui::ClosingEvent();
     141           8 :     ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
     142             :   }
     143           8 :   ::rpc::gui::ClosingEvent::InitAsDefaultInstance();
     144           8 : }
     145             : 
     146             : ::google::protobuf::internal::SCCInfo<1> scc_info_ClosingEvent =
     147             :     {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsClosingEvent}, {
     148             :       &protobuf_plotserver_2eproto::scc_info_Id.base,}};
     149             : 
     150           8 : void InitDefaults() {
     151           8 :   ::google::protobuf::internal::InitSCC(&scc_info_ButtonEvent.base);
     152           8 :   ::google::protobuf::internal::InitSCC(&scc_info_CheckEvent.base);
     153           8 :   ::google::protobuf::internal::InitSCC(&scc_info_RadioEvent.base);
     154           8 :   ::google::protobuf::internal::InitSCC(&scc_info_LineTextEvent.base);
     155           8 :   ::google::protobuf::internal::InitSCC(&scc_info_SlideValueEvent.base);
     156           8 :   ::google::protobuf::internal::InitSCC(&scc_info_ClosingEvent.base);
     157           8 : }
     158             : 
     159             : ::google::protobuf::Metadata file_level_metadata[6];
     160             : 
     161             : const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     162             :   ~0u,  // no _has_bits_
     163             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ButtonEvent, _internal_metadata_),
     164             :   ~0u,  // no _extensions_
     165             :   ~0u,  // no _oneof_case_
     166             :   ~0u,  // no _weak_field_map_
     167             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ButtonEvent, panel_),
     168             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ButtonEvent, name_),
     169             :   ~0u,  // no _has_bits_
     170             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::CheckEvent, _internal_metadata_),
     171             :   ~0u,  // no _extensions_
     172             :   ~0u,  // no _oneof_case_
     173             :   ~0u,  // no _weak_field_map_
     174             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::CheckEvent, panel_),
     175             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::CheckEvent, name_),
     176             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::CheckEvent, state_),
     177             :   ~0u,  // no _has_bits_
     178             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::RadioEvent, _internal_metadata_),
     179             :   ~0u,  // no _extensions_
     180             :   ~0u,  // no _oneof_case_
     181             :   ~0u,  // no _weak_field_map_
     182             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::RadioEvent, panel_),
     183             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::RadioEvent, name_),
     184             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::RadioEvent, state_),
     185             :   ~0u,  // no _has_bits_
     186             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::LineTextEvent, _internal_metadata_),
     187             :   ~0u,  // no _extensions_
     188             :   ~0u,  // no _oneof_case_
     189             :   ~0u,  // no _weak_field_map_
     190             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::LineTextEvent, panel_),
     191             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::LineTextEvent, name_),
     192             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::LineTextEvent, text_),
     193             :   ~0u,  // no _has_bits_
     194             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::SlideValueEvent, _internal_metadata_),
     195             :   ~0u,  // no _extensions_
     196             :   ~0u,  // no _oneof_case_
     197             :   ~0u,  // no _weak_field_map_
     198             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::SlideValueEvent, panel_),
     199             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::SlideValueEvent, name_),
     200             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::SlideValueEvent, value_),
     201             :   ~0u,  // no _has_bits_
     202             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ClosingEvent, _internal_metadata_),
     203             :   ~0u,  // no _extensions_
     204             :   ~0u,  // no _oneof_case_
     205             :   ~0u,  // no _weak_field_map_
     206             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ClosingEvent, panel_),
     207             :   GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ClosingEvent, gone_),
     208             : };
     209             : static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     210             :   { 0, -1, sizeof(::rpc::gui::ButtonEvent)},
     211             :   { 7, -1, sizeof(::rpc::gui::CheckEvent)},
     212             :   { 15, -1, sizeof(::rpc::gui::RadioEvent)},
     213             :   { 23, -1, sizeof(::rpc::gui::LineTextEvent)},
     214             :   { 31, -1, sizeof(::rpc::gui::SlideValueEvent)},
     215             :   { 39, -1, sizeof(::rpc::gui::ClosingEvent)},
     216             : };
     217             : 
     218             : static ::google::protobuf::Message const * const file_default_instances[] = {
     219             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_ButtonEvent_default_instance_),
     220             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_CheckEvent_default_instance_),
     221             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_RadioEvent_default_instance_),
     222             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_LineTextEvent_default_instance_),
     223             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_SlideValueEvent_default_instance_),
     224             :   reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_ClosingEvent_default_instance_),
     225             : };
     226             : 
     227           0 : void protobuf_AssignDescriptors() {
     228           0 :   AddDescriptors();
     229           0 :   AssignDescriptors(
     230             :       "plotserver_events.proto", schemas, file_default_instances, TableStruct::offsets,
     231             :       file_level_metadata, NULL, NULL);
     232           0 : }
     233             : 
     234           0 : void protobuf_AssignDescriptorsOnce() {
     235             :   static ::google::protobuf::internal::once_flag once;
     236           0 :   ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
     237           0 : }
     238             : 
     239             : void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
     240           0 : void protobuf_RegisterTypes(const ::std::string&) {
     241           0 :   protobuf_AssignDescriptorsOnce();
     242           0 :   ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 6);
     243           0 : }
     244             : 
     245           8 : void AddDescriptorsImpl() {
     246           8 :   InitDefaults();
     247             :   static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
     248             :       "\n\027plotserver_events.proto\022\007rpc.gui\032\033goog"
     249             :       "le/protobuf/empty.proto\032\036google/protobuf"
     250             :       "/wrappers.proto\032\020plotserver.proto\"7\n\013But"
     251             :       "tonEvent\022\032\n\005panel\030\001 \001(\0132\013.rpc.gui.Id\022\014\n\004"
     252             :       "name\030\002 \001(\t\"E\n\nCheckEvent\022\032\n\005panel\030\001 \001(\0132"
     253             :       "\013.rpc.gui.Id\022\014\n\004name\030\002 \001(\t\022\r\n\005state\030\003 \001("
     254             :       "\005\"E\n\nRadioEvent\022\032\n\005panel\030\001 \001(\0132\013.rpc.gui"
     255             :       ".Id\022\014\n\004name\030\002 \001(\t\022\r\n\005state\030\003 \001(\010\"G\n\rLine"
     256             :       "TextEvent\022\032\n\005panel\030\001 \001(\0132\013.rpc.gui.Id\022\014\n"
     257             :       "\004name\030\002 \001(\t\022\014\n\004text\030\003 \001(\t\"J\n\017SlideValueE"
     258             :       "vent\022\032\n\005panel\030\001 \001(\0132\013.rpc.gui.Id\022\014\n\004name"
     259             :       "\030\002 \001(\t\022\r\n\005value\030\003 \001(\005\"8\n\014ClosingEvent\022\032\n"
     260             :       "\005panel\030\001 \001(\0132\013.rpc.gui.Id\022\014\n\004gone\030\002 \001(\0102"
     261             :       "\250\003\n\021plotserver_events\0226\n\006button\022\024.rpc.gu"
     262             :       "i.ButtonEvent\032\026.google.protobuf.Empty\0224\n"
     263             :       "\005check\022\023.rpc.gui.CheckEvent\032\026.google.pro"
     264             :       "tobuf.Empty\0224\n\005radio\022\023.rpc.gui.RadioEven"
     265             :       "t\032\026.google.protobuf.Empty\022:\n\010linetext\022\026."
     266             :       "rpc.gui.LineTextEvent\032\026.google.protobuf."
     267             :       "Empty\022>\n\nslidevalue\022\030.rpc.gui.SlideValue"
     268             :       "Event\032\026.google.protobuf.Empty\0229\n\007exiting"
     269             :       "\022\026.google.protobuf.Empty\032\026.google.protob"
     270             :       "uf.Empty\0228\n\007closing\022\025.rpc.gui.ClosingEve"
     271             :       "nt\032\026.google.protobuf.Emptyb\006proto3"
     272             :   };
     273           8 :   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
     274             :       descriptor, 954);
     275           8 :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     276             :     "plotserver_events.proto", &protobuf_RegisterTypes);
     277           8 :   ::protobuf_google_2fprotobuf_2fempty_2eproto::AddDescriptors();
     278           8 :   ::protobuf_google_2fprotobuf_2fwrappers_2eproto::AddDescriptors();
     279           8 :   ::protobuf_plotserver_2eproto::AddDescriptors();
     280           8 : }
     281             : 
     282           8 : void AddDescriptors() {
     283             :   static ::google::protobuf::internal::once_flag once;
     284           8 :   ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
     285           8 : }
     286             : // Force AddDescriptors() to be called at dynamic initialization time.
     287             : struct StaticDescriptorInitializer {
     288           8 :   StaticDescriptorInitializer() {
     289           8 :     AddDescriptors();
     290           8 :   }
     291             : } static_descriptor_initializer;
     292             : }  // namespace protobuf_plotserver_5fevents_2eproto
     293             : namespace rpc {
     294             : namespace gui {
     295             : 
     296             : // ===================================================================
     297             : 
     298           8 : void ButtonEvent::InitAsDefaultInstance() {
     299           8 :   ::rpc::gui::_ButtonEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
     300           8 :       ::rpc::gui::Id::internal_default_instance());
     301           8 : }
     302           0 : void ButtonEvent::clear_panel() {
     303           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
     304           0 :     delete panel_;
     305             :   }
     306           0 :   panel_ = NULL;
     307           0 : }
     308             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     309             : const int ButtonEvent::kPanelFieldNumber;
     310             : const int ButtonEvent::kNameFieldNumber;
     311             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     312             : 
     313           8 : ButtonEvent::ButtonEvent()
     314           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     315           8 :   ::google::protobuf::internal::InitSCC(
     316             :       &protobuf_plotserver_5fevents_2eproto::scc_info_ButtonEvent.base);
     317           8 :   SharedCtor();
     318             :   // @@protoc_insertion_point(constructor:rpc.gui.ButtonEvent)
     319           8 : }
     320           0 : ButtonEvent::ButtonEvent(const ButtonEvent& from)
     321             :   : ::google::protobuf::Message(),
     322           0 :       _internal_metadata_(NULL) {
     323           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     324           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     325           0 :   if (from.name().size() > 0) {
     326           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
     327             :   }
     328           0 :   if (from.has_panel()) {
     329           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
     330             :   } else {
     331           0 :     panel_ = NULL;
     332             :   }
     333             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.ButtonEvent)
     334           0 : }
     335             : 
     336           8 : void ButtonEvent::SharedCtor() {
     337           8 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     338           8 :   panel_ = NULL;
     339           8 : }
     340             : 
     341           0 : ButtonEvent::~ButtonEvent() {
     342             :   // @@protoc_insertion_point(destructor:rpc.gui.ButtonEvent)
     343           0 :   SharedDtor();
     344           0 : }
     345             : 
     346           0 : void ButtonEvent::SharedDtor() {
     347           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     348           0 :   if (this != internal_default_instance()) delete panel_;
     349           0 : }
     350             : 
     351           0 : void ButtonEvent::SetCachedSize(int size) const {
     352           0 :   _cached_size_.Set(size);
     353           0 : }
     354           0 : const ::google::protobuf::Descriptor* ButtonEvent::descriptor() {
     355           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
     356           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     357             : }
     358             : 
     359           0 : const ButtonEvent& ButtonEvent::default_instance() {
     360           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_ButtonEvent.base);
     361           0 :   return *internal_default_instance();
     362             : }
     363             : 
     364             : 
     365           0 : void ButtonEvent::Clear() {
     366             : // @@protoc_insertion_point(message_clear_start:rpc.gui.ButtonEvent)
     367           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     368             :   // Prevent compiler warnings about cached_has_bits being unused
     369             :   (void) cached_has_bits;
     370             : 
     371           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     372           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
     373           0 :     delete panel_;
     374             :   }
     375           0 :   panel_ = NULL;
     376           0 :   _internal_metadata_.Clear();
     377           0 : }
     378             : 
     379           0 : bool ButtonEvent::MergePartialFromCodedStream(
     380             :     ::google::protobuf::io::CodedInputStream* input) {
     381             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     382             :   ::google::protobuf::uint32 tag;
     383             :   // @@protoc_insertion_point(parse_start:rpc.gui.ButtonEvent)
     384             :   for (;;) {
     385             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     386           0 :     tag = p.first;
     387           0 :     if (!p.second) goto handle_unusual;
     388           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     389             :       // .rpc.gui.Id panel = 1;
     390           0 :       case 1: {
     391           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     392             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
     393           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
     394             :                input, mutable_panel()));
     395             :         } else {
     396           0 :           goto handle_unusual;
     397             :         }
     398           0 :         break;
     399             :       }
     400             : 
     401             :       // string name = 2;
     402           0 :       case 2: {
     403           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     404             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
     405           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     406             :                 input, this->mutable_name()));
     407           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     408             :             this->name().data(), static_cast<int>(this->name().length()),
     409             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     410             :             "rpc.gui.ButtonEvent.name"));
     411             :         } else {
     412           0 :           goto handle_unusual;
     413             :         }
     414           0 :         break;
     415             :       }
     416             : 
     417             :       default: {
     418           0 :       handle_unusual:
     419           0 :         if (tag == 0) {
     420           0 :           goto success;
     421             :         }
     422           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     423             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     424           0 :         break;
     425             :       }
     426             :     }
     427           0 :   }
     428           0 : success:
     429             :   // @@protoc_insertion_point(parse_success:rpc.gui.ButtonEvent)
     430           0 :   return true;
     431           0 : failure:
     432             :   // @@protoc_insertion_point(parse_failure:rpc.gui.ButtonEvent)
     433           0 :   return false;
     434             : #undef DO_
     435             : }
     436             : 
     437           0 : void ButtonEvent::SerializeWithCachedSizes(
     438             :     ::google::protobuf::io::CodedOutputStream* output) const {
     439             :   // @@protoc_insertion_point(serialize_start:rpc.gui.ButtonEvent)
     440           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     441             :   (void) cached_has_bits;
     442             : 
     443             :   // .rpc.gui.Id panel = 1;
     444           0 :   if (this->has_panel()) {
     445           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
     446           0 :       1, this->_internal_panel(), output);
     447             :   }
     448             : 
     449             :   // string name = 2;
     450           0 :   if (this->name().size() > 0) {
     451           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     452           0 :       this->name().data(), static_cast<int>(this->name().length()),
     453             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     454             :       "rpc.gui.ButtonEvent.name");
     455           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     456             :       2, this->name(), output);
     457             :   }
     458             : 
     459           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     460           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     461           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     462             :   }
     463             :   // @@protoc_insertion_point(serialize_end:rpc.gui.ButtonEvent)
     464           0 : }
     465             : 
     466           0 : ::google::protobuf::uint8* ButtonEvent::InternalSerializeWithCachedSizesToArray(
     467             :     bool deterministic, ::google::protobuf::uint8* target) const {
     468             :   (void)deterministic; // Unused
     469             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.ButtonEvent)
     470           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     471             :   (void) cached_has_bits;
     472             : 
     473             :   // .rpc.gui.Id panel = 1;
     474           0 :   if (this->has_panel()) {
     475             :     target = ::google::protobuf::internal::WireFormatLite::
     476           0 :       InternalWriteMessageToArray(
     477             :         1, this->_internal_panel(), deterministic, target);
     478             :   }
     479             : 
     480             :   // string name = 2;
     481           0 :   if (this->name().size() > 0) {
     482           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     483           0 :       this->name().data(), static_cast<int>(this->name().length()),
     484             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     485             :       "rpc.gui.ButtonEvent.name");
     486             :     target =
     487           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
     488             :         2, this->name(), target);
     489             :   }
     490             : 
     491           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     492           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     493           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     494             :   }
     495             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.ButtonEvent)
     496           0 :   return target;
     497             : }
     498             : 
     499           0 : size_t ButtonEvent::ByteSizeLong() const {
     500             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.ButtonEvent)
     501           0 :   size_t total_size = 0;
     502             : 
     503           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     504           0 :     total_size +=
     505           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     506           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     507             :   }
     508             :   // string name = 2;
     509           0 :   if (this->name().size() > 0) {
     510           0 :     total_size += 1 +
     511           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
     512             :         this->name());
     513             :   }
     514             : 
     515             :   // .rpc.gui.Id panel = 1;
     516           0 :   if (this->has_panel()) {
     517           0 :     total_size += 1 +
     518           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
     519           0 :         *panel_);
     520             :   }
     521             : 
     522           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     523           0 :   SetCachedSize(cached_size);
     524           0 :   return total_size;
     525             : }
     526             : 
     527           0 : void ButtonEvent::MergeFrom(const ::google::protobuf::Message& from) {
     528             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.ButtonEvent)
     529           0 :   GOOGLE_DCHECK_NE(&from, this);
     530             :   const ButtonEvent* source =
     531           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ButtonEvent>(
     532             :           &from);
     533           0 :   if (source == NULL) {
     534             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.ButtonEvent)
     535           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     536             :   } else {
     537             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.ButtonEvent)
     538           0 :     MergeFrom(*source);
     539             :   }
     540           0 : }
     541             : 
     542           0 : void ButtonEvent::MergeFrom(const ButtonEvent& from) {
     543             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.ButtonEvent)
     544           0 :   GOOGLE_DCHECK_NE(&from, this);
     545           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     546           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     547             :   (void) cached_has_bits;
     548             : 
     549           0 :   if (from.name().size() > 0) {
     550             : 
     551           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
     552             :   }
     553           0 :   if (from.has_panel()) {
     554           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
     555             :   }
     556           0 : }
     557             : 
     558           0 : void ButtonEvent::CopyFrom(const ::google::protobuf::Message& from) {
     559             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.ButtonEvent)
     560           0 :   if (&from == this) return;
     561           0 :   Clear();
     562           0 :   MergeFrom(from);
     563             : }
     564             : 
     565           0 : void ButtonEvent::CopyFrom(const ButtonEvent& from) {
     566             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.ButtonEvent)
     567           0 :   if (&from == this) return;
     568           0 :   Clear();
     569           0 :   MergeFrom(from);
     570             : }
     571             : 
     572           0 : bool ButtonEvent::IsInitialized() const {
     573           0 :   return true;
     574             : }
     575             : 
     576           0 : void ButtonEvent::Swap(ButtonEvent* other) {
     577           0 :   if (other == this) return;
     578           0 :   InternalSwap(other);
     579             : }
     580           0 : void ButtonEvent::InternalSwap(ButtonEvent* other) {
     581             :   using std::swap;
     582           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
     583             :     GetArenaNoVirtual());
     584           0 :   swap(panel_, other->panel_);
     585           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     586           0 : }
     587             : 
     588           0 : ::google::protobuf::Metadata ButtonEvent::GetMetadata() const {
     589           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
     590           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
     591             : }
     592             : 
     593             : 
     594             : // ===================================================================
     595             : 
     596           8 : void CheckEvent::InitAsDefaultInstance() {
     597           8 :   ::rpc::gui::_CheckEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
     598           8 :       ::rpc::gui::Id::internal_default_instance());
     599           8 : }
     600           0 : void CheckEvent::clear_panel() {
     601           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
     602           0 :     delete panel_;
     603             :   }
     604           0 :   panel_ = NULL;
     605           0 : }
     606             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     607             : const int CheckEvent::kPanelFieldNumber;
     608             : const int CheckEvent::kNameFieldNumber;
     609             : const int CheckEvent::kStateFieldNumber;
     610             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     611             : 
     612           8 : CheckEvent::CheckEvent()
     613           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     614           8 :   ::google::protobuf::internal::InitSCC(
     615             :       &protobuf_plotserver_5fevents_2eproto::scc_info_CheckEvent.base);
     616           8 :   SharedCtor();
     617             :   // @@protoc_insertion_point(constructor:rpc.gui.CheckEvent)
     618           8 : }
     619           0 : CheckEvent::CheckEvent(const CheckEvent& from)
     620             :   : ::google::protobuf::Message(),
     621           0 :       _internal_metadata_(NULL) {
     622           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     623           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     624           0 :   if (from.name().size() > 0) {
     625           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
     626             :   }
     627           0 :   if (from.has_panel()) {
     628           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
     629             :   } else {
     630           0 :     panel_ = NULL;
     631             :   }
     632           0 :   state_ = from.state_;
     633             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.CheckEvent)
     634           0 : }
     635             : 
     636           8 : void CheckEvent::SharedCtor() {
     637           8 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     638           8 :   ::memset(&panel_, 0, static_cast<size_t>(
     639             :       reinterpret_cast<char*>(&state_) -
     640             :       reinterpret_cast<char*>(&panel_)) + sizeof(state_));
     641           8 : }
     642             : 
     643           0 : CheckEvent::~CheckEvent() {
     644             :   // @@protoc_insertion_point(destructor:rpc.gui.CheckEvent)
     645           0 :   SharedDtor();
     646           0 : }
     647             : 
     648           0 : void CheckEvent::SharedDtor() {
     649           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     650           0 :   if (this != internal_default_instance()) delete panel_;
     651           0 : }
     652             : 
     653           0 : void CheckEvent::SetCachedSize(int size) const {
     654           0 :   _cached_size_.Set(size);
     655           0 : }
     656           0 : const ::google::protobuf::Descriptor* CheckEvent::descriptor() {
     657           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
     658           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     659             : }
     660             : 
     661           0 : const CheckEvent& CheckEvent::default_instance() {
     662           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_CheckEvent.base);
     663           0 :   return *internal_default_instance();
     664             : }
     665             : 
     666             : 
     667           0 : void CheckEvent::Clear() {
     668             : // @@protoc_insertion_point(message_clear_start:rpc.gui.CheckEvent)
     669           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     670             :   // Prevent compiler warnings about cached_has_bits being unused
     671             :   (void) cached_has_bits;
     672             : 
     673           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     674           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
     675           0 :     delete panel_;
     676             :   }
     677           0 :   panel_ = NULL;
     678           0 :   state_ = 0;
     679           0 :   _internal_metadata_.Clear();
     680           0 : }
     681             : 
     682           0 : bool CheckEvent::MergePartialFromCodedStream(
     683             :     ::google::protobuf::io::CodedInputStream* input) {
     684             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
     685             :   ::google::protobuf::uint32 tag;
     686             :   // @@protoc_insertion_point(parse_start:rpc.gui.CheckEvent)
     687             :   for (;;) {
     688             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
     689           0 :     tag = p.first;
     690           0 :     if (!p.second) goto handle_unusual;
     691           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     692             :       // .rpc.gui.Id panel = 1;
     693           0 :       case 1: {
     694           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     695             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
     696           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
     697             :                input, mutable_panel()));
     698             :         } else {
     699           0 :           goto handle_unusual;
     700             :         }
     701           0 :         break;
     702             :       }
     703             : 
     704             :       // string name = 2;
     705           0 :       case 2: {
     706           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     707             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
     708           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     709             :                 input, this->mutable_name()));
     710           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     711             :             this->name().data(), static_cast<int>(this->name().length()),
     712             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     713             :             "rpc.gui.CheckEvent.name"));
     714             :         } else {
     715           0 :           goto handle_unusual;
     716             :         }
     717           0 :         break;
     718             :       }
     719             : 
     720             :       // int32 state = 3;
     721           0 :       case 3: {
     722           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
     723             :             static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
     724             : 
     725           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     726             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
     727             :                  input, &state_)));
     728             :         } else {
     729           0 :           goto handle_unusual;
     730             :         }
     731           0 :         break;
     732             :       }
     733             : 
     734             :       default: {
     735           0 :       handle_unusual:
     736           0 :         if (tag == 0) {
     737           0 :           goto success;
     738             :         }
     739           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
     740             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
     741           0 :         break;
     742             :       }
     743             :     }
     744           0 :   }
     745           0 : success:
     746             :   // @@protoc_insertion_point(parse_success:rpc.gui.CheckEvent)
     747           0 :   return true;
     748           0 : failure:
     749             :   // @@protoc_insertion_point(parse_failure:rpc.gui.CheckEvent)
     750           0 :   return false;
     751             : #undef DO_
     752             : }
     753             : 
     754           0 : void CheckEvent::SerializeWithCachedSizes(
     755             :     ::google::protobuf::io::CodedOutputStream* output) const {
     756             :   // @@protoc_insertion_point(serialize_start:rpc.gui.CheckEvent)
     757           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     758             :   (void) cached_has_bits;
     759             : 
     760             :   // .rpc.gui.Id panel = 1;
     761           0 :   if (this->has_panel()) {
     762           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
     763           0 :       1, this->_internal_panel(), output);
     764             :   }
     765             : 
     766             :   // string name = 2;
     767           0 :   if (this->name().size() > 0) {
     768           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     769           0 :       this->name().data(), static_cast<int>(this->name().length()),
     770             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     771             :       "rpc.gui.CheckEvent.name");
     772           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     773             :       2, this->name(), output);
     774             :   }
     775             : 
     776             :   // int32 state = 3;
     777           0 :   if (this->state() != 0) {
     778           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->state(), output);
     779             :   }
     780             : 
     781           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     782           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
     783           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
     784             :   }
     785             :   // @@protoc_insertion_point(serialize_end:rpc.gui.CheckEvent)
     786           0 : }
     787             : 
     788           0 : ::google::protobuf::uint8* CheckEvent::InternalSerializeWithCachedSizesToArray(
     789             :     bool deterministic, ::google::protobuf::uint8* target) const {
     790             :   (void)deterministic; // Unused
     791             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.CheckEvent)
     792           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     793             :   (void) cached_has_bits;
     794             : 
     795             :   // .rpc.gui.Id panel = 1;
     796           0 :   if (this->has_panel()) {
     797             :     target = ::google::protobuf::internal::WireFormatLite::
     798           0 :       InternalWriteMessageToArray(
     799             :         1, this->_internal_panel(), deterministic, target);
     800             :   }
     801             : 
     802             :   // string name = 2;
     803           0 :   if (this->name().size() > 0) {
     804           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     805           0 :       this->name().data(), static_cast<int>(this->name().length()),
     806             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     807             :       "rpc.gui.CheckEvent.name");
     808             :     target =
     809           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
     810             :         2, this->name(), target);
     811             :   }
     812             : 
     813             :   // int32 state = 3;
     814           0 :   if (this->state() != 0) {
     815           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->state(), target);
     816             :   }
     817             : 
     818           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     819           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
     820           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
     821             :   }
     822             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.CheckEvent)
     823           0 :   return target;
     824             : }
     825             : 
     826           0 : size_t CheckEvent::ByteSizeLong() const {
     827             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.CheckEvent)
     828           0 :   size_t total_size = 0;
     829             : 
     830           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
     831           0 :     total_size +=
     832           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
     833           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
     834             :   }
     835             :   // string name = 2;
     836           0 :   if (this->name().size() > 0) {
     837           0 :     total_size += 1 +
     838           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
     839             :         this->name());
     840             :   }
     841             : 
     842             :   // .rpc.gui.Id panel = 1;
     843           0 :   if (this->has_panel()) {
     844           0 :     total_size += 1 +
     845           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
     846           0 :         *panel_);
     847             :   }
     848             : 
     849             :   // int32 state = 3;
     850           0 :   if (this->state() != 0) {
     851           0 :     total_size += 1 +
     852           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
     853             :         this->state());
     854             :   }
     855             : 
     856           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
     857           0 :   SetCachedSize(cached_size);
     858           0 :   return total_size;
     859             : }
     860             : 
     861           0 : void CheckEvent::MergeFrom(const ::google::protobuf::Message& from) {
     862             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.CheckEvent)
     863           0 :   GOOGLE_DCHECK_NE(&from, this);
     864             :   const CheckEvent* source =
     865           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const CheckEvent>(
     866             :           &from);
     867           0 :   if (source == NULL) {
     868             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.CheckEvent)
     869           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     870             :   } else {
     871             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.CheckEvent)
     872           0 :     MergeFrom(*source);
     873             :   }
     874           0 : }
     875             : 
     876           0 : void CheckEvent::MergeFrom(const CheckEvent& from) {
     877             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.CheckEvent)
     878           0 :   GOOGLE_DCHECK_NE(&from, this);
     879           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     880           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
     881             :   (void) cached_has_bits;
     882             : 
     883           0 :   if (from.name().size() > 0) {
     884             : 
     885           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
     886             :   }
     887           0 :   if (from.has_panel()) {
     888           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
     889             :   }
     890           0 :   if (from.state() != 0) {
     891           0 :     set_state(from.state());
     892             :   }
     893           0 : }
     894             : 
     895           0 : void CheckEvent::CopyFrom(const ::google::protobuf::Message& from) {
     896             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.CheckEvent)
     897           0 :   if (&from == this) return;
     898           0 :   Clear();
     899           0 :   MergeFrom(from);
     900             : }
     901             : 
     902           0 : void CheckEvent::CopyFrom(const CheckEvent& from) {
     903             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.CheckEvent)
     904           0 :   if (&from == this) return;
     905           0 :   Clear();
     906           0 :   MergeFrom(from);
     907             : }
     908             : 
     909           0 : bool CheckEvent::IsInitialized() const {
     910           0 :   return true;
     911             : }
     912             : 
     913           0 : void CheckEvent::Swap(CheckEvent* other) {
     914           0 :   if (other == this) return;
     915           0 :   InternalSwap(other);
     916             : }
     917           0 : void CheckEvent::InternalSwap(CheckEvent* other) {
     918             :   using std::swap;
     919           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
     920             :     GetArenaNoVirtual());
     921           0 :   swap(panel_, other->panel_);
     922           0 :   swap(state_, other->state_);
     923           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     924           0 : }
     925             : 
     926           0 : ::google::protobuf::Metadata CheckEvent::GetMetadata() const {
     927           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
     928           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
     929             : }
     930             : 
     931             : 
     932             : // ===================================================================
     933             : 
     934           8 : void RadioEvent::InitAsDefaultInstance() {
     935           8 :   ::rpc::gui::_RadioEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
     936           8 :       ::rpc::gui::Id::internal_default_instance());
     937           8 : }
     938           0 : void RadioEvent::clear_panel() {
     939           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
     940           0 :     delete panel_;
     941             :   }
     942           0 :   panel_ = NULL;
     943           0 : }
     944             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
     945             : const int RadioEvent::kPanelFieldNumber;
     946             : const int RadioEvent::kNameFieldNumber;
     947             : const int RadioEvent::kStateFieldNumber;
     948             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
     949             : 
     950           8 : RadioEvent::RadioEvent()
     951           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     952           8 :   ::google::protobuf::internal::InitSCC(
     953             :       &protobuf_plotserver_5fevents_2eproto::scc_info_RadioEvent.base);
     954           8 :   SharedCtor();
     955             :   // @@protoc_insertion_point(constructor:rpc.gui.RadioEvent)
     956           8 : }
     957           0 : RadioEvent::RadioEvent(const RadioEvent& from)
     958             :   : ::google::protobuf::Message(),
     959           0 :       _internal_metadata_(NULL) {
     960           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
     961           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     962           0 :   if (from.name().size() > 0) {
     963           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
     964             :   }
     965           0 :   if (from.has_panel()) {
     966           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
     967             :   } else {
     968           0 :     panel_ = NULL;
     969             :   }
     970           0 :   state_ = from.state_;
     971             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.RadioEvent)
     972           0 : }
     973             : 
     974           8 : void RadioEvent::SharedCtor() {
     975           8 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     976           8 :   ::memset(&panel_, 0, static_cast<size_t>(
     977             :       reinterpret_cast<char*>(&state_) -
     978             :       reinterpret_cast<char*>(&panel_)) + sizeof(state_));
     979           8 : }
     980             : 
     981           0 : RadioEvent::~RadioEvent() {
     982             :   // @@protoc_insertion_point(destructor:rpc.gui.RadioEvent)
     983           0 :   SharedDtor();
     984           0 : }
     985             : 
     986           0 : void RadioEvent::SharedDtor() {
     987           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     988           0 :   if (this != internal_default_instance()) delete panel_;
     989           0 : }
     990             : 
     991           0 : void RadioEvent::SetCachedSize(int size) const {
     992           0 :   _cached_size_.Set(size);
     993           0 : }
     994           0 : const ::google::protobuf::Descriptor* RadioEvent::descriptor() {
     995           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
     996           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
     997             : }
     998             : 
     999           0 : const RadioEvent& RadioEvent::default_instance() {
    1000           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_RadioEvent.base);
    1001           0 :   return *internal_default_instance();
    1002             : }
    1003             : 
    1004             : 
    1005           0 : void RadioEvent::Clear() {
    1006             : // @@protoc_insertion_point(message_clear_start:rpc.gui.RadioEvent)
    1007           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1008             :   // Prevent compiler warnings about cached_has_bits being unused
    1009             :   (void) cached_has_bits;
    1010             : 
    1011           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1012           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1013           0 :     delete panel_;
    1014             :   }
    1015           0 :   panel_ = NULL;
    1016           0 :   state_ = false;
    1017           0 :   _internal_metadata_.Clear();
    1018           0 : }
    1019             : 
    1020           0 : bool RadioEvent::MergePartialFromCodedStream(
    1021             :     ::google::protobuf::io::CodedInputStream* input) {
    1022             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1023             :   ::google::protobuf::uint32 tag;
    1024             :   // @@protoc_insertion_point(parse_start:rpc.gui.RadioEvent)
    1025             :   for (;;) {
    1026             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1027           0 :     tag = p.first;
    1028           0 :     if (!p.second) goto handle_unusual;
    1029           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1030             :       // .rpc.gui.Id panel = 1;
    1031           0 :       case 1: {
    1032           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1033             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1034           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    1035             :                input, mutable_panel()));
    1036             :         } else {
    1037           0 :           goto handle_unusual;
    1038             :         }
    1039           0 :         break;
    1040             :       }
    1041             : 
    1042             :       // string name = 2;
    1043           0 :       case 2: {
    1044           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1045             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    1046           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1047             :                 input, this->mutable_name()));
    1048           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1049             :             this->name().data(), static_cast<int>(this->name().length()),
    1050             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1051             :             "rpc.gui.RadioEvent.name"));
    1052             :         } else {
    1053           0 :           goto handle_unusual;
    1054             :         }
    1055           0 :         break;
    1056             :       }
    1057             : 
    1058             :       // bool state = 3;
    1059           0 :       case 3: {
    1060           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1061             :             static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
    1062             : 
    1063           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    1064             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
    1065             :                  input, &state_)));
    1066             :         } else {
    1067           0 :           goto handle_unusual;
    1068             :         }
    1069           0 :         break;
    1070             :       }
    1071             : 
    1072             :       default: {
    1073           0 :       handle_unusual:
    1074           0 :         if (tag == 0) {
    1075           0 :           goto success;
    1076             :         }
    1077           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1078             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1079           0 :         break;
    1080             :       }
    1081             :     }
    1082           0 :   }
    1083           0 : success:
    1084             :   // @@protoc_insertion_point(parse_success:rpc.gui.RadioEvent)
    1085           0 :   return true;
    1086           0 : failure:
    1087             :   // @@protoc_insertion_point(parse_failure:rpc.gui.RadioEvent)
    1088           0 :   return false;
    1089             : #undef DO_
    1090             : }
    1091             : 
    1092           0 : void RadioEvent::SerializeWithCachedSizes(
    1093             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1094             :   // @@protoc_insertion_point(serialize_start:rpc.gui.RadioEvent)
    1095           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1096             :   (void) cached_has_bits;
    1097             : 
    1098             :   // .rpc.gui.Id panel = 1;
    1099           0 :   if (this->has_panel()) {
    1100           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1101           0 :       1, this->_internal_panel(), output);
    1102             :   }
    1103             : 
    1104             :   // string name = 2;
    1105           0 :   if (this->name().size() > 0) {
    1106           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1107           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1108             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1109             :       "rpc.gui.RadioEvent.name");
    1110           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1111             :       2, this->name(), output);
    1112             :   }
    1113             : 
    1114             :   // bool state = 3;
    1115           0 :   if (this->state() != 0) {
    1116           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->state(), output);
    1117             :   }
    1118             : 
    1119           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1120           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1121           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1122             :   }
    1123             :   // @@protoc_insertion_point(serialize_end:rpc.gui.RadioEvent)
    1124           0 : }
    1125             : 
    1126           0 : ::google::protobuf::uint8* RadioEvent::InternalSerializeWithCachedSizesToArray(
    1127             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1128             :   (void)deterministic; // Unused
    1129             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.RadioEvent)
    1130           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1131             :   (void) cached_has_bits;
    1132             : 
    1133             :   // .rpc.gui.Id panel = 1;
    1134           0 :   if (this->has_panel()) {
    1135             :     target = ::google::protobuf::internal::WireFormatLite::
    1136           0 :       InternalWriteMessageToArray(
    1137             :         1, this->_internal_panel(), deterministic, target);
    1138             :   }
    1139             : 
    1140             :   // string name = 2;
    1141           0 :   if (this->name().size() > 0) {
    1142           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1143           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1144             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1145             :       "rpc.gui.RadioEvent.name");
    1146             :     target =
    1147           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1148             :         2, this->name(), target);
    1149             :   }
    1150             : 
    1151             :   // bool state = 3;
    1152           0 :   if (this->state() != 0) {
    1153           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->state(), target);
    1154             :   }
    1155             : 
    1156           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1157           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1158           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1159             :   }
    1160             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.RadioEvent)
    1161           0 :   return target;
    1162             : }
    1163             : 
    1164           0 : size_t RadioEvent::ByteSizeLong() const {
    1165             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.RadioEvent)
    1166           0 :   size_t total_size = 0;
    1167             : 
    1168           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1169           0 :     total_size +=
    1170           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1171           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1172             :   }
    1173             :   // string name = 2;
    1174           0 :   if (this->name().size() > 0) {
    1175           0 :     total_size += 1 +
    1176           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1177             :         this->name());
    1178             :   }
    1179             : 
    1180             :   // .rpc.gui.Id panel = 1;
    1181           0 :   if (this->has_panel()) {
    1182           0 :     total_size += 1 +
    1183           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    1184           0 :         *panel_);
    1185             :   }
    1186             : 
    1187             :   // bool state = 3;
    1188           0 :   if (this->state() != 0) {
    1189           0 :     total_size += 1 + 1;
    1190             :   }
    1191             : 
    1192           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1193           0 :   SetCachedSize(cached_size);
    1194           0 :   return total_size;
    1195             : }
    1196             : 
    1197           0 : void RadioEvent::MergeFrom(const ::google::protobuf::Message& from) {
    1198             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.RadioEvent)
    1199           0 :   GOOGLE_DCHECK_NE(&from, this);
    1200             :   const RadioEvent* source =
    1201           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const RadioEvent>(
    1202             :           &from);
    1203           0 :   if (source == NULL) {
    1204             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.RadioEvent)
    1205           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1206             :   } else {
    1207             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.RadioEvent)
    1208           0 :     MergeFrom(*source);
    1209             :   }
    1210           0 : }
    1211             : 
    1212           0 : void RadioEvent::MergeFrom(const RadioEvent& from) {
    1213             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.RadioEvent)
    1214           0 :   GOOGLE_DCHECK_NE(&from, this);
    1215           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1216           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1217             :   (void) cached_has_bits;
    1218             : 
    1219           0 :   if (from.name().size() > 0) {
    1220             : 
    1221           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1222             :   }
    1223           0 :   if (from.has_panel()) {
    1224           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
    1225             :   }
    1226           0 :   if (from.state() != 0) {
    1227           0 :     set_state(from.state());
    1228             :   }
    1229           0 : }
    1230             : 
    1231           0 : void RadioEvent::CopyFrom(const ::google::protobuf::Message& from) {
    1232             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.RadioEvent)
    1233           0 :   if (&from == this) return;
    1234           0 :   Clear();
    1235           0 :   MergeFrom(from);
    1236             : }
    1237             : 
    1238           0 : void RadioEvent::CopyFrom(const RadioEvent& from) {
    1239             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.RadioEvent)
    1240           0 :   if (&from == this) return;
    1241           0 :   Clear();
    1242           0 :   MergeFrom(from);
    1243             : }
    1244             : 
    1245           0 : bool RadioEvent::IsInitialized() const {
    1246           0 :   return true;
    1247             : }
    1248             : 
    1249           0 : void RadioEvent::Swap(RadioEvent* other) {
    1250           0 :   if (other == this) return;
    1251           0 :   InternalSwap(other);
    1252             : }
    1253           0 : void RadioEvent::InternalSwap(RadioEvent* other) {
    1254             :   using std::swap;
    1255           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1256             :     GetArenaNoVirtual());
    1257           0 :   swap(panel_, other->panel_);
    1258           0 :   swap(state_, other->state_);
    1259           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1260           0 : }
    1261             : 
    1262           0 : ::google::protobuf::Metadata RadioEvent::GetMetadata() const {
    1263           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    1264           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
    1265             : }
    1266             : 
    1267             : 
    1268             : // ===================================================================
    1269             : 
    1270           8 : void LineTextEvent::InitAsDefaultInstance() {
    1271           8 :   ::rpc::gui::_LineTextEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
    1272           8 :       ::rpc::gui::Id::internal_default_instance());
    1273           8 : }
    1274           0 : void LineTextEvent::clear_panel() {
    1275           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1276           0 :     delete panel_;
    1277             :   }
    1278           0 :   panel_ = NULL;
    1279           0 : }
    1280             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1281             : const int LineTextEvent::kPanelFieldNumber;
    1282             : const int LineTextEvent::kNameFieldNumber;
    1283             : const int LineTextEvent::kTextFieldNumber;
    1284             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1285             : 
    1286           8 : LineTextEvent::LineTextEvent()
    1287           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1288           8 :   ::google::protobuf::internal::InitSCC(
    1289             :       &protobuf_plotserver_5fevents_2eproto::scc_info_LineTextEvent.base);
    1290           8 :   SharedCtor();
    1291             :   // @@protoc_insertion_point(constructor:rpc.gui.LineTextEvent)
    1292           8 : }
    1293           0 : LineTextEvent::LineTextEvent(const LineTextEvent& from)
    1294             :   : ::google::protobuf::Message(),
    1295           0 :       _internal_metadata_(NULL) {
    1296           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1297           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1298           0 :   if (from.name().size() > 0) {
    1299           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1300             :   }
    1301           0 :   text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1302           0 :   if (from.text().size() > 0) {
    1303           0 :     text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_);
    1304             :   }
    1305           0 :   if (from.has_panel()) {
    1306           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
    1307             :   } else {
    1308           0 :     panel_ = NULL;
    1309             :   }
    1310             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.LineTextEvent)
    1311           0 : }
    1312             : 
    1313           8 : void LineTextEvent::SharedCtor() {
    1314           8 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1315           8 :   text_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1316           8 :   panel_ = NULL;
    1317           8 : }
    1318             : 
    1319           0 : LineTextEvent::~LineTextEvent() {
    1320             :   // @@protoc_insertion_point(destructor:rpc.gui.LineTextEvent)
    1321           0 :   SharedDtor();
    1322           0 : }
    1323             : 
    1324           0 : void LineTextEvent::SharedDtor() {
    1325           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1326           0 :   text_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1327           0 :   if (this != internal_default_instance()) delete panel_;
    1328           0 : }
    1329             : 
    1330           0 : void LineTextEvent::SetCachedSize(int size) const {
    1331           0 :   _cached_size_.Set(size);
    1332           0 : }
    1333           0 : const ::google::protobuf::Descriptor* LineTextEvent::descriptor() {
    1334           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    1335           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    1336             : }
    1337             : 
    1338           0 : const LineTextEvent& LineTextEvent::default_instance() {
    1339           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_LineTextEvent.base);
    1340           0 :   return *internal_default_instance();
    1341             : }
    1342             : 
    1343             : 
    1344           0 : void LineTextEvent::Clear() {
    1345             : // @@protoc_insertion_point(message_clear_start:rpc.gui.LineTextEvent)
    1346           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1347             :   // Prevent compiler warnings about cached_has_bits being unused
    1348             :   (void) cached_has_bits;
    1349             : 
    1350           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1351           0 :   text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1352           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1353           0 :     delete panel_;
    1354             :   }
    1355           0 :   panel_ = NULL;
    1356           0 :   _internal_metadata_.Clear();
    1357           0 : }
    1358             : 
    1359           0 : bool LineTextEvent::MergePartialFromCodedStream(
    1360             :     ::google::protobuf::io::CodedInputStream* input) {
    1361             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1362             :   ::google::protobuf::uint32 tag;
    1363             :   // @@protoc_insertion_point(parse_start:rpc.gui.LineTextEvent)
    1364             :   for (;;) {
    1365             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1366           0 :     tag = p.first;
    1367           0 :     if (!p.second) goto handle_unusual;
    1368           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1369             :       // .rpc.gui.Id panel = 1;
    1370           0 :       case 1: {
    1371           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1372             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1373           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    1374             :                input, mutable_panel()));
    1375             :         } else {
    1376           0 :           goto handle_unusual;
    1377             :         }
    1378           0 :         break;
    1379             :       }
    1380             : 
    1381             :       // string name = 2;
    1382           0 :       case 2: {
    1383           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1384             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    1385           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1386             :                 input, this->mutable_name()));
    1387           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1388             :             this->name().data(), static_cast<int>(this->name().length()),
    1389             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1390             :             "rpc.gui.LineTextEvent.name"));
    1391             :         } else {
    1392           0 :           goto handle_unusual;
    1393             :         }
    1394           0 :         break;
    1395             :       }
    1396             : 
    1397             :       // string text = 3;
    1398           0 :       case 3: {
    1399           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1400             :             static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
    1401           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1402             :                 input, this->mutable_text()));
    1403           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1404             :             this->text().data(), static_cast<int>(this->text().length()),
    1405             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1406             :             "rpc.gui.LineTextEvent.text"));
    1407             :         } else {
    1408           0 :           goto handle_unusual;
    1409             :         }
    1410           0 :         break;
    1411             :       }
    1412             : 
    1413             :       default: {
    1414           0 :       handle_unusual:
    1415           0 :         if (tag == 0) {
    1416           0 :           goto success;
    1417             :         }
    1418           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1419             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1420           0 :         break;
    1421             :       }
    1422             :     }
    1423           0 :   }
    1424           0 : success:
    1425             :   // @@protoc_insertion_point(parse_success:rpc.gui.LineTextEvent)
    1426           0 :   return true;
    1427           0 : failure:
    1428             :   // @@protoc_insertion_point(parse_failure:rpc.gui.LineTextEvent)
    1429           0 :   return false;
    1430             : #undef DO_
    1431             : }
    1432             : 
    1433           0 : void LineTextEvent::SerializeWithCachedSizes(
    1434             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1435             :   // @@protoc_insertion_point(serialize_start:rpc.gui.LineTextEvent)
    1436           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1437             :   (void) cached_has_bits;
    1438             : 
    1439             :   // .rpc.gui.Id panel = 1;
    1440           0 :   if (this->has_panel()) {
    1441           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1442           0 :       1, this->_internal_panel(), output);
    1443             :   }
    1444             : 
    1445             :   // string name = 2;
    1446           0 :   if (this->name().size() > 0) {
    1447           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1448           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1449             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1450             :       "rpc.gui.LineTextEvent.name");
    1451           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1452             :       2, this->name(), output);
    1453             :   }
    1454             : 
    1455             :   // string text = 3;
    1456           0 :   if (this->text().size() > 0) {
    1457           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1458           0 :       this->text().data(), static_cast<int>(this->text().length()),
    1459             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1460             :       "rpc.gui.LineTextEvent.text");
    1461           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1462             :       3, this->text(), output);
    1463             :   }
    1464             : 
    1465           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1466           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1467           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1468             :   }
    1469             :   // @@protoc_insertion_point(serialize_end:rpc.gui.LineTextEvent)
    1470           0 : }
    1471             : 
    1472           0 : ::google::protobuf::uint8* LineTextEvent::InternalSerializeWithCachedSizesToArray(
    1473             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1474             :   (void)deterministic; // Unused
    1475             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.LineTextEvent)
    1476           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1477             :   (void) cached_has_bits;
    1478             : 
    1479             :   // .rpc.gui.Id panel = 1;
    1480           0 :   if (this->has_panel()) {
    1481             :     target = ::google::protobuf::internal::WireFormatLite::
    1482           0 :       InternalWriteMessageToArray(
    1483             :         1, this->_internal_panel(), deterministic, target);
    1484             :   }
    1485             : 
    1486             :   // string name = 2;
    1487           0 :   if (this->name().size() > 0) {
    1488           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1489           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1490             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1491             :       "rpc.gui.LineTextEvent.name");
    1492             :     target =
    1493           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1494             :         2, this->name(), target);
    1495             :   }
    1496             : 
    1497             :   // string text = 3;
    1498           0 :   if (this->text().size() > 0) {
    1499           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1500           0 :       this->text().data(), static_cast<int>(this->text().length()),
    1501             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1502             :       "rpc.gui.LineTextEvent.text");
    1503             :     target =
    1504           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1505             :         3, this->text(), target);
    1506             :   }
    1507             : 
    1508           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1509           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1510           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1511             :   }
    1512             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.LineTextEvent)
    1513           0 :   return target;
    1514             : }
    1515             : 
    1516           0 : size_t LineTextEvent::ByteSizeLong() const {
    1517             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.LineTextEvent)
    1518           0 :   size_t total_size = 0;
    1519             : 
    1520           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1521           0 :     total_size +=
    1522           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1523           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1524             :   }
    1525             :   // string name = 2;
    1526           0 :   if (this->name().size() > 0) {
    1527           0 :     total_size += 1 +
    1528           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1529             :         this->name());
    1530             :   }
    1531             : 
    1532             :   // string text = 3;
    1533           0 :   if (this->text().size() > 0) {
    1534           0 :     total_size += 1 +
    1535           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1536             :         this->text());
    1537             :   }
    1538             : 
    1539             :   // .rpc.gui.Id panel = 1;
    1540           0 :   if (this->has_panel()) {
    1541           0 :     total_size += 1 +
    1542           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    1543           0 :         *panel_);
    1544             :   }
    1545             : 
    1546           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1547           0 :   SetCachedSize(cached_size);
    1548           0 :   return total_size;
    1549             : }
    1550             : 
    1551           0 : void LineTextEvent::MergeFrom(const ::google::protobuf::Message& from) {
    1552             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.LineTextEvent)
    1553           0 :   GOOGLE_DCHECK_NE(&from, this);
    1554             :   const LineTextEvent* source =
    1555           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const LineTextEvent>(
    1556             :           &from);
    1557           0 :   if (source == NULL) {
    1558             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.LineTextEvent)
    1559           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1560             :   } else {
    1561             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.LineTextEvent)
    1562           0 :     MergeFrom(*source);
    1563             :   }
    1564           0 : }
    1565             : 
    1566           0 : void LineTextEvent::MergeFrom(const LineTextEvent& from) {
    1567             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.LineTextEvent)
    1568           0 :   GOOGLE_DCHECK_NE(&from, this);
    1569           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1570           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1571             :   (void) cached_has_bits;
    1572             : 
    1573           0 :   if (from.name().size() > 0) {
    1574             : 
    1575           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1576             :   }
    1577           0 :   if (from.text().size() > 0) {
    1578             : 
    1579           0 :     text_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.text_);
    1580             :   }
    1581           0 :   if (from.has_panel()) {
    1582           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
    1583             :   }
    1584           0 : }
    1585             : 
    1586           0 : void LineTextEvent::CopyFrom(const ::google::protobuf::Message& from) {
    1587             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.LineTextEvent)
    1588           0 :   if (&from == this) return;
    1589           0 :   Clear();
    1590           0 :   MergeFrom(from);
    1591             : }
    1592             : 
    1593           0 : void LineTextEvent::CopyFrom(const LineTextEvent& from) {
    1594             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.LineTextEvent)
    1595           0 :   if (&from == this) return;
    1596           0 :   Clear();
    1597           0 :   MergeFrom(from);
    1598             : }
    1599             : 
    1600           0 : bool LineTextEvent::IsInitialized() const {
    1601           0 :   return true;
    1602             : }
    1603             : 
    1604           0 : void LineTextEvent::Swap(LineTextEvent* other) {
    1605           0 :   if (other == this) return;
    1606           0 :   InternalSwap(other);
    1607             : }
    1608           0 : void LineTextEvent::InternalSwap(LineTextEvent* other) {
    1609             :   using std::swap;
    1610           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1611             :     GetArenaNoVirtual());
    1612           0 :   text_.Swap(&other->text_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1613             :     GetArenaNoVirtual());
    1614           0 :   swap(panel_, other->panel_);
    1615           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1616           0 : }
    1617             : 
    1618           0 : ::google::protobuf::Metadata LineTextEvent::GetMetadata() const {
    1619           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    1620           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
    1621             : }
    1622             : 
    1623             : 
    1624             : // ===================================================================
    1625             : 
    1626           8 : void SlideValueEvent::InitAsDefaultInstance() {
    1627           8 :   ::rpc::gui::_SlideValueEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
    1628           8 :       ::rpc::gui::Id::internal_default_instance());
    1629           8 : }
    1630           0 : void SlideValueEvent::clear_panel() {
    1631           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1632           0 :     delete panel_;
    1633             :   }
    1634           0 :   panel_ = NULL;
    1635           0 : }
    1636             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1637             : const int SlideValueEvent::kPanelFieldNumber;
    1638             : const int SlideValueEvent::kNameFieldNumber;
    1639             : const int SlideValueEvent::kValueFieldNumber;
    1640             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1641             : 
    1642           8 : SlideValueEvent::SlideValueEvent()
    1643           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1644           8 :   ::google::protobuf::internal::InitSCC(
    1645             :       &protobuf_plotserver_5fevents_2eproto::scc_info_SlideValueEvent.base);
    1646           8 :   SharedCtor();
    1647             :   // @@protoc_insertion_point(constructor:rpc.gui.SlideValueEvent)
    1648           8 : }
    1649           0 : SlideValueEvent::SlideValueEvent(const SlideValueEvent& from)
    1650             :   : ::google::protobuf::Message(),
    1651           0 :       _internal_metadata_(NULL) {
    1652           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1653           0 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1654           0 :   if (from.name().size() > 0) {
    1655           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1656             :   }
    1657           0 :   if (from.has_panel()) {
    1658           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
    1659             :   } else {
    1660           0 :     panel_ = NULL;
    1661             :   }
    1662           0 :   value_ = from.value_;
    1663             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.SlideValueEvent)
    1664           0 : }
    1665             : 
    1666           8 : void SlideValueEvent::SharedCtor() {
    1667           8 :   name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1668           8 :   ::memset(&panel_, 0, static_cast<size_t>(
    1669             :       reinterpret_cast<char*>(&value_) -
    1670             :       reinterpret_cast<char*>(&panel_)) + sizeof(value_));
    1671           8 : }
    1672             : 
    1673           0 : SlideValueEvent::~SlideValueEvent() {
    1674             :   // @@protoc_insertion_point(destructor:rpc.gui.SlideValueEvent)
    1675           0 :   SharedDtor();
    1676           0 : }
    1677             : 
    1678           0 : void SlideValueEvent::SharedDtor() {
    1679           0 :   name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1680           0 :   if (this != internal_default_instance()) delete panel_;
    1681           0 : }
    1682             : 
    1683           0 : void SlideValueEvent::SetCachedSize(int size) const {
    1684           0 :   _cached_size_.Set(size);
    1685           0 : }
    1686           0 : const ::google::protobuf::Descriptor* SlideValueEvent::descriptor() {
    1687           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    1688           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    1689             : }
    1690             : 
    1691           0 : const SlideValueEvent& SlideValueEvent::default_instance() {
    1692           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_SlideValueEvent.base);
    1693           0 :   return *internal_default_instance();
    1694             : }
    1695             : 
    1696             : 
    1697           0 : void SlideValueEvent::Clear() {
    1698             : // @@protoc_insertion_point(message_clear_start:rpc.gui.SlideValueEvent)
    1699           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1700             :   // Prevent compiler warnings about cached_has_bits being unused
    1701             :   (void) cached_has_bits;
    1702             : 
    1703           0 :   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1704           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1705           0 :     delete panel_;
    1706             :   }
    1707           0 :   panel_ = NULL;
    1708           0 :   value_ = 0;
    1709           0 :   _internal_metadata_.Clear();
    1710           0 : }
    1711             : 
    1712           0 : bool SlideValueEvent::MergePartialFromCodedStream(
    1713             :     ::google::protobuf::io::CodedInputStream* input) {
    1714             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    1715             :   ::google::protobuf::uint32 tag;
    1716             :   // @@protoc_insertion_point(parse_start:rpc.gui.SlideValueEvent)
    1717             :   for (;;) {
    1718             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    1719           0 :     tag = p.first;
    1720           0 :     if (!p.second) goto handle_unusual;
    1721           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1722             :       // .rpc.gui.Id panel = 1;
    1723           0 :       case 1: {
    1724           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1725             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    1726           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    1727             :                input, mutable_panel()));
    1728             :         } else {
    1729           0 :           goto handle_unusual;
    1730             :         }
    1731           0 :         break;
    1732             :       }
    1733             : 
    1734             :       // string name = 2;
    1735           0 :       case 2: {
    1736           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1737             :             static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
    1738           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1739             :                 input, this->mutable_name()));
    1740           0 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1741             :             this->name().data(), static_cast<int>(this->name().length()),
    1742             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1743             :             "rpc.gui.SlideValueEvent.name"));
    1744             :         } else {
    1745           0 :           goto handle_unusual;
    1746             :         }
    1747           0 :         break;
    1748             :       }
    1749             : 
    1750             :       // int32 value = 3;
    1751           0 :       case 3: {
    1752           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    1753             :             static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
    1754             : 
    1755           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    1756             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
    1757             :                  input, &value_)));
    1758             :         } else {
    1759           0 :           goto handle_unusual;
    1760             :         }
    1761           0 :         break;
    1762             :       }
    1763             : 
    1764             :       default: {
    1765           0 :       handle_unusual:
    1766           0 :         if (tag == 0) {
    1767           0 :           goto success;
    1768             :         }
    1769           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    1770             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    1771           0 :         break;
    1772             :       }
    1773             :     }
    1774           0 :   }
    1775           0 : success:
    1776             :   // @@protoc_insertion_point(parse_success:rpc.gui.SlideValueEvent)
    1777           0 :   return true;
    1778           0 : failure:
    1779             :   // @@protoc_insertion_point(parse_failure:rpc.gui.SlideValueEvent)
    1780           0 :   return false;
    1781             : #undef DO_
    1782             : }
    1783             : 
    1784           0 : void SlideValueEvent::SerializeWithCachedSizes(
    1785             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1786             :   // @@protoc_insertion_point(serialize_start:rpc.gui.SlideValueEvent)
    1787           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1788             :   (void) cached_has_bits;
    1789             : 
    1790             :   // .rpc.gui.Id panel = 1;
    1791           0 :   if (this->has_panel()) {
    1792           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1793           0 :       1, this->_internal_panel(), output);
    1794             :   }
    1795             : 
    1796             :   // string name = 2;
    1797           0 :   if (this->name().size() > 0) {
    1798           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1799           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1800             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1801             :       "rpc.gui.SlideValueEvent.name");
    1802           0 :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1803             :       2, this->name(), output);
    1804             :   }
    1805             : 
    1806             :   // int32 value = 3;
    1807           0 :   if (this->value() != 0) {
    1808           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->value(), output);
    1809             :   }
    1810             : 
    1811           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1812           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    1813           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    1814             :   }
    1815             :   // @@protoc_insertion_point(serialize_end:rpc.gui.SlideValueEvent)
    1816           0 : }
    1817             : 
    1818           0 : ::google::protobuf::uint8* SlideValueEvent::InternalSerializeWithCachedSizesToArray(
    1819             :     bool deterministic, ::google::protobuf::uint8* target) const {
    1820             :   (void)deterministic; // Unused
    1821             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.SlideValueEvent)
    1822           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1823             :   (void) cached_has_bits;
    1824             : 
    1825             :   // .rpc.gui.Id panel = 1;
    1826           0 :   if (this->has_panel()) {
    1827             :     target = ::google::protobuf::internal::WireFormatLite::
    1828           0 :       InternalWriteMessageToArray(
    1829             :         1, this->_internal_panel(), deterministic, target);
    1830             :   }
    1831             : 
    1832             :   // string name = 2;
    1833           0 :   if (this->name().size() > 0) {
    1834           0 :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1835           0 :       this->name().data(), static_cast<int>(this->name().length()),
    1836             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1837             :       "rpc.gui.SlideValueEvent.name");
    1838             :     target =
    1839           0 :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1840             :         2, this->name(), target);
    1841             :   }
    1842             : 
    1843             :   // int32 value = 3;
    1844           0 :   if (this->value() != 0) {
    1845           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->value(), target);
    1846             :   }
    1847             : 
    1848           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1849           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    1850           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    1851             :   }
    1852             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.SlideValueEvent)
    1853           0 :   return target;
    1854             : }
    1855             : 
    1856           0 : size_t SlideValueEvent::ByteSizeLong() const {
    1857             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.SlideValueEvent)
    1858           0 :   size_t total_size = 0;
    1859             : 
    1860           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    1861           0 :     total_size +=
    1862           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    1863           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    1864             :   }
    1865             :   // string name = 2;
    1866           0 :   if (this->name().size() > 0) {
    1867           0 :     total_size += 1 +
    1868           0 :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1869             :         this->name());
    1870             :   }
    1871             : 
    1872             :   // .rpc.gui.Id panel = 1;
    1873           0 :   if (this->has_panel()) {
    1874           0 :     total_size += 1 +
    1875           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    1876           0 :         *panel_);
    1877             :   }
    1878             : 
    1879             :   // int32 value = 3;
    1880           0 :   if (this->value() != 0) {
    1881           0 :     total_size += 1 +
    1882           0 :       ::google::protobuf::internal::WireFormatLite::Int32Size(
    1883             :         this->value());
    1884             :   }
    1885             : 
    1886           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    1887           0 :   SetCachedSize(cached_size);
    1888           0 :   return total_size;
    1889             : }
    1890             : 
    1891           0 : void SlideValueEvent::MergeFrom(const ::google::protobuf::Message& from) {
    1892             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.SlideValueEvent)
    1893           0 :   GOOGLE_DCHECK_NE(&from, this);
    1894             :   const SlideValueEvent* source =
    1895           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const SlideValueEvent>(
    1896             :           &from);
    1897           0 :   if (source == NULL) {
    1898             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.SlideValueEvent)
    1899           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1900             :   } else {
    1901             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.SlideValueEvent)
    1902           0 :     MergeFrom(*source);
    1903             :   }
    1904           0 : }
    1905             : 
    1906           0 : void SlideValueEvent::MergeFrom(const SlideValueEvent& from) {
    1907             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.SlideValueEvent)
    1908           0 :   GOOGLE_DCHECK_NE(&from, this);
    1909           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1910           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    1911             :   (void) cached_has_bits;
    1912             : 
    1913           0 :   if (from.name().size() > 0) {
    1914             : 
    1915           0 :     name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
    1916             :   }
    1917           0 :   if (from.has_panel()) {
    1918           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
    1919             :   }
    1920           0 :   if (from.value() != 0) {
    1921           0 :     set_value(from.value());
    1922             :   }
    1923           0 : }
    1924             : 
    1925           0 : void SlideValueEvent::CopyFrom(const ::google::protobuf::Message& from) {
    1926             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.SlideValueEvent)
    1927           0 :   if (&from == this) return;
    1928           0 :   Clear();
    1929           0 :   MergeFrom(from);
    1930             : }
    1931             : 
    1932           0 : void SlideValueEvent::CopyFrom(const SlideValueEvent& from) {
    1933             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.SlideValueEvent)
    1934           0 :   if (&from == this) return;
    1935           0 :   Clear();
    1936           0 :   MergeFrom(from);
    1937             : }
    1938             : 
    1939           0 : bool SlideValueEvent::IsInitialized() const {
    1940           0 :   return true;
    1941             : }
    1942             : 
    1943           0 : void SlideValueEvent::Swap(SlideValueEvent* other) {
    1944           0 :   if (other == this) return;
    1945           0 :   InternalSwap(other);
    1946             : }
    1947           0 : void SlideValueEvent::InternalSwap(SlideValueEvent* other) {
    1948             :   using std::swap;
    1949           0 :   name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1950             :     GetArenaNoVirtual());
    1951           0 :   swap(panel_, other->panel_);
    1952           0 :   swap(value_, other->value_);
    1953           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1954           0 : }
    1955             : 
    1956           0 : ::google::protobuf::Metadata SlideValueEvent::GetMetadata() const {
    1957           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    1958           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
    1959             : }
    1960             : 
    1961             : 
    1962             : // ===================================================================
    1963             : 
    1964           8 : void ClosingEvent::InitAsDefaultInstance() {
    1965           8 :   ::rpc::gui::_ClosingEvent_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
    1966           8 :       ::rpc::gui::Id::internal_default_instance());
    1967           8 : }
    1968           0 : void ClosingEvent::clear_panel() {
    1969           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    1970           0 :     delete panel_;
    1971             :   }
    1972           0 :   panel_ = NULL;
    1973           0 : }
    1974             : #if !defined(_MSC_VER) || _MSC_VER >= 1900
    1975             : const int ClosingEvent::kPanelFieldNumber;
    1976             : const int ClosingEvent::kGoneFieldNumber;
    1977             : #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
    1978             : 
    1979           8 : ClosingEvent::ClosingEvent()
    1980           8 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1981           8 :   ::google::protobuf::internal::InitSCC(
    1982             :       &protobuf_plotserver_5fevents_2eproto::scc_info_ClosingEvent.base);
    1983           8 :   SharedCtor();
    1984             :   // @@protoc_insertion_point(constructor:rpc.gui.ClosingEvent)
    1985           8 : }
    1986           0 : ClosingEvent::ClosingEvent(const ClosingEvent& from)
    1987             :   : ::google::protobuf::Message(),
    1988           0 :       _internal_metadata_(NULL) {
    1989           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    1990           0 :   if (from.has_panel()) {
    1991           0 :     panel_ = new ::rpc::gui::Id(*from.panel_);
    1992             :   } else {
    1993           0 :     panel_ = NULL;
    1994             :   }
    1995           0 :   gone_ = from.gone_;
    1996             :   // @@protoc_insertion_point(copy_constructor:rpc.gui.ClosingEvent)
    1997           0 : }
    1998             : 
    1999           8 : void ClosingEvent::SharedCtor() {
    2000           8 :   ::memset(&panel_, 0, static_cast<size_t>(
    2001             :       reinterpret_cast<char*>(&gone_) -
    2002             :       reinterpret_cast<char*>(&panel_)) + sizeof(gone_));
    2003           8 : }
    2004             : 
    2005           0 : ClosingEvent::~ClosingEvent() {
    2006             :   // @@protoc_insertion_point(destructor:rpc.gui.ClosingEvent)
    2007           0 :   SharedDtor();
    2008           0 : }
    2009             : 
    2010           0 : void ClosingEvent::SharedDtor() {
    2011           0 :   if (this != internal_default_instance()) delete panel_;
    2012           0 : }
    2013             : 
    2014           0 : void ClosingEvent::SetCachedSize(int size) const {
    2015           0 :   _cached_size_.Set(size);
    2016           0 : }
    2017           0 : const ::google::protobuf::Descriptor* ClosingEvent::descriptor() {
    2018           0 :   ::protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    2019           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
    2020             : }
    2021             : 
    2022           0 : const ClosingEvent& ClosingEvent::default_instance() {
    2023           0 :   ::google::protobuf::internal::InitSCC(&protobuf_plotserver_5fevents_2eproto::scc_info_ClosingEvent.base);
    2024           0 :   return *internal_default_instance();
    2025             : }
    2026             : 
    2027             : 
    2028           0 : void ClosingEvent::Clear() {
    2029             : // @@protoc_insertion_point(message_clear_start:rpc.gui.ClosingEvent)
    2030           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2031             :   // Prevent compiler warnings about cached_has_bits being unused
    2032             :   (void) cached_has_bits;
    2033             : 
    2034           0 :   if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
    2035           0 :     delete panel_;
    2036             :   }
    2037           0 :   panel_ = NULL;
    2038           0 :   gone_ = false;
    2039           0 :   _internal_metadata_.Clear();
    2040           0 : }
    2041             : 
    2042           0 : bool ClosingEvent::MergePartialFromCodedStream(
    2043             :     ::google::protobuf::io::CodedInputStream* input) {
    2044             : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
    2045             :   ::google::protobuf::uint32 tag;
    2046             :   // @@protoc_insertion_point(parse_start:rpc.gui.ClosingEvent)
    2047             :   for (;;) {
    2048             :     ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    2049           0 :     tag = p.first;
    2050           0 :     if (!p.second) goto handle_unusual;
    2051           0 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    2052             :       // .rpc.gui.Id panel = 1;
    2053           0 :       case 1: {
    2054           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2055             :             static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
    2056           0 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
    2057             :                input, mutable_panel()));
    2058             :         } else {
    2059           0 :           goto handle_unusual;
    2060             :         }
    2061           0 :         break;
    2062             :       }
    2063             : 
    2064             :       // bool gone = 2;
    2065           0 :       case 2: {
    2066           0 :         if (static_cast< ::google::protobuf::uint8>(tag) ==
    2067             :             static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
    2068             : 
    2069           0 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    2070             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
    2071             :                  input, &gone_)));
    2072             :         } else {
    2073           0 :           goto handle_unusual;
    2074             :         }
    2075           0 :         break;
    2076             :       }
    2077             : 
    2078             :       default: {
    2079           0 :       handle_unusual:
    2080           0 :         if (tag == 0) {
    2081           0 :           goto success;
    2082             :         }
    2083           0 :         DO_(::google::protobuf::internal::WireFormat::SkipField(
    2084             :               input, tag, _internal_metadata_.mutable_unknown_fields()));
    2085           0 :         break;
    2086             :       }
    2087             :     }
    2088           0 :   }
    2089           0 : success:
    2090             :   // @@protoc_insertion_point(parse_success:rpc.gui.ClosingEvent)
    2091           0 :   return true;
    2092           0 : failure:
    2093             :   // @@protoc_insertion_point(parse_failure:rpc.gui.ClosingEvent)
    2094           0 :   return false;
    2095             : #undef DO_
    2096             : }
    2097             : 
    2098           0 : void ClosingEvent::SerializeWithCachedSizes(
    2099             :     ::google::protobuf::io::CodedOutputStream* output) const {
    2100             :   // @@protoc_insertion_point(serialize_start:rpc.gui.ClosingEvent)
    2101           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2102             :   (void) cached_has_bits;
    2103             : 
    2104             :   // .rpc.gui.Id panel = 1;
    2105           0 :   if (this->has_panel()) {
    2106           0 :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    2107           0 :       1, this->_internal_panel(), output);
    2108             :   }
    2109             : 
    2110             :   // bool gone = 2;
    2111           0 :   if (this->gone() != 0) {
    2112           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->gone(), output);
    2113             :   }
    2114             : 
    2115           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2116           0 :     ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
    2117           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
    2118             :   }
    2119             :   // @@protoc_insertion_point(serialize_end:rpc.gui.ClosingEvent)
    2120           0 : }
    2121             : 
    2122           0 : ::google::protobuf::uint8* ClosingEvent::InternalSerializeWithCachedSizesToArray(
    2123             :     bool deterministic, ::google::protobuf::uint8* target) const {
    2124             :   (void)deterministic; // Unused
    2125             :   // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.ClosingEvent)
    2126           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2127             :   (void) cached_has_bits;
    2128             : 
    2129             :   // .rpc.gui.Id panel = 1;
    2130           0 :   if (this->has_panel()) {
    2131             :     target = ::google::protobuf::internal::WireFormatLite::
    2132           0 :       InternalWriteMessageToArray(
    2133             :         1, this->_internal_panel(), deterministic, target);
    2134             :   }
    2135             : 
    2136             :   // bool gone = 2;
    2137           0 :   if (this->gone() != 0) {
    2138           0 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->gone(), target);
    2139             :   }
    2140             : 
    2141           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2142           0 :     target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
    2143           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
    2144             :   }
    2145             :   // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.ClosingEvent)
    2146           0 :   return target;
    2147             : }
    2148             : 
    2149           0 : size_t ClosingEvent::ByteSizeLong() const {
    2150             : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.ClosingEvent)
    2151           0 :   size_t total_size = 0;
    2152             : 
    2153           0 :   if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    2154           0 :     total_size +=
    2155           0 :       ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
    2156           0 :         (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
    2157             :   }
    2158             :   // .rpc.gui.Id panel = 1;
    2159           0 :   if (this->has_panel()) {
    2160           0 :     total_size += 1 +
    2161           0 :       ::google::protobuf::internal::WireFormatLite::MessageSize(
    2162           0 :         *panel_);
    2163             :   }
    2164             : 
    2165             :   // bool gone = 2;
    2166           0 :   if (this->gone() != 0) {
    2167           0 :     total_size += 1 + 1;
    2168             :   }
    2169             : 
    2170           0 :   int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
    2171           0 :   SetCachedSize(cached_size);
    2172           0 :   return total_size;
    2173             : }
    2174             : 
    2175           0 : void ClosingEvent::MergeFrom(const ::google::protobuf::Message& from) {
    2176             : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.ClosingEvent)
    2177           0 :   GOOGLE_DCHECK_NE(&from, this);
    2178             :   const ClosingEvent* source =
    2179           0 :       ::google::protobuf::internal::DynamicCastToGenerated<const ClosingEvent>(
    2180             :           &from);
    2181           0 :   if (source == NULL) {
    2182             :   // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.ClosingEvent)
    2183           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    2184             :   } else {
    2185             :   // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.ClosingEvent)
    2186           0 :     MergeFrom(*source);
    2187             :   }
    2188           0 : }
    2189             : 
    2190           0 : void ClosingEvent::MergeFrom(const ClosingEvent& from) {
    2191             : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.ClosingEvent)
    2192           0 :   GOOGLE_DCHECK_NE(&from, this);
    2193           0 :   _internal_metadata_.MergeFrom(from._internal_metadata_);
    2194           0 :   ::google::protobuf::uint32 cached_has_bits = 0;
    2195             :   (void) cached_has_bits;
    2196             : 
    2197           0 :   if (from.has_panel()) {
    2198           0 :     mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
    2199             :   }
    2200           0 :   if (from.gone() != 0) {
    2201           0 :     set_gone(from.gone());
    2202             :   }
    2203           0 : }
    2204             : 
    2205           0 : void ClosingEvent::CopyFrom(const ::google::protobuf::Message& from) {
    2206             : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.ClosingEvent)
    2207           0 :   if (&from == this) return;
    2208           0 :   Clear();
    2209           0 :   MergeFrom(from);
    2210             : }
    2211             : 
    2212           0 : void ClosingEvent::CopyFrom(const ClosingEvent& from) {
    2213             : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.ClosingEvent)
    2214           0 :   if (&from == this) return;
    2215           0 :   Clear();
    2216           0 :   MergeFrom(from);
    2217             : }
    2218             : 
    2219           0 : bool ClosingEvent::IsInitialized() const {
    2220           0 :   return true;
    2221             : }
    2222             : 
    2223           0 : void ClosingEvent::Swap(ClosingEvent* other) {
    2224           0 :   if (other == this) return;
    2225           0 :   InternalSwap(other);
    2226             : }
    2227           0 : void ClosingEvent::InternalSwap(ClosingEvent* other) {
    2228             :   using std::swap;
    2229           0 :   swap(panel_, other->panel_);
    2230           0 :   swap(gone_, other->gone_);
    2231           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    2232           0 : }
    2233             : 
    2234           0 : ::google::protobuf::Metadata ClosingEvent::GetMetadata() const {
    2235           0 :   protobuf_plotserver_5fevents_2eproto::protobuf_AssignDescriptorsOnce();
    2236           0 :   return ::protobuf_plotserver_5fevents_2eproto::file_level_metadata[kIndexInFileMessages];
    2237             : }
    2238             : 
    2239             : 
    2240             : // @@protoc_insertion_point(namespace_scope)
    2241             : }  // namespace gui
    2242             : }  // namespace rpc
    2243             : namespace google {
    2244             : namespace protobuf {
    2245           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::ButtonEvent* Arena::CreateMaybeMessage< ::rpc::gui::ButtonEvent >(Arena* arena) {
    2246           0 :   return Arena::CreateInternal< ::rpc::gui::ButtonEvent >(arena);
    2247             : }
    2248           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::CheckEvent* Arena::CreateMaybeMessage< ::rpc::gui::CheckEvent >(Arena* arena) {
    2249           0 :   return Arena::CreateInternal< ::rpc::gui::CheckEvent >(arena);
    2250             : }
    2251           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::RadioEvent* Arena::CreateMaybeMessage< ::rpc::gui::RadioEvent >(Arena* arena) {
    2252           0 :   return Arena::CreateInternal< ::rpc::gui::RadioEvent >(arena);
    2253             : }
    2254           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::LineTextEvent* Arena::CreateMaybeMessage< ::rpc::gui::LineTextEvent >(Arena* arena) {
    2255           0 :   return Arena::CreateInternal< ::rpc::gui::LineTextEvent >(arena);
    2256             : }
    2257           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::SlideValueEvent* Arena::CreateMaybeMessage< ::rpc::gui::SlideValueEvent >(Arena* arena) {
    2258           0 :   return Arena::CreateInternal< ::rpc::gui::SlideValueEvent >(arena);
    2259             : }
    2260           0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::ClosingEvent* Arena::CreateMaybeMessage< ::rpc::gui::ClosingEvent >(Arena* arena) {
    2261           0 :   return Arena::CreateInternal< ::rpc::gui::ClosingEvent >(arena);
    2262             : }
    2263             : }  // namespace protobuf
    2264             : }  // namespace google
    2265             : 
    2266             : // @@protoc_insertion_point(global_scope)

Generated by: LCOV version 1.16