Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // source: plotserver.proto
3 :
4 : #include "plotserver.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 IdDefaultTypeInternal {
28 : public:
29 : ::google::protobuf::internal::ExplicitlyConstructed<Id>
30 : _instance;
31 : } _Id_default_instance_;
32 : class NewPanelDefaultTypeInternal {
33 : public:
34 : ::google::protobuf::internal::ExplicitlyConstructed<NewPanel>
35 : _instance;
36 : } _NewPanel_default_instance_;
37 : class ColorsDefaultTypeInternal {
38 : public:
39 : ::google::protobuf::internal::ExplicitlyConstructed<Colors>
40 : _instance;
41 : } _Colors_default_instance_;
42 : class ColorMapsDefaultTypeInternal {
43 : public:
44 : ::google::protobuf::internal::ExplicitlyConstructed<ColorMaps>
45 : _instance;
46 : } _ColorMaps_default_instance_;
47 : class SymbolsDefaultTypeInternal {
48 : public:
49 : ::google::protobuf::internal::ExplicitlyConstructed<Symbols>
50 : _instance;
51 : } _Symbols_default_instance_;
52 : class NewLineDefaultTypeInternal {
53 : public:
54 : ::google::protobuf::internal::ExplicitlyConstructed<NewLine>
55 : _instance;
56 : } _NewLine_default_instance_;
57 : class NewScatterDefaultTypeInternal {
58 : public:
59 : ::google::protobuf::internal::ExplicitlyConstructed<NewScatter>
60 : _instance;
61 : } _NewScatter_default_instance_;
62 : class NewHistogramDefaultTypeInternal {
63 : public:
64 : ::google::protobuf::internal::ExplicitlyConstructed<NewHistogram>
65 : _instance;
66 : } _NewHistogram_default_instance_;
67 : class NewRasterDefaultTypeInternal {
68 : public:
69 : ::google::protobuf::internal::ExplicitlyConstructed<NewRaster>
70 : _instance;
71 : } _NewRaster_default_instance_;
72 : class LabelDefaultTypeInternal {
73 : public:
74 : ::google::protobuf::internal::ExplicitlyConstructed<Label>
75 : _instance;
76 : } _Label_default_instance_;
77 : class DockSpecDefaultTypeInternal {
78 : public:
79 : ::google::protobuf::internal::ExplicitlyConstructed<DockSpec>
80 : _instance;
81 : } _DockSpec_default_instance_;
82 : } // namespace gui
83 : } // namespace rpc
84 : namespace protobuf_plotserver_2eproto {
85 10 : static void InitDefaultsId() {
86 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
87 :
88 : {
89 10 : void* ptr = &::rpc::gui::_Id_default_instance_;
90 10 : new (ptr) ::rpc::gui::Id();
91 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
92 : }
93 10 : ::rpc::gui::Id::InitAsDefaultInstance();
94 10 : }
95 :
96 : ::google::protobuf::internal::SCCInfo<0> scc_info_Id =
97 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsId}, {}};
98 :
99 10 : static void InitDefaultsNewPanel() {
100 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
101 :
102 : {
103 10 : void* ptr = &::rpc::gui::_NewPanel_default_instance_;
104 10 : new (ptr) ::rpc::gui::NewPanel();
105 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
106 : }
107 10 : ::rpc::gui::NewPanel::InitAsDefaultInstance();
108 10 : }
109 :
110 : ::google::protobuf::internal::SCCInfo<0> scc_info_NewPanel =
111 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNewPanel}, {}};
112 :
113 10 : static void InitDefaultsColors() {
114 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
115 :
116 : {
117 10 : void* ptr = &::rpc::gui::_Colors_default_instance_;
118 10 : new (ptr) ::rpc::gui::Colors();
119 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
120 : }
121 10 : ::rpc::gui::Colors::InitAsDefaultInstance();
122 10 : }
123 :
124 : ::google::protobuf::internal::SCCInfo<0> scc_info_Colors =
125 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsColors}, {}};
126 :
127 10 : static void InitDefaultsColorMaps() {
128 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
129 :
130 : {
131 10 : void* ptr = &::rpc::gui::_ColorMaps_default_instance_;
132 10 : new (ptr) ::rpc::gui::ColorMaps();
133 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
134 : }
135 10 : ::rpc::gui::ColorMaps::InitAsDefaultInstance();
136 10 : }
137 :
138 : ::google::protobuf::internal::SCCInfo<0> scc_info_ColorMaps =
139 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsColorMaps}, {}};
140 :
141 10 : static void InitDefaultsSymbols() {
142 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
143 :
144 : {
145 10 : void* ptr = &::rpc::gui::_Symbols_default_instance_;
146 10 : new (ptr) ::rpc::gui::Symbols();
147 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
148 : }
149 10 : ::rpc::gui::Symbols::InitAsDefaultInstance();
150 10 : }
151 :
152 : ::google::protobuf::internal::SCCInfo<0> scc_info_Symbols =
153 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSymbols}, {}};
154 :
155 10 : static void InitDefaultsNewLine() {
156 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
157 :
158 : {
159 10 : void* ptr = &::rpc::gui::_NewLine_default_instance_;
160 10 : new (ptr) ::rpc::gui::NewLine();
161 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
162 : }
163 10 : ::rpc::gui::NewLine::InitAsDefaultInstance();
164 10 : }
165 :
166 : ::google::protobuf::internal::SCCInfo<1> scc_info_NewLine =
167 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNewLine}, {
168 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
169 :
170 10 : static void InitDefaultsNewScatter() {
171 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
172 :
173 : {
174 10 : void* ptr = &::rpc::gui::_NewScatter_default_instance_;
175 10 : new (ptr) ::rpc::gui::NewScatter();
176 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
177 : }
178 10 : ::rpc::gui::NewScatter::InitAsDefaultInstance();
179 10 : }
180 :
181 : ::google::protobuf::internal::SCCInfo<1> scc_info_NewScatter =
182 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNewScatter}, {
183 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
184 :
185 10 : static void InitDefaultsNewHistogram() {
186 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
187 :
188 : {
189 10 : void* ptr = &::rpc::gui::_NewHistogram_default_instance_;
190 10 : new (ptr) ::rpc::gui::NewHistogram();
191 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
192 : }
193 10 : ::rpc::gui::NewHistogram::InitAsDefaultInstance();
194 10 : }
195 :
196 : ::google::protobuf::internal::SCCInfo<1> scc_info_NewHistogram =
197 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNewHistogram}, {
198 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
199 :
200 10 : static void InitDefaultsNewRaster() {
201 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
202 :
203 : {
204 10 : void* ptr = &::rpc::gui::_NewRaster_default_instance_;
205 10 : new (ptr) ::rpc::gui::NewRaster();
206 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
207 : }
208 10 : ::rpc::gui::NewRaster::InitAsDefaultInstance();
209 10 : }
210 :
211 : ::google::protobuf::internal::SCCInfo<1> scc_info_NewRaster =
212 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNewRaster}, {
213 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
214 :
215 10 : static void InitDefaultsLabel() {
216 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
217 :
218 : {
219 10 : void* ptr = &::rpc::gui::_Label_default_instance_;
220 10 : new (ptr) ::rpc::gui::Label();
221 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
222 : }
223 10 : ::rpc::gui::Label::InitAsDefaultInstance();
224 10 : }
225 :
226 : ::google::protobuf::internal::SCCInfo<1> scc_info_Label =
227 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLabel}, {
228 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
229 :
230 10 : static void InitDefaultsDockSpec() {
231 10 : GOOGLE_PROTOBUF_VERIFY_VERSION;
232 :
233 : {
234 10 : void* ptr = &::rpc::gui::_DockSpec_default_instance_;
235 10 : new (ptr) ::rpc::gui::DockSpec();
236 10 : ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
237 : }
238 10 : ::rpc::gui::DockSpec::InitAsDefaultInstance();
239 10 : }
240 :
241 : ::google::protobuf::internal::SCCInfo<1> scc_info_DockSpec =
242 : {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDockSpec}, {
243 : &protobuf_plotserver_2eproto::scc_info_Id.base,}};
244 :
245 10 : void InitDefaults() {
246 10 : ::google::protobuf::internal::InitSCC(&scc_info_Id.base);
247 10 : ::google::protobuf::internal::InitSCC(&scc_info_NewPanel.base);
248 10 : ::google::protobuf::internal::InitSCC(&scc_info_Colors.base);
249 10 : ::google::protobuf::internal::InitSCC(&scc_info_ColorMaps.base);
250 10 : ::google::protobuf::internal::InitSCC(&scc_info_Symbols.base);
251 10 : ::google::protobuf::internal::InitSCC(&scc_info_NewLine.base);
252 10 : ::google::protobuf::internal::InitSCC(&scc_info_NewScatter.base);
253 10 : ::google::protobuf::internal::InitSCC(&scc_info_NewHistogram.base);
254 10 : ::google::protobuf::internal::InitSCC(&scc_info_NewRaster.base);
255 10 : ::google::protobuf::internal::InitSCC(&scc_info_Label.base);
256 10 : ::google::protobuf::internal::InitSCC(&scc_info_DockSpec.base);
257 10 : }
258 :
259 : ::google::protobuf::Metadata file_level_metadata[11];
260 :
261 : const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
262 : ~0u, // no _has_bits_
263 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Id, _internal_metadata_),
264 : ~0u, // no _extensions_
265 : ~0u, // no _oneof_case_
266 : ~0u, // no _weak_field_map_
267 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Id, id_),
268 : ~0u, // no _has_bits_
269 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, _internal_metadata_),
270 : ~0u, // no _extensions_
271 : ~0u, // no _oneof_case_
272 : ~0u, // no _weak_field_map_
273 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, title_),
274 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, xlabel_),
275 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, ylabel_),
276 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, window_title_),
277 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, size_),
278 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, legend_),
279 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, zoom_),
280 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, with_panel_),
281 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, new_row_),
282 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewPanel, hidden_),
283 : ~0u, // no _has_bits_
284 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Colors, _internal_metadata_),
285 : ~0u, // no _extensions_
286 : ~0u, // no _oneof_case_
287 : ~0u, // no _weak_field_map_
288 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Colors, names_),
289 : ~0u, // no _has_bits_
290 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ColorMaps, _internal_metadata_),
291 : ~0u, // no _extensions_
292 : ~0u, // no _oneof_case_
293 : ~0u, // no _weak_field_map_
294 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::ColorMaps, names_),
295 : ~0u, // no _has_bits_
296 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Symbols, _internal_metadata_),
297 : ~0u, // no _extensions_
298 : ~0u, // no _oneof_case_
299 : ~0u, // no _weak_field_map_
300 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Symbols, names_),
301 : ~0u, // no _has_bits_
302 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, _internal_metadata_),
303 : ~0u, // no _extensions_
304 : ~0u, // no _oneof_case_
305 : ~0u, // no _weak_field_map_
306 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, x_),
307 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, y_),
308 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, color_),
309 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, label_),
310 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewLine, panel_),
311 : ~0u, // no _has_bits_
312 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, _internal_metadata_),
313 : ~0u, // no _extensions_
314 : ~0u, // no _oneof_case_
315 : ~0u, // no _weak_field_map_
316 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, x_),
317 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, y_),
318 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, color_),
319 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, label_),
320 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, symbol_),
321 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, symbol_size_),
322 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, dot_size_),
323 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewScatter, panel_),
324 : ~0u, // no _has_bits_
325 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, _internal_metadata_),
326 : ~0u, // no _extensions_
327 : ~0u, // no _oneof_case_
328 : ~0u, // no _weak_field_map_
329 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, values_),
330 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, bins_),
331 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, color_),
332 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, label_),
333 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewHistogram, panel_),
334 : ~0u, // no _has_bits_
335 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, _internal_metadata_),
336 : ~0u, // no _extensions_
337 : ~0u, // no _oneof_case_
338 : ~0u, // no _weak_field_map_
339 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, matrix_),
340 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, sizex_),
341 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, sizey_),
342 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, colormap_),
343 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::NewRaster, panel_),
344 : ~0u, // no _has_bits_
345 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Label, _internal_metadata_),
346 : ~0u, // no _extensions_
347 : ~0u, // no _oneof_case_
348 : ~0u, // no _weak_field_map_
349 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Label, xlabel_),
350 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Label, ylabel_),
351 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Label, title_),
352 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::Label, panel_),
353 : ~0u, // no _has_bits_
354 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::DockSpec, _internal_metadata_),
355 : ~0u, // no _extensions_
356 : ~0u, // no _oneof_case_
357 : ~0u, // no _weak_field_map_
358 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::DockSpec, file_or_xml_),
359 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::DockSpec, loc_),
360 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::DockSpec, dockable_),
361 : GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rpc::gui::DockSpec, panel_),
362 : };
363 : static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
364 : { 0, -1, sizeof(::rpc::gui::Id)},
365 : { 6, -1, sizeof(::rpc::gui::NewPanel)},
366 : { 21, -1, sizeof(::rpc::gui::Colors)},
367 : { 27, -1, sizeof(::rpc::gui::ColorMaps)},
368 : { 33, -1, sizeof(::rpc::gui::Symbols)},
369 : { 39, -1, sizeof(::rpc::gui::NewLine)},
370 : { 49, -1, sizeof(::rpc::gui::NewScatter)},
371 : { 62, -1, sizeof(::rpc::gui::NewHistogram)},
372 : { 72, -1, sizeof(::rpc::gui::NewRaster)},
373 : { 82, -1, sizeof(::rpc::gui::Label)},
374 : { 91, -1, sizeof(::rpc::gui::DockSpec)},
375 : };
376 :
377 : static ::google::protobuf::Message const * const file_default_instances[] = {
378 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_Id_default_instance_),
379 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_NewPanel_default_instance_),
380 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_Colors_default_instance_),
381 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_ColorMaps_default_instance_),
382 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_Symbols_default_instance_),
383 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_NewLine_default_instance_),
384 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_NewScatter_default_instance_),
385 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_NewHistogram_default_instance_),
386 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_NewRaster_default_instance_),
387 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_Label_default_instance_),
388 : reinterpret_cast<const ::google::protobuf::Message*>(&::rpc::gui::_DockSpec_default_instance_),
389 : };
390 :
391 0 : void protobuf_AssignDescriptors() {
392 0 : AddDescriptors();
393 0 : AssignDescriptors(
394 : "plotserver.proto", schemas, file_default_instances, TableStruct::offsets,
395 : file_level_metadata, NULL, NULL);
396 0 : }
397 :
398 0 : void protobuf_AssignDescriptorsOnce() {
399 : static ::google::protobuf::internal::once_flag once;
400 0 : ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
401 0 : }
402 :
403 : void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
404 0 : void protobuf_RegisterTypes(const ::std::string&) {
405 0 : protobuf_AssignDescriptorsOnce();
406 0 : ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 11);
407 0 : }
408 :
409 10 : void AddDescriptorsImpl() {
410 10 : InitDefaults();
411 : static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
412 : "\n\020plotserver.proto\022\007rpc.gui\032\033google/prot"
413 : "obuf/empty.proto\032\036google/protobuf/wrappe"
414 : "rs.proto\"\020\n\002Id\022\n\n\002id\030\001 \001(\005\"\260\001\n\010NewPanel\022"
415 : "\r\n\005title\030\001 \001(\t\022\016\n\006xlabel\030\002 \001(\t\022\016\n\006ylabel"
416 : "\030\003 \001(\t\022\024\n\014window_title\030\004 \001(\t\022\014\n\004size\030\005 \003"
417 : "(\005\022\016\n\006legend\030\006 \001(\t\022\014\n\004zoom\030\007 \001(\t\022\022\n\nwith"
418 : "_panel\030\010 \001(\005\022\017\n\007new_row\030\t \001(\010\022\016\n\006hidden\030"
419 : "\n \001(\010\"\027\n\006Colors\022\r\n\005names\030\001 \003(\t\"\032\n\tColorM"
420 : "aps\022\r\n\005names\030\001 \003(\t\"\030\n\007Symbols\022\r\n\005names\030\001"
421 : " \003(\t\"Y\n\007NewLine\022\t\n\001x\030\001 \003(\001\022\t\n\001y\030\002 \003(\001\022\r\n"
422 : "\005color\030\003 \001(\t\022\r\n\005label\030\004 \001(\t\022\032\n\005panel\030\005 \001"
423 : "(\0132\013.rpc.gui.Id\"\223\001\n\nNewScatter\022\t\n\001x\030\001 \003("
424 : "\001\022\t\n\001y\030\002 \003(\001\022\r\n\005color\030\003 \001(\t\022\r\n\005label\030\004 \001"
425 : "(\t\022\016\n\006symbol\030\005 \001(\t\022\023\n\013symbol_size\030\006 \001(\005\022"
426 : "\020\n\010dot_size\030\007 \001(\005\022\032\n\005panel\030\010 \001(\0132\013.rpc.g"
427 : "ui.Id\"f\n\014NewHistogram\022\016\n\006values\030\001 \003(\001\022\014\n"
428 : "\004bins\030\002 \001(\005\022\r\n\005color\030\003 \001(\t\022\r\n\005label\030\004 \001("
429 : "\t\022\032\n\005panel\030\005 \001(\0132\013.rpc.gui.Id\"g\n\tNewRast"
430 : "er\022\016\n\006matrix\030\001 \003(\001\022\r\n\005sizex\030\002 \001(\005\022\r\n\005siz"
431 : "ey\030\003 \001(\005\022\020\n\010colormap\030\004 \001(\t\022\032\n\005panel\030\005 \001("
432 : "\0132\013.rpc.gui.Id\"R\n\005Label\022\016\n\006xlabel\030\001 \001(\t\022"
433 : "\016\n\006ylabel\030\002 \001(\t\022\r\n\005title\030\003 \001(\t\022\032\n\005panel\030"
434 : "\004 \001(\0132\013.rpc.gui.Id\"Z\n\010DockSpec\022\023\n\013file_o"
435 : "r_xml\030\001 \001(\t\022\013\n\003loc\030\002 \001(\t\022\020\n\010dockable\030\003 \003"
436 : "(\t\022\032\n\005panel\030\004 \001(\0132\013.rpc.gui.Id2\204\006\n\nplots"
437 : "erver\022\'\n\005panel\022\021.rpc.gui.NewPanel\032\013.rpc."
438 : "gui.Id\0221\n\006colors\022\026.google.protobuf.Empty"
439 : "\032\017.rpc.gui.Colors\0227\n\tcolormaps\022\026.google."
440 : "protobuf.Empty\032\022.rpc.gui.ColorMaps\0223\n\007sy"
441 : "mbols\022\026.google.protobuf.Empty\032\020.rpc.gui."
442 : "Symbols\022%\n\004line\022\020.rpc.gui.NewLine\032\013.rpc."
443 : "gui.Id\022+\n\007scatter\022\023.rpc.gui.NewScatter\032\013"
444 : ".rpc.gui.Id\022/\n\thistogram\022\025.rpc.gui.NewHi"
445 : "stogram\032\013.rpc.gui.Id\022)\n\006raster\022\022.rpc.gui"
446 : ".NewRaster\032\013.rpc.gui.Id\0222\n\010setlabel\022\016.rp"
447 : "c.gui.Label\032\026.google.protobuf.Empty\022,\n\005e"
448 : "rase\022\013.rpc.gui.Id\032\026.google.protobuf.Empt"
449 : "y\022,\n\005close\022\013.rpc.gui.Id\032\026.google.protobu"
450 : "f.Empty\022.\n\007release\022\013.rpc.gui.Id\032\026.google"
451 : ".protobuf.Empty\022+\n\004hide\022\013.rpc.gui.Id\032\026.g"
452 : "oogle.protobuf.Empty\022+\n\004show\022\013.rpc.gui.I"
453 : "d\032\026.google.protobuf.Empty\022*\n\010loaddock\022\021."
454 : "rpc.gui.DockSpec\032\013.rpc.gui.Id\0226\n\004done\022\026."
455 : "google.protobuf.Empty\032\026.google.protobuf."
456 : "Emptyb\006proto3"
457 : };
458 10 : ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
459 : descriptor, 1773);
460 10 : ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
461 : "plotserver.proto", &protobuf_RegisterTypes);
462 10 : ::protobuf_google_2fprotobuf_2fempty_2eproto::AddDescriptors();
463 10 : ::protobuf_google_2fprotobuf_2fwrappers_2eproto::AddDescriptors();
464 10 : }
465 :
466 20 : void AddDescriptors() {
467 : static ::google::protobuf::internal::once_flag once;
468 20 : ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
469 20 : }
470 : // Force AddDescriptors() to be called at dynamic initialization time.
471 : struct StaticDescriptorInitializer {
472 10 : StaticDescriptorInitializer() {
473 10 : AddDescriptors();
474 10 : }
475 : } static_descriptor_initializer;
476 : } // namespace protobuf_plotserver_2eproto
477 : namespace rpc {
478 : namespace gui {
479 :
480 : // ===================================================================
481 :
482 10 : void Id::InitAsDefaultInstance() {
483 10 : }
484 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
485 : const int Id::kIdFieldNumber;
486 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
487 :
488 10 : Id::Id()
489 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
490 10 : ::google::protobuf::internal::InitSCC(
491 : &protobuf_plotserver_2eproto::scc_info_Id.base);
492 10 : SharedCtor();
493 : // @@protoc_insertion_point(constructor:rpc.gui.Id)
494 10 : }
495 0 : Id::Id(const Id& from)
496 : : ::google::protobuf::Message(),
497 0 : _internal_metadata_(NULL) {
498 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
499 0 : id_ = from.id_;
500 : // @@protoc_insertion_point(copy_constructor:rpc.gui.Id)
501 0 : }
502 :
503 10 : void Id::SharedCtor() {
504 10 : id_ = 0;
505 10 : }
506 :
507 0 : Id::~Id() {
508 : // @@protoc_insertion_point(destructor:rpc.gui.Id)
509 0 : SharedDtor();
510 0 : }
511 :
512 0 : void Id::SharedDtor() {
513 0 : }
514 :
515 0 : void Id::SetCachedSize(int size) const {
516 0 : _cached_size_.Set(size);
517 0 : }
518 0 : const ::google::protobuf::Descriptor* Id::descriptor() {
519 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
520 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
521 : }
522 :
523 0 : const Id& Id::default_instance() {
524 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_Id.base);
525 0 : return *internal_default_instance();
526 : }
527 :
528 :
529 0 : void Id::Clear() {
530 : // @@protoc_insertion_point(message_clear_start:rpc.gui.Id)
531 0 : ::google::protobuf::uint32 cached_has_bits = 0;
532 : // Prevent compiler warnings about cached_has_bits being unused
533 : (void) cached_has_bits;
534 :
535 0 : id_ = 0;
536 0 : _internal_metadata_.Clear();
537 0 : }
538 :
539 0 : bool Id::MergePartialFromCodedStream(
540 : ::google::protobuf::io::CodedInputStream* input) {
541 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
542 : ::google::protobuf::uint32 tag;
543 : // @@protoc_insertion_point(parse_start:rpc.gui.Id)
544 : for (;;) {
545 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
546 0 : tag = p.first;
547 0 : if (!p.second) goto handle_unusual;
548 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
549 : // int32 id = 1;
550 0 : case 1: {
551 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
552 : static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
553 :
554 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
555 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
556 : input, &id_)));
557 : } else {
558 0 : goto handle_unusual;
559 : }
560 0 : break;
561 : }
562 :
563 : default: {
564 0 : handle_unusual:
565 0 : if (tag == 0) {
566 0 : goto success;
567 : }
568 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
569 : input, tag, _internal_metadata_.mutable_unknown_fields()));
570 0 : break;
571 : }
572 : }
573 0 : }
574 0 : success:
575 : // @@protoc_insertion_point(parse_success:rpc.gui.Id)
576 0 : return true;
577 0 : failure:
578 : // @@protoc_insertion_point(parse_failure:rpc.gui.Id)
579 0 : return false;
580 : #undef DO_
581 : }
582 :
583 0 : void Id::SerializeWithCachedSizes(
584 : ::google::protobuf::io::CodedOutputStream* output) const {
585 : // @@protoc_insertion_point(serialize_start:rpc.gui.Id)
586 0 : ::google::protobuf::uint32 cached_has_bits = 0;
587 : (void) cached_has_bits;
588 :
589 : // int32 id = 1;
590 0 : if (this->id() != 0) {
591 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
592 : }
593 :
594 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
595 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
596 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
597 : }
598 : // @@protoc_insertion_point(serialize_end:rpc.gui.Id)
599 0 : }
600 :
601 0 : ::google::protobuf::uint8* Id::InternalSerializeWithCachedSizesToArray(
602 : bool deterministic, ::google::protobuf::uint8* target) const {
603 : (void)deterministic; // Unused
604 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.Id)
605 0 : ::google::protobuf::uint32 cached_has_bits = 0;
606 : (void) cached_has_bits;
607 :
608 : // int32 id = 1;
609 0 : if (this->id() != 0) {
610 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
611 : }
612 :
613 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
614 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
615 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
616 : }
617 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.Id)
618 0 : return target;
619 : }
620 :
621 0 : size_t Id::ByteSizeLong() const {
622 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.Id)
623 0 : size_t total_size = 0;
624 :
625 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
626 0 : total_size +=
627 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
628 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
629 : }
630 : // int32 id = 1;
631 0 : if (this->id() != 0) {
632 0 : total_size += 1 +
633 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
634 : this->id());
635 : }
636 :
637 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
638 0 : SetCachedSize(cached_size);
639 0 : return total_size;
640 : }
641 :
642 0 : void Id::MergeFrom(const ::google::protobuf::Message& from) {
643 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.Id)
644 0 : GOOGLE_DCHECK_NE(&from, this);
645 : const Id* source =
646 0 : ::google::protobuf::internal::DynamicCastToGenerated<const Id>(
647 : &from);
648 0 : if (source == NULL) {
649 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.Id)
650 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
651 : } else {
652 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.Id)
653 0 : MergeFrom(*source);
654 : }
655 0 : }
656 :
657 0 : void Id::MergeFrom(const Id& from) {
658 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.Id)
659 0 : GOOGLE_DCHECK_NE(&from, this);
660 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
661 0 : ::google::protobuf::uint32 cached_has_bits = 0;
662 : (void) cached_has_bits;
663 :
664 0 : if (from.id() != 0) {
665 0 : set_id(from.id());
666 : }
667 0 : }
668 :
669 0 : void Id::CopyFrom(const ::google::protobuf::Message& from) {
670 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.Id)
671 0 : if (&from == this) return;
672 0 : Clear();
673 0 : MergeFrom(from);
674 : }
675 :
676 0 : void Id::CopyFrom(const Id& from) {
677 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.Id)
678 0 : if (&from == this) return;
679 0 : Clear();
680 0 : MergeFrom(from);
681 : }
682 :
683 0 : bool Id::IsInitialized() const {
684 0 : return true;
685 : }
686 :
687 0 : void Id::Swap(Id* other) {
688 0 : if (other == this) return;
689 0 : InternalSwap(other);
690 : }
691 0 : void Id::InternalSwap(Id* other) {
692 : using std::swap;
693 0 : swap(id_, other->id_);
694 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
695 0 : }
696 :
697 0 : ::google::protobuf::Metadata Id::GetMetadata() const {
698 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
699 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
700 : }
701 :
702 :
703 : // ===================================================================
704 :
705 10 : void NewPanel::InitAsDefaultInstance() {
706 10 : }
707 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
708 : const int NewPanel::kTitleFieldNumber;
709 : const int NewPanel::kXlabelFieldNumber;
710 : const int NewPanel::kYlabelFieldNumber;
711 : const int NewPanel::kWindowTitleFieldNumber;
712 : const int NewPanel::kSizeFieldNumber;
713 : const int NewPanel::kLegendFieldNumber;
714 : const int NewPanel::kZoomFieldNumber;
715 : const int NewPanel::kWithPanelFieldNumber;
716 : const int NewPanel::kNewRowFieldNumber;
717 : const int NewPanel::kHiddenFieldNumber;
718 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
719 :
720 10 : NewPanel::NewPanel()
721 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
722 10 : ::google::protobuf::internal::InitSCC(
723 : &protobuf_plotserver_2eproto::scc_info_NewPanel.base);
724 10 : SharedCtor();
725 : // @@protoc_insertion_point(constructor:rpc.gui.NewPanel)
726 10 : }
727 0 : NewPanel::NewPanel(const NewPanel& from)
728 : : ::google::protobuf::Message(),
729 0 : _internal_metadata_(NULL),
730 0 : size_(from.size_) {
731 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
732 0 : title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
733 0 : if (from.title().size() > 0) {
734 0 : title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
735 : }
736 0 : xlabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
737 0 : if (from.xlabel().size() > 0) {
738 0 : xlabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.xlabel_);
739 : }
740 0 : ylabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
741 0 : if (from.ylabel().size() > 0) {
742 0 : ylabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ylabel_);
743 : }
744 0 : window_title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
745 0 : if (from.window_title().size() > 0) {
746 0 : window_title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.window_title_);
747 : }
748 0 : legend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
749 0 : if (from.legend().size() > 0) {
750 0 : legend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.legend_);
751 : }
752 0 : zoom_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
753 0 : if (from.zoom().size() > 0) {
754 0 : zoom_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zoom_);
755 : }
756 0 : ::memcpy(&with_panel_, &from.with_panel_,
757 : static_cast<size_t>(reinterpret_cast<char*>(&hidden_) -
758 : reinterpret_cast<char*>(&with_panel_)) + sizeof(hidden_));
759 : // @@protoc_insertion_point(copy_constructor:rpc.gui.NewPanel)
760 0 : }
761 :
762 10 : void NewPanel::SharedCtor() {
763 10 : title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
764 10 : xlabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
765 10 : ylabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
766 10 : window_title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
767 10 : legend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
768 10 : zoom_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
769 10 : ::memset(&with_panel_, 0, static_cast<size_t>(
770 : reinterpret_cast<char*>(&hidden_) -
771 : reinterpret_cast<char*>(&with_panel_)) + sizeof(hidden_));
772 10 : }
773 :
774 0 : NewPanel::~NewPanel() {
775 : // @@protoc_insertion_point(destructor:rpc.gui.NewPanel)
776 0 : SharedDtor();
777 0 : }
778 :
779 0 : void NewPanel::SharedDtor() {
780 0 : title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
781 0 : xlabel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
782 0 : ylabel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
783 0 : window_title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
784 0 : legend_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
785 0 : zoom_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
786 0 : }
787 :
788 0 : void NewPanel::SetCachedSize(int size) const {
789 0 : _cached_size_.Set(size);
790 0 : }
791 0 : const ::google::protobuf::Descriptor* NewPanel::descriptor() {
792 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
793 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
794 : }
795 :
796 0 : const NewPanel& NewPanel::default_instance() {
797 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_NewPanel.base);
798 0 : return *internal_default_instance();
799 : }
800 :
801 :
802 0 : void NewPanel::Clear() {
803 : // @@protoc_insertion_point(message_clear_start:rpc.gui.NewPanel)
804 0 : ::google::protobuf::uint32 cached_has_bits = 0;
805 : // Prevent compiler warnings about cached_has_bits being unused
806 : (void) cached_has_bits;
807 :
808 0 : size_.Clear();
809 0 : title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
810 0 : xlabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
811 0 : ylabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
812 0 : window_title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
813 0 : legend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
814 0 : zoom_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
815 0 : ::memset(&with_panel_, 0, static_cast<size_t>(
816 : reinterpret_cast<char*>(&hidden_) -
817 : reinterpret_cast<char*>(&with_panel_)) + sizeof(hidden_));
818 0 : _internal_metadata_.Clear();
819 0 : }
820 :
821 0 : bool NewPanel::MergePartialFromCodedStream(
822 : ::google::protobuf::io::CodedInputStream* input) {
823 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
824 : ::google::protobuf::uint32 tag;
825 : // @@protoc_insertion_point(parse_start:rpc.gui.NewPanel)
826 : for (;;) {
827 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
828 0 : tag = p.first;
829 0 : if (!p.second) goto handle_unusual;
830 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
831 : // string title = 1;
832 0 : case 1: {
833 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
834 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
835 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
836 : input, this->mutable_title()));
837 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
838 : this->title().data(), static_cast<int>(this->title().length()),
839 : ::google::protobuf::internal::WireFormatLite::PARSE,
840 : "rpc.gui.NewPanel.title"));
841 : } else {
842 0 : goto handle_unusual;
843 : }
844 0 : break;
845 : }
846 :
847 : // string xlabel = 2;
848 0 : case 2: {
849 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
850 : static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
851 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
852 : input, this->mutable_xlabel()));
853 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
854 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
855 : ::google::protobuf::internal::WireFormatLite::PARSE,
856 : "rpc.gui.NewPanel.xlabel"));
857 : } else {
858 0 : goto handle_unusual;
859 : }
860 0 : break;
861 : }
862 :
863 : // string ylabel = 3;
864 0 : case 3: {
865 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
866 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
867 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
868 : input, this->mutable_ylabel()));
869 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
870 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
871 : ::google::protobuf::internal::WireFormatLite::PARSE,
872 : "rpc.gui.NewPanel.ylabel"));
873 : } else {
874 0 : goto handle_unusual;
875 : }
876 0 : break;
877 : }
878 :
879 : // string window_title = 4;
880 0 : case 4: {
881 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
882 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
883 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
884 : input, this->mutable_window_title()));
885 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
886 : this->window_title().data(), static_cast<int>(this->window_title().length()),
887 : ::google::protobuf::internal::WireFormatLite::PARSE,
888 : "rpc.gui.NewPanel.window_title"));
889 : } else {
890 0 : goto handle_unusual;
891 : }
892 0 : break;
893 : }
894 :
895 : // repeated int32 size = 5;
896 0 : case 5: {
897 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
898 : static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
899 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
900 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
901 : input, this->mutable_size())));
902 0 : } else if (
903 0 : static_cast< ::google::protobuf::uint8>(tag) ==
904 : static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
905 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
906 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
907 : 1, 42u, input, this->mutable_size())));
908 : } else {
909 0 : goto handle_unusual;
910 : }
911 0 : break;
912 : }
913 :
914 : // string legend = 6;
915 0 : case 6: {
916 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
917 : static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
918 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
919 : input, this->mutable_legend()));
920 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
921 : this->legend().data(), static_cast<int>(this->legend().length()),
922 : ::google::protobuf::internal::WireFormatLite::PARSE,
923 : "rpc.gui.NewPanel.legend"));
924 : } else {
925 0 : goto handle_unusual;
926 : }
927 0 : break;
928 : }
929 :
930 : // string zoom = 7;
931 0 : case 7: {
932 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
933 : static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
934 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
935 : input, this->mutable_zoom()));
936 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
937 : this->zoom().data(), static_cast<int>(this->zoom().length()),
938 : ::google::protobuf::internal::WireFormatLite::PARSE,
939 : "rpc.gui.NewPanel.zoom"));
940 : } else {
941 0 : goto handle_unusual;
942 : }
943 0 : break;
944 : }
945 :
946 : // int32 with_panel = 8;
947 0 : case 8: {
948 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
949 : static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
950 :
951 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
952 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
953 : input, &with_panel_)));
954 : } else {
955 0 : goto handle_unusual;
956 : }
957 0 : break;
958 : }
959 :
960 : // bool new_row = 9;
961 0 : case 9: {
962 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
963 : static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
964 :
965 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
966 : bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
967 : input, &new_row_)));
968 : } else {
969 0 : goto handle_unusual;
970 : }
971 0 : break;
972 : }
973 :
974 : // bool hidden = 10;
975 0 : case 10: {
976 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
977 : static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
978 :
979 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
980 : bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
981 : input, &hidden_)));
982 : } else {
983 0 : goto handle_unusual;
984 : }
985 0 : break;
986 : }
987 :
988 : default: {
989 0 : handle_unusual:
990 0 : if (tag == 0) {
991 0 : goto success;
992 : }
993 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
994 : input, tag, _internal_metadata_.mutable_unknown_fields()));
995 0 : break;
996 : }
997 : }
998 0 : }
999 0 : success:
1000 : // @@protoc_insertion_point(parse_success:rpc.gui.NewPanel)
1001 0 : return true;
1002 0 : failure:
1003 : // @@protoc_insertion_point(parse_failure:rpc.gui.NewPanel)
1004 0 : return false;
1005 : #undef DO_
1006 : }
1007 :
1008 0 : void NewPanel::SerializeWithCachedSizes(
1009 : ::google::protobuf::io::CodedOutputStream* output) const {
1010 : // @@protoc_insertion_point(serialize_start:rpc.gui.NewPanel)
1011 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1012 : (void) cached_has_bits;
1013 :
1014 : // string title = 1;
1015 0 : if (this->title().size() > 0) {
1016 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1017 0 : this->title().data(), static_cast<int>(this->title().length()),
1018 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1019 : "rpc.gui.NewPanel.title");
1020 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1021 : 1, this->title(), output);
1022 : }
1023 :
1024 : // string xlabel = 2;
1025 0 : if (this->xlabel().size() > 0) {
1026 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1027 0 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
1028 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1029 : "rpc.gui.NewPanel.xlabel");
1030 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1031 : 2, this->xlabel(), output);
1032 : }
1033 :
1034 : // string ylabel = 3;
1035 0 : if (this->ylabel().size() > 0) {
1036 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1037 0 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
1038 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1039 : "rpc.gui.NewPanel.ylabel");
1040 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1041 : 3, this->ylabel(), output);
1042 : }
1043 :
1044 : // string window_title = 4;
1045 0 : if (this->window_title().size() > 0) {
1046 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1047 0 : this->window_title().data(), static_cast<int>(this->window_title().length()),
1048 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1049 : "rpc.gui.NewPanel.window_title");
1050 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1051 : 4, this->window_title(), output);
1052 : }
1053 :
1054 : // repeated int32 size = 5;
1055 0 : if (this->size_size() > 0) {
1056 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(5, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
1057 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
1058 0 : _size_cached_byte_size_));
1059 : }
1060 0 : for (int i = 0, n = this->size_size(); i < n; i++) {
1061 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(
1062 : this->size(i), output);
1063 : }
1064 :
1065 : // string legend = 6;
1066 0 : if (this->legend().size() > 0) {
1067 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1068 0 : this->legend().data(), static_cast<int>(this->legend().length()),
1069 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1070 : "rpc.gui.NewPanel.legend");
1071 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1072 : 6, this->legend(), output);
1073 : }
1074 :
1075 : // string zoom = 7;
1076 0 : if (this->zoom().size() > 0) {
1077 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1078 0 : this->zoom().data(), static_cast<int>(this->zoom().length()),
1079 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1080 : "rpc.gui.NewPanel.zoom");
1081 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1082 : 7, this->zoom(), output);
1083 : }
1084 :
1085 : // int32 with_panel = 8;
1086 0 : if (this->with_panel() != 0) {
1087 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->with_panel(), output);
1088 : }
1089 :
1090 : // bool new_row = 9;
1091 0 : if (this->new_row() != 0) {
1092 0 : ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->new_row(), output);
1093 : }
1094 :
1095 : // bool hidden = 10;
1096 0 : if (this->hidden() != 0) {
1097 0 : ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->hidden(), output);
1098 : }
1099 :
1100 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1101 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1102 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1103 : }
1104 : // @@protoc_insertion_point(serialize_end:rpc.gui.NewPanel)
1105 0 : }
1106 :
1107 0 : ::google::protobuf::uint8* NewPanel::InternalSerializeWithCachedSizesToArray(
1108 : bool deterministic, ::google::protobuf::uint8* target) const {
1109 : (void)deterministic; // Unused
1110 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.NewPanel)
1111 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1112 : (void) cached_has_bits;
1113 :
1114 : // string title = 1;
1115 0 : if (this->title().size() > 0) {
1116 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1117 0 : this->title().data(), static_cast<int>(this->title().length()),
1118 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1119 : "rpc.gui.NewPanel.title");
1120 : target =
1121 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1122 : 1, this->title(), target);
1123 : }
1124 :
1125 : // string xlabel = 2;
1126 0 : if (this->xlabel().size() > 0) {
1127 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1128 0 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
1129 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1130 : "rpc.gui.NewPanel.xlabel");
1131 : target =
1132 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1133 : 2, this->xlabel(), target);
1134 : }
1135 :
1136 : // string ylabel = 3;
1137 0 : if (this->ylabel().size() > 0) {
1138 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1139 0 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
1140 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1141 : "rpc.gui.NewPanel.ylabel");
1142 : target =
1143 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1144 : 3, this->ylabel(), target);
1145 : }
1146 :
1147 : // string window_title = 4;
1148 0 : if (this->window_title().size() > 0) {
1149 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1150 0 : this->window_title().data(), static_cast<int>(this->window_title().length()),
1151 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1152 : "rpc.gui.NewPanel.window_title");
1153 : target =
1154 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1155 : 4, this->window_title(), target);
1156 : }
1157 :
1158 : // repeated int32 size = 5;
1159 0 : if (this->size_size() > 0) {
1160 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
1161 : 5,
1162 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
1163 : target);
1164 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
1165 : static_cast< ::google::protobuf::int32>(
1166 0 : _size_cached_byte_size_), target);
1167 : target = ::google::protobuf::internal::WireFormatLite::
1168 0 : WriteInt32NoTagToArray(this->size_, target);
1169 : }
1170 :
1171 : // string legend = 6;
1172 0 : if (this->legend().size() > 0) {
1173 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1174 0 : this->legend().data(), static_cast<int>(this->legend().length()),
1175 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1176 : "rpc.gui.NewPanel.legend");
1177 : target =
1178 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1179 : 6, this->legend(), target);
1180 : }
1181 :
1182 : // string zoom = 7;
1183 0 : if (this->zoom().size() > 0) {
1184 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1185 0 : this->zoom().data(), static_cast<int>(this->zoom().length()),
1186 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1187 : "rpc.gui.NewPanel.zoom");
1188 : target =
1189 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1190 : 7, this->zoom(), target);
1191 : }
1192 :
1193 : // int32 with_panel = 8;
1194 0 : if (this->with_panel() != 0) {
1195 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->with_panel(), target);
1196 : }
1197 :
1198 : // bool new_row = 9;
1199 0 : if (this->new_row() != 0) {
1200 0 : target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->new_row(), target);
1201 : }
1202 :
1203 : // bool hidden = 10;
1204 0 : if (this->hidden() != 0) {
1205 0 : target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->hidden(), target);
1206 : }
1207 :
1208 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1209 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1210 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1211 : }
1212 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.NewPanel)
1213 0 : return target;
1214 : }
1215 :
1216 0 : size_t NewPanel::ByteSizeLong() const {
1217 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.NewPanel)
1218 0 : size_t total_size = 0;
1219 :
1220 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1221 0 : total_size +=
1222 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1223 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1224 : }
1225 : // repeated int32 size = 5;
1226 : {
1227 : size_t data_size = ::google::protobuf::internal::WireFormatLite::
1228 0 : Int32Size(this->size_);
1229 0 : if (data_size > 0) {
1230 0 : total_size += 1 +
1231 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
1232 : static_cast< ::google::protobuf::int32>(data_size));
1233 : }
1234 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
1235 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1236 0 : _size_cached_byte_size_ = cached_size;
1237 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
1238 0 : total_size += data_size;
1239 : }
1240 :
1241 : // string title = 1;
1242 0 : if (this->title().size() > 0) {
1243 0 : total_size += 1 +
1244 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1245 : this->title());
1246 : }
1247 :
1248 : // string xlabel = 2;
1249 0 : if (this->xlabel().size() > 0) {
1250 0 : total_size += 1 +
1251 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1252 : this->xlabel());
1253 : }
1254 :
1255 : // string ylabel = 3;
1256 0 : if (this->ylabel().size() > 0) {
1257 0 : total_size += 1 +
1258 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1259 : this->ylabel());
1260 : }
1261 :
1262 : // string window_title = 4;
1263 0 : if (this->window_title().size() > 0) {
1264 0 : total_size += 1 +
1265 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1266 : this->window_title());
1267 : }
1268 :
1269 : // string legend = 6;
1270 0 : if (this->legend().size() > 0) {
1271 0 : total_size += 1 +
1272 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1273 : this->legend());
1274 : }
1275 :
1276 : // string zoom = 7;
1277 0 : if (this->zoom().size() > 0) {
1278 0 : total_size += 1 +
1279 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
1280 : this->zoom());
1281 : }
1282 :
1283 : // int32 with_panel = 8;
1284 0 : if (this->with_panel() != 0) {
1285 0 : total_size += 1 +
1286 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
1287 : this->with_panel());
1288 : }
1289 :
1290 : // bool new_row = 9;
1291 0 : if (this->new_row() != 0) {
1292 0 : total_size += 1 + 1;
1293 : }
1294 :
1295 : // bool hidden = 10;
1296 0 : if (this->hidden() != 0) {
1297 0 : total_size += 1 + 1;
1298 : }
1299 :
1300 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1301 0 : SetCachedSize(cached_size);
1302 0 : return total_size;
1303 : }
1304 :
1305 0 : void NewPanel::MergeFrom(const ::google::protobuf::Message& from) {
1306 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.NewPanel)
1307 0 : GOOGLE_DCHECK_NE(&from, this);
1308 : const NewPanel* source =
1309 0 : ::google::protobuf::internal::DynamicCastToGenerated<const NewPanel>(
1310 : &from);
1311 0 : if (source == NULL) {
1312 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.NewPanel)
1313 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1314 : } else {
1315 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.NewPanel)
1316 0 : MergeFrom(*source);
1317 : }
1318 0 : }
1319 :
1320 0 : void NewPanel::MergeFrom(const NewPanel& from) {
1321 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.NewPanel)
1322 0 : GOOGLE_DCHECK_NE(&from, this);
1323 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1324 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1325 : (void) cached_has_bits;
1326 :
1327 0 : size_.MergeFrom(from.size_);
1328 0 : if (from.title().size() > 0) {
1329 :
1330 0 : title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
1331 : }
1332 0 : if (from.xlabel().size() > 0) {
1333 :
1334 0 : xlabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.xlabel_);
1335 : }
1336 0 : if (from.ylabel().size() > 0) {
1337 :
1338 0 : ylabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ylabel_);
1339 : }
1340 0 : if (from.window_title().size() > 0) {
1341 :
1342 0 : window_title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.window_title_);
1343 : }
1344 0 : if (from.legend().size() > 0) {
1345 :
1346 0 : legend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.legend_);
1347 : }
1348 0 : if (from.zoom().size() > 0) {
1349 :
1350 0 : zoom_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.zoom_);
1351 : }
1352 0 : if (from.with_panel() != 0) {
1353 0 : set_with_panel(from.with_panel());
1354 : }
1355 0 : if (from.new_row() != 0) {
1356 0 : set_new_row(from.new_row());
1357 : }
1358 0 : if (from.hidden() != 0) {
1359 0 : set_hidden(from.hidden());
1360 : }
1361 0 : }
1362 :
1363 0 : void NewPanel::CopyFrom(const ::google::protobuf::Message& from) {
1364 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.NewPanel)
1365 0 : if (&from == this) return;
1366 0 : Clear();
1367 0 : MergeFrom(from);
1368 : }
1369 :
1370 0 : void NewPanel::CopyFrom(const NewPanel& from) {
1371 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.NewPanel)
1372 0 : if (&from == this) return;
1373 0 : Clear();
1374 0 : MergeFrom(from);
1375 : }
1376 :
1377 0 : bool NewPanel::IsInitialized() const {
1378 0 : return true;
1379 : }
1380 :
1381 0 : void NewPanel::Swap(NewPanel* other) {
1382 0 : if (other == this) return;
1383 0 : InternalSwap(other);
1384 : }
1385 0 : void NewPanel::InternalSwap(NewPanel* other) {
1386 : using std::swap;
1387 0 : size_.InternalSwap(&other->size_);
1388 0 : title_.Swap(&other->title_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1389 : GetArenaNoVirtual());
1390 0 : xlabel_.Swap(&other->xlabel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1391 : GetArenaNoVirtual());
1392 0 : ylabel_.Swap(&other->ylabel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1393 : GetArenaNoVirtual());
1394 0 : window_title_.Swap(&other->window_title_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1395 : GetArenaNoVirtual());
1396 0 : legend_.Swap(&other->legend_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1397 : GetArenaNoVirtual());
1398 0 : zoom_.Swap(&other->zoom_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1399 : GetArenaNoVirtual());
1400 0 : swap(with_panel_, other->with_panel_);
1401 0 : swap(new_row_, other->new_row_);
1402 0 : swap(hidden_, other->hidden_);
1403 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
1404 0 : }
1405 :
1406 0 : ::google::protobuf::Metadata NewPanel::GetMetadata() const {
1407 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1408 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
1409 : }
1410 :
1411 :
1412 : // ===================================================================
1413 :
1414 10 : void Colors::InitAsDefaultInstance() {
1415 10 : }
1416 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
1417 : const int Colors::kNamesFieldNumber;
1418 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1419 :
1420 10 : Colors::Colors()
1421 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1422 10 : ::google::protobuf::internal::InitSCC(
1423 : &protobuf_plotserver_2eproto::scc_info_Colors.base);
1424 10 : SharedCtor();
1425 : // @@protoc_insertion_point(constructor:rpc.gui.Colors)
1426 10 : }
1427 0 : Colors::Colors(const Colors& from)
1428 : : ::google::protobuf::Message(),
1429 0 : _internal_metadata_(NULL),
1430 0 : names_(from.names_) {
1431 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1432 : // @@protoc_insertion_point(copy_constructor:rpc.gui.Colors)
1433 0 : }
1434 :
1435 10 : void Colors::SharedCtor() {
1436 10 : }
1437 :
1438 0 : Colors::~Colors() {
1439 : // @@protoc_insertion_point(destructor:rpc.gui.Colors)
1440 0 : SharedDtor();
1441 0 : }
1442 :
1443 0 : void Colors::SharedDtor() {
1444 0 : }
1445 :
1446 0 : void Colors::SetCachedSize(int size) const {
1447 0 : _cached_size_.Set(size);
1448 0 : }
1449 0 : const ::google::protobuf::Descriptor* Colors::descriptor() {
1450 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1451 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1452 : }
1453 :
1454 0 : const Colors& Colors::default_instance() {
1455 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_Colors.base);
1456 0 : return *internal_default_instance();
1457 : }
1458 :
1459 :
1460 0 : void Colors::Clear() {
1461 : // @@protoc_insertion_point(message_clear_start:rpc.gui.Colors)
1462 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1463 : // Prevent compiler warnings about cached_has_bits being unused
1464 : (void) cached_has_bits;
1465 :
1466 0 : names_.Clear();
1467 0 : _internal_metadata_.Clear();
1468 0 : }
1469 :
1470 0 : bool Colors::MergePartialFromCodedStream(
1471 : ::google::protobuf::io::CodedInputStream* input) {
1472 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1473 : ::google::protobuf::uint32 tag;
1474 : // @@protoc_insertion_point(parse_start:rpc.gui.Colors)
1475 : for (;;) {
1476 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1477 0 : tag = p.first;
1478 0 : if (!p.second) goto handle_unusual;
1479 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1480 : // repeated string names = 1;
1481 0 : case 1: {
1482 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
1483 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1484 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1485 : input, this->add_names()));
1486 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1487 : this->names(this->names_size() - 1).data(),
1488 : static_cast<int>(this->names(this->names_size() - 1).length()),
1489 : ::google::protobuf::internal::WireFormatLite::PARSE,
1490 : "rpc.gui.Colors.names"));
1491 : } else {
1492 0 : goto handle_unusual;
1493 : }
1494 0 : break;
1495 : }
1496 :
1497 : default: {
1498 0 : handle_unusual:
1499 0 : if (tag == 0) {
1500 0 : goto success;
1501 : }
1502 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
1503 : input, tag, _internal_metadata_.mutable_unknown_fields()));
1504 0 : break;
1505 : }
1506 : }
1507 0 : }
1508 0 : success:
1509 : // @@protoc_insertion_point(parse_success:rpc.gui.Colors)
1510 0 : return true;
1511 0 : failure:
1512 : // @@protoc_insertion_point(parse_failure:rpc.gui.Colors)
1513 0 : return false;
1514 : #undef DO_
1515 : }
1516 :
1517 0 : void Colors::SerializeWithCachedSizes(
1518 : ::google::protobuf::io::CodedOutputStream* output) const {
1519 : // @@protoc_insertion_point(serialize_start:rpc.gui.Colors)
1520 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1521 : (void) cached_has_bits;
1522 :
1523 : // repeated string names = 1;
1524 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1525 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1526 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
1527 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1528 : "rpc.gui.Colors.names");
1529 0 : ::google::protobuf::internal::WireFormatLite::WriteString(
1530 : 1, this->names(i), output);
1531 : }
1532 :
1533 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1534 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1535 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1536 : }
1537 : // @@protoc_insertion_point(serialize_end:rpc.gui.Colors)
1538 0 : }
1539 :
1540 0 : ::google::protobuf::uint8* Colors::InternalSerializeWithCachedSizesToArray(
1541 : bool deterministic, ::google::protobuf::uint8* target) const {
1542 : (void)deterministic; // Unused
1543 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.Colors)
1544 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1545 : (void) cached_has_bits;
1546 :
1547 : // repeated string names = 1;
1548 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1549 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1550 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
1551 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1552 : "rpc.gui.Colors.names");
1553 : target = ::google::protobuf::internal::WireFormatLite::
1554 0 : WriteStringToArray(1, this->names(i), target);
1555 : }
1556 :
1557 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1558 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1559 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1560 : }
1561 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.Colors)
1562 0 : return target;
1563 : }
1564 :
1565 0 : size_t Colors::ByteSizeLong() const {
1566 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.Colors)
1567 0 : size_t total_size = 0;
1568 :
1569 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1570 0 : total_size +=
1571 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1572 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1573 : }
1574 : // repeated string names = 1;
1575 0 : total_size += 1 *
1576 0 : ::google::protobuf::internal::FromIntSize(this->names_size());
1577 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1578 0 : total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1579 : this->names(i));
1580 : }
1581 :
1582 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1583 0 : SetCachedSize(cached_size);
1584 0 : return total_size;
1585 : }
1586 :
1587 0 : void Colors::MergeFrom(const ::google::protobuf::Message& from) {
1588 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.Colors)
1589 0 : GOOGLE_DCHECK_NE(&from, this);
1590 : const Colors* source =
1591 0 : ::google::protobuf::internal::DynamicCastToGenerated<const Colors>(
1592 : &from);
1593 0 : if (source == NULL) {
1594 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.Colors)
1595 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1596 : } else {
1597 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.Colors)
1598 0 : MergeFrom(*source);
1599 : }
1600 0 : }
1601 :
1602 0 : void Colors::MergeFrom(const Colors& from) {
1603 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.Colors)
1604 0 : GOOGLE_DCHECK_NE(&from, this);
1605 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1606 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1607 : (void) cached_has_bits;
1608 :
1609 0 : names_.MergeFrom(from.names_);
1610 0 : }
1611 :
1612 0 : void Colors::CopyFrom(const ::google::protobuf::Message& from) {
1613 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.Colors)
1614 0 : if (&from == this) return;
1615 0 : Clear();
1616 0 : MergeFrom(from);
1617 : }
1618 :
1619 0 : void Colors::CopyFrom(const Colors& from) {
1620 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.Colors)
1621 0 : if (&from == this) return;
1622 0 : Clear();
1623 0 : MergeFrom(from);
1624 : }
1625 :
1626 0 : bool Colors::IsInitialized() const {
1627 0 : return true;
1628 : }
1629 :
1630 0 : void Colors::Swap(Colors* other) {
1631 0 : if (other == this) return;
1632 0 : InternalSwap(other);
1633 : }
1634 0 : void Colors::InternalSwap(Colors* other) {
1635 : using std::swap;
1636 0 : names_.InternalSwap(CastToBase(&other->names_));
1637 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
1638 0 : }
1639 :
1640 0 : ::google::protobuf::Metadata Colors::GetMetadata() const {
1641 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1642 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
1643 : }
1644 :
1645 :
1646 : // ===================================================================
1647 :
1648 10 : void ColorMaps::InitAsDefaultInstance() {
1649 10 : }
1650 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
1651 : const int ColorMaps::kNamesFieldNumber;
1652 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1653 :
1654 10 : ColorMaps::ColorMaps()
1655 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1656 10 : ::google::protobuf::internal::InitSCC(
1657 : &protobuf_plotserver_2eproto::scc_info_ColorMaps.base);
1658 10 : SharedCtor();
1659 : // @@protoc_insertion_point(constructor:rpc.gui.ColorMaps)
1660 10 : }
1661 0 : ColorMaps::ColorMaps(const ColorMaps& from)
1662 : : ::google::protobuf::Message(),
1663 0 : _internal_metadata_(NULL),
1664 0 : names_(from.names_) {
1665 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1666 : // @@protoc_insertion_point(copy_constructor:rpc.gui.ColorMaps)
1667 0 : }
1668 :
1669 10 : void ColorMaps::SharedCtor() {
1670 10 : }
1671 :
1672 0 : ColorMaps::~ColorMaps() {
1673 : // @@protoc_insertion_point(destructor:rpc.gui.ColorMaps)
1674 0 : SharedDtor();
1675 0 : }
1676 :
1677 0 : void ColorMaps::SharedDtor() {
1678 0 : }
1679 :
1680 0 : void ColorMaps::SetCachedSize(int size) const {
1681 0 : _cached_size_.Set(size);
1682 0 : }
1683 0 : const ::google::protobuf::Descriptor* ColorMaps::descriptor() {
1684 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1685 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1686 : }
1687 :
1688 0 : const ColorMaps& ColorMaps::default_instance() {
1689 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_ColorMaps.base);
1690 0 : return *internal_default_instance();
1691 : }
1692 :
1693 :
1694 0 : void ColorMaps::Clear() {
1695 : // @@protoc_insertion_point(message_clear_start:rpc.gui.ColorMaps)
1696 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1697 : // Prevent compiler warnings about cached_has_bits being unused
1698 : (void) cached_has_bits;
1699 :
1700 0 : names_.Clear();
1701 0 : _internal_metadata_.Clear();
1702 0 : }
1703 :
1704 0 : bool ColorMaps::MergePartialFromCodedStream(
1705 : ::google::protobuf::io::CodedInputStream* input) {
1706 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1707 : ::google::protobuf::uint32 tag;
1708 : // @@protoc_insertion_point(parse_start:rpc.gui.ColorMaps)
1709 : for (;;) {
1710 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1711 0 : tag = p.first;
1712 0 : if (!p.second) goto handle_unusual;
1713 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1714 : // repeated string names = 1;
1715 0 : case 1: {
1716 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
1717 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1718 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1719 : input, this->add_names()));
1720 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1721 : this->names(this->names_size() - 1).data(),
1722 : static_cast<int>(this->names(this->names_size() - 1).length()),
1723 : ::google::protobuf::internal::WireFormatLite::PARSE,
1724 : "rpc.gui.ColorMaps.names"));
1725 : } else {
1726 0 : goto handle_unusual;
1727 : }
1728 0 : break;
1729 : }
1730 :
1731 : default: {
1732 0 : handle_unusual:
1733 0 : if (tag == 0) {
1734 0 : goto success;
1735 : }
1736 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
1737 : input, tag, _internal_metadata_.mutable_unknown_fields()));
1738 0 : break;
1739 : }
1740 : }
1741 0 : }
1742 0 : success:
1743 : // @@protoc_insertion_point(parse_success:rpc.gui.ColorMaps)
1744 0 : return true;
1745 0 : failure:
1746 : // @@protoc_insertion_point(parse_failure:rpc.gui.ColorMaps)
1747 0 : return false;
1748 : #undef DO_
1749 : }
1750 :
1751 0 : void ColorMaps::SerializeWithCachedSizes(
1752 : ::google::protobuf::io::CodedOutputStream* output) const {
1753 : // @@protoc_insertion_point(serialize_start:rpc.gui.ColorMaps)
1754 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1755 : (void) cached_has_bits;
1756 :
1757 : // repeated string names = 1;
1758 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1759 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1760 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
1761 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1762 : "rpc.gui.ColorMaps.names");
1763 0 : ::google::protobuf::internal::WireFormatLite::WriteString(
1764 : 1, this->names(i), output);
1765 : }
1766 :
1767 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1768 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1769 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1770 : }
1771 : // @@protoc_insertion_point(serialize_end:rpc.gui.ColorMaps)
1772 0 : }
1773 :
1774 0 : ::google::protobuf::uint8* ColorMaps::InternalSerializeWithCachedSizesToArray(
1775 : bool deterministic, ::google::protobuf::uint8* target) const {
1776 : (void)deterministic; // Unused
1777 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.ColorMaps)
1778 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1779 : (void) cached_has_bits;
1780 :
1781 : // repeated string names = 1;
1782 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1783 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1784 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
1785 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1786 : "rpc.gui.ColorMaps.names");
1787 : target = ::google::protobuf::internal::WireFormatLite::
1788 0 : WriteStringToArray(1, this->names(i), target);
1789 : }
1790 :
1791 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1792 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1793 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1794 : }
1795 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.ColorMaps)
1796 0 : return target;
1797 : }
1798 :
1799 0 : size_t ColorMaps::ByteSizeLong() const {
1800 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.ColorMaps)
1801 0 : size_t total_size = 0;
1802 :
1803 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1804 0 : total_size +=
1805 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1806 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1807 : }
1808 : // repeated string names = 1;
1809 0 : total_size += 1 *
1810 0 : ::google::protobuf::internal::FromIntSize(this->names_size());
1811 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1812 0 : total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1813 : this->names(i));
1814 : }
1815 :
1816 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1817 0 : SetCachedSize(cached_size);
1818 0 : return total_size;
1819 : }
1820 :
1821 0 : void ColorMaps::MergeFrom(const ::google::protobuf::Message& from) {
1822 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.ColorMaps)
1823 0 : GOOGLE_DCHECK_NE(&from, this);
1824 : const ColorMaps* source =
1825 0 : ::google::protobuf::internal::DynamicCastToGenerated<const ColorMaps>(
1826 : &from);
1827 0 : if (source == NULL) {
1828 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.ColorMaps)
1829 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1830 : } else {
1831 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.ColorMaps)
1832 0 : MergeFrom(*source);
1833 : }
1834 0 : }
1835 :
1836 0 : void ColorMaps::MergeFrom(const ColorMaps& from) {
1837 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.ColorMaps)
1838 0 : GOOGLE_DCHECK_NE(&from, this);
1839 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1840 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1841 : (void) cached_has_bits;
1842 :
1843 0 : names_.MergeFrom(from.names_);
1844 0 : }
1845 :
1846 0 : void ColorMaps::CopyFrom(const ::google::protobuf::Message& from) {
1847 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.ColorMaps)
1848 0 : if (&from == this) return;
1849 0 : Clear();
1850 0 : MergeFrom(from);
1851 : }
1852 :
1853 0 : void ColorMaps::CopyFrom(const ColorMaps& from) {
1854 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.ColorMaps)
1855 0 : if (&from == this) return;
1856 0 : Clear();
1857 0 : MergeFrom(from);
1858 : }
1859 :
1860 0 : bool ColorMaps::IsInitialized() const {
1861 0 : return true;
1862 : }
1863 :
1864 0 : void ColorMaps::Swap(ColorMaps* other) {
1865 0 : if (other == this) return;
1866 0 : InternalSwap(other);
1867 : }
1868 0 : void ColorMaps::InternalSwap(ColorMaps* other) {
1869 : using std::swap;
1870 0 : names_.InternalSwap(CastToBase(&other->names_));
1871 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
1872 0 : }
1873 :
1874 0 : ::google::protobuf::Metadata ColorMaps::GetMetadata() const {
1875 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1876 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
1877 : }
1878 :
1879 :
1880 : // ===================================================================
1881 :
1882 10 : void Symbols::InitAsDefaultInstance() {
1883 10 : }
1884 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
1885 : const int Symbols::kNamesFieldNumber;
1886 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
1887 :
1888 10 : Symbols::Symbols()
1889 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1890 10 : ::google::protobuf::internal::InitSCC(
1891 : &protobuf_plotserver_2eproto::scc_info_Symbols.base);
1892 10 : SharedCtor();
1893 : // @@protoc_insertion_point(constructor:rpc.gui.Symbols)
1894 10 : }
1895 0 : Symbols::Symbols(const Symbols& from)
1896 : : ::google::protobuf::Message(),
1897 0 : _internal_metadata_(NULL),
1898 0 : names_(from.names_) {
1899 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
1900 : // @@protoc_insertion_point(copy_constructor:rpc.gui.Symbols)
1901 0 : }
1902 :
1903 10 : void Symbols::SharedCtor() {
1904 10 : }
1905 :
1906 0 : Symbols::~Symbols() {
1907 : // @@protoc_insertion_point(destructor:rpc.gui.Symbols)
1908 0 : SharedDtor();
1909 0 : }
1910 :
1911 0 : void Symbols::SharedDtor() {
1912 0 : }
1913 :
1914 0 : void Symbols::SetCachedSize(int size) const {
1915 0 : _cached_size_.Set(size);
1916 0 : }
1917 0 : const ::google::protobuf::Descriptor* Symbols::descriptor() {
1918 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
1919 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1920 : }
1921 :
1922 0 : const Symbols& Symbols::default_instance() {
1923 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_Symbols.base);
1924 0 : return *internal_default_instance();
1925 : }
1926 :
1927 :
1928 0 : void Symbols::Clear() {
1929 : // @@protoc_insertion_point(message_clear_start:rpc.gui.Symbols)
1930 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1931 : // Prevent compiler warnings about cached_has_bits being unused
1932 : (void) cached_has_bits;
1933 :
1934 0 : names_.Clear();
1935 0 : _internal_metadata_.Clear();
1936 0 : }
1937 :
1938 0 : bool Symbols::MergePartialFromCodedStream(
1939 : ::google::protobuf::io::CodedInputStream* input) {
1940 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1941 : ::google::protobuf::uint32 tag;
1942 : // @@protoc_insertion_point(parse_start:rpc.gui.Symbols)
1943 : for (;;) {
1944 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1945 0 : tag = p.first;
1946 0 : if (!p.second) goto handle_unusual;
1947 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1948 : // repeated string names = 1;
1949 0 : case 1: {
1950 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
1951 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1952 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1953 : input, this->add_names()));
1954 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1955 : this->names(this->names_size() - 1).data(),
1956 : static_cast<int>(this->names(this->names_size() - 1).length()),
1957 : ::google::protobuf::internal::WireFormatLite::PARSE,
1958 : "rpc.gui.Symbols.names"));
1959 : } else {
1960 0 : goto handle_unusual;
1961 : }
1962 0 : break;
1963 : }
1964 :
1965 : default: {
1966 0 : handle_unusual:
1967 0 : if (tag == 0) {
1968 0 : goto success;
1969 : }
1970 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
1971 : input, tag, _internal_metadata_.mutable_unknown_fields()));
1972 0 : break;
1973 : }
1974 : }
1975 0 : }
1976 0 : success:
1977 : // @@protoc_insertion_point(parse_success:rpc.gui.Symbols)
1978 0 : return true;
1979 0 : failure:
1980 : // @@protoc_insertion_point(parse_failure:rpc.gui.Symbols)
1981 0 : return false;
1982 : #undef DO_
1983 : }
1984 :
1985 0 : void Symbols::SerializeWithCachedSizes(
1986 : ::google::protobuf::io::CodedOutputStream* output) const {
1987 : // @@protoc_insertion_point(serialize_start:rpc.gui.Symbols)
1988 0 : ::google::protobuf::uint32 cached_has_bits = 0;
1989 : (void) cached_has_bits;
1990 :
1991 : // repeated string names = 1;
1992 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
1993 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1994 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
1995 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
1996 : "rpc.gui.Symbols.names");
1997 0 : ::google::protobuf::internal::WireFormatLite::WriteString(
1998 : 1, this->names(i), output);
1999 : }
2000 :
2001 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2002 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2003 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
2004 : }
2005 : // @@protoc_insertion_point(serialize_end:rpc.gui.Symbols)
2006 0 : }
2007 :
2008 0 : ::google::protobuf::uint8* Symbols::InternalSerializeWithCachedSizesToArray(
2009 : bool deterministic, ::google::protobuf::uint8* target) const {
2010 : (void)deterministic; // Unused
2011 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.Symbols)
2012 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2013 : (void) cached_has_bits;
2014 :
2015 : // repeated string names = 1;
2016 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
2017 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2018 0 : this->names(i).data(), static_cast<int>(this->names(i).length()),
2019 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2020 : "rpc.gui.Symbols.names");
2021 : target = ::google::protobuf::internal::WireFormatLite::
2022 0 : WriteStringToArray(1, this->names(i), target);
2023 : }
2024 :
2025 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2026 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2027 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
2028 : }
2029 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.Symbols)
2030 0 : return target;
2031 : }
2032 :
2033 0 : size_t Symbols::ByteSizeLong() const {
2034 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.Symbols)
2035 0 : size_t total_size = 0;
2036 :
2037 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2038 0 : total_size +=
2039 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2040 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
2041 : }
2042 : // repeated string names = 1;
2043 0 : total_size += 1 *
2044 0 : ::google::protobuf::internal::FromIntSize(this->names_size());
2045 0 : for (int i = 0, n = this->names_size(); i < n; i++) {
2046 0 : total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
2047 : this->names(i));
2048 : }
2049 :
2050 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2051 0 : SetCachedSize(cached_size);
2052 0 : return total_size;
2053 : }
2054 :
2055 0 : void Symbols::MergeFrom(const ::google::protobuf::Message& from) {
2056 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.Symbols)
2057 0 : GOOGLE_DCHECK_NE(&from, this);
2058 : const Symbols* source =
2059 0 : ::google::protobuf::internal::DynamicCastToGenerated<const Symbols>(
2060 : &from);
2061 0 : if (source == NULL) {
2062 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.Symbols)
2063 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2064 : } else {
2065 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.Symbols)
2066 0 : MergeFrom(*source);
2067 : }
2068 0 : }
2069 :
2070 0 : void Symbols::MergeFrom(const Symbols& from) {
2071 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.Symbols)
2072 0 : GOOGLE_DCHECK_NE(&from, this);
2073 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
2074 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2075 : (void) cached_has_bits;
2076 :
2077 0 : names_.MergeFrom(from.names_);
2078 0 : }
2079 :
2080 0 : void Symbols::CopyFrom(const ::google::protobuf::Message& from) {
2081 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.Symbols)
2082 0 : if (&from == this) return;
2083 0 : Clear();
2084 0 : MergeFrom(from);
2085 : }
2086 :
2087 0 : void Symbols::CopyFrom(const Symbols& from) {
2088 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.Symbols)
2089 0 : if (&from == this) return;
2090 0 : Clear();
2091 0 : MergeFrom(from);
2092 : }
2093 :
2094 0 : bool Symbols::IsInitialized() const {
2095 0 : return true;
2096 : }
2097 :
2098 0 : void Symbols::Swap(Symbols* other) {
2099 0 : if (other == this) return;
2100 0 : InternalSwap(other);
2101 : }
2102 0 : void Symbols::InternalSwap(Symbols* other) {
2103 : using std::swap;
2104 0 : names_.InternalSwap(CastToBase(&other->names_));
2105 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
2106 0 : }
2107 :
2108 0 : ::google::protobuf::Metadata Symbols::GetMetadata() const {
2109 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
2110 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
2111 : }
2112 :
2113 :
2114 : // ===================================================================
2115 :
2116 10 : void NewLine::InitAsDefaultInstance() {
2117 10 : ::rpc::gui::_NewLine_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
2118 10 : ::rpc::gui::Id::internal_default_instance());
2119 10 : }
2120 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
2121 : const int NewLine::kXFieldNumber;
2122 : const int NewLine::kYFieldNumber;
2123 : const int NewLine::kColorFieldNumber;
2124 : const int NewLine::kLabelFieldNumber;
2125 : const int NewLine::kPanelFieldNumber;
2126 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2127 :
2128 10 : NewLine::NewLine()
2129 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2130 10 : ::google::protobuf::internal::InitSCC(
2131 : &protobuf_plotserver_2eproto::scc_info_NewLine.base);
2132 10 : SharedCtor();
2133 : // @@protoc_insertion_point(constructor:rpc.gui.NewLine)
2134 10 : }
2135 0 : NewLine::NewLine(const NewLine& from)
2136 : : ::google::protobuf::Message(),
2137 0 : _internal_metadata_(NULL),
2138 0 : x_(from.x_),
2139 0 : y_(from.y_) {
2140 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
2141 0 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2142 0 : if (from.color().size() > 0) {
2143 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
2144 : }
2145 0 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2146 0 : if (from.label().size() > 0) {
2147 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
2148 : }
2149 0 : if (from.has_panel()) {
2150 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
2151 : } else {
2152 0 : panel_ = NULL;
2153 : }
2154 : // @@protoc_insertion_point(copy_constructor:rpc.gui.NewLine)
2155 0 : }
2156 :
2157 10 : void NewLine::SharedCtor() {
2158 10 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2159 10 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2160 10 : panel_ = NULL;
2161 10 : }
2162 :
2163 0 : NewLine::~NewLine() {
2164 : // @@protoc_insertion_point(destructor:rpc.gui.NewLine)
2165 0 : SharedDtor();
2166 0 : }
2167 :
2168 0 : void NewLine::SharedDtor() {
2169 0 : color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2170 0 : label_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2171 0 : if (this != internal_default_instance()) delete panel_;
2172 0 : }
2173 :
2174 0 : void NewLine::SetCachedSize(int size) const {
2175 0 : _cached_size_.Set(size);
2176 0 : }
2177 0 : const ::google::protobuf::Descriptor* NewLine::descriptor() {
2178 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
2179 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2180 : }
2181 :
2182 0 : const NewLine& NewLine::default_instance() {
2183 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_NewLine.base);
2184 0 : return *internal_default_instance();
2185 : }
2186 :
2187 :
2188 0 : void NewLine::Clear() {
2189 : // @@protoc_insertion_point(message_clear_start:rpc.gui.NewLine)
2190 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2191 : // Prevent compiler warnings about cached_has_bits being unused
2192 : (void) cached_has_bits;
2193 :
2194 0 : x_.Clear();
2195 0 : y_.Clear();
2196 0 : color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2197 0 : label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2198 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
2199 0 : delete panel_;
2200 : }
2201 0 : panel_ = NULL;
2202 0 : _internal_metadata_.Clear();
2203 0 : }
2204 :
2205 0 : bool NewLine::MergePartialFromCodedStream(
2206 : ::google::protobuf::io::CodedInputStream* input) {
2207 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2208 : ::google::protobuf::uint32 tag;
2209 : // @@protoc_insertion_point(parse_start:rpc.gui.NewLine)
2210 : for (;;) {
2211 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2212 0 : tag = p.first;
2213 0 : if (!p.second) goto handle_unusual;
2214 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2215 : // repeated double x = 1;
2216 0 : case 1: {
2217 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2218 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2219 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
2220 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2221 : input, this->mutable_x())));
2222 0 : } else if (
2223 0 : static_cast< ::google::protobuf::uint8>(tag) ==
2224 : static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
2225 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
2226 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2227 : 1, 10u, input, this->mutable_x())));
2228 : } else {
2229 0 : goto handle_unusual;
2230 : }
2231 0 : break;
2232 : }
2233 :
2234 : // repeated double y = 2;
2235 0 : case 2: {
2236 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2237 : static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2238 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
2239 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2240 : input, this->mutable_y())));
2241 0 : } else if (
2242 0 : static_cast< ::google::protobuf::uint8>(tag) ==
2243 : static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
2244 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
2245 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2246 : 1, 18u, input, this->mutable_y())));
2247 : } else {
2248 0 : goto handle_unusual;
2249 : }
2250 0 : break;
2251 : }
2252 :
2253 : // string color = 3;
2254 0 : case 3: {
2255 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2256 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
2257 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2258 : input, this->mutable_color()));
2259 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2260 : this->color().data(), static_cast<int>(this->color().length()),
2261 : ::google::protobuf::internal::WireFormatLite::PARSE,
2262 : "rpc.gui.NewLine.color"));
2263 : } else {
2264 0 : goto handle_unusual;
2265 : }
2266 0 : break;
2267 : }
2268 :
2269 : // string label = 4;
2270 0 : case 4: {
2271 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2272 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
2273 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2274 : input, this->mutable_label()));
2275 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2276 : this->label().data(), static_cast<int>(this->label().length()),
2277 : ::google::protobuf::internal::WireFormatLite::PARSE,
2278 : "rpc.gui.NewLine.label"));
2279 : } else {
2280 0 : goto handle_unusual;
2281 : }
2282 0 : break;
2283 : }
2284 :
2285 : // .rpc.gui.Id panel = 5;
2286 0 : case 5: {
2287 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2288 : static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
2289 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2290 : input, mutable_panel()));
2291 : } else {
2292 0 : goto handle_unusual;
2293 : }
2294 0 : break;
2295 : }
2296 :
2297 : default: {
2298 0 : handle_unusual:
2299 0 : if (tag == 0) {
2300 0 : goto success;
2301 : }
2302 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
2303 : input, tag, _internal_metadata_.mutable_unknown_fields()));
2304 0 : break;
2305 : }
2306 : }
2307 0 : }
2308 0 : success:
2309 : // @@protoc_insertion_point(parse_success:rpc.gui.NewLine)
2310 0 : return true;
2311 0 : failure:
2312 : // @@protoc_insertion_point(parse_failure:rpc.gui.NewLine)
2313 0 : return false;
2314 : #undef DO_
2315 : }
2316 :
2317 0 : void NewLine::SerializeWithCachedSizes(
2318 : ::google::protobuf::io::CodedOutputStream* output) const {
2319 : // @@protoc_insertion_point(serialize_start:rpc.gui.NewLine)
2320 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2321 : (void) cached_has_bits;
2322 :
2323 : // repeated double x = 1;
2324 0 : if (this->x_size() > 0) {
2325 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
2326 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
2327 0 : _x_cached_byte_size_));
2328 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
2329 0 : this->x().data(), this->x_size(), output);
2330 : }
2331 :
2332 : // repeated double y = 2;
2333 0 : if (this->y_size() > 0) {
2334 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
2335 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
2336 0 : _y_cached_byte_size_));
2337 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
2338 0 : this->y().data(), this->y_size(), output);
2339 : }
2340 :
2341 : // string color = 3;
2342 0 : if (this->color().size() > 0) {
2343 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2344 0 : this->color().data(), static_cast<int>(this->color().length()),
2345 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2346 : "rpc.gui.NewLine.color");
2347 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2348 : 3, this->color(), output);
2349 : }
2350 :
2351 : // string label = 4;
2352 0 : if (this->label().size() > 0) {
2353 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2354 0 : this->label().data(), static_cast<int>(this->label().length()),
2355 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2356 : "rpc.gui.NewLine.label");
2357 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2358 : 4, this->label(), output);
2359 : }
2360 :
2361 : // .rpc.gui.Id panel = 5;
2362 0 : if (this->has_panel()) {
2363 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2364 0 : 5, this->_internal_panel(), output);
2365 : }
2366 :
2367 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2368 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2369 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
2370 : }
2371 : // @@protoc_insertion_point(serialize_end:rpc.gui.NewLine)
2372 0 : }
2373 :
2374 0 : ::google::protobuf::uint8* NewLine::InternalSerializeWithCachedSizesToArray(
2375 : bool deterministic, ::google::protobuf::uint8* target) const {
2376 : (void)deterministic; // Unused
2377 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.NewLine)
2378 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2379 : (void) cached_has_bits;
2380 :
2381 : // repeated double x = 1;
2382 0 : if (this->x_size() > 0) {
2383 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
2384 : 1,
2385 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
2386 : target);
2387 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
2388 : static_cast< ::google::protobuf::int32>(
2389 0 : _x_cached_byte_size_), target);
2390 : target = ::google::protobuf::internal::WireFormatLite::
2391 0 : WriteDoubleNoTagToArray(this->x_, target);
2392 : }
2393 :
2394 : // repeated double y = 2;
2395 0 : if (this->y_size() > 0) {
2396 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
2397 : 2,
2398 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
2399 : target);
2400 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
2401 : static_cast< ::google::protobuf::int32>(
2402 0 : _y_cached_byte_size_), target);
2403 : target = ::google::protobuf::internal::WireFormatLite::
2404 0 : WriteDoubleNoTagToArray(this->y_, target);
2405 : }
2406 :
2407 : // string color = 3;
2408 0 : if (this->color().size() > 0) {
2409 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2410 0 : this->color().data(), static_cast<int>(this->color().length()),
2411 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2412 : "rpc.gui.NewLine.color");
2413 : target =
2414 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2415 : 3, this->color(), target);
2416 : }
2417 :
2418 : // string label = 4;
2419 0 : if (this->label().size() > 0) {
2420 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2421 0 : this->label().data(), static_cast<int>(this->label().length()),
2422 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2423 : "rpc.gui.NewLine.label");
2424 : target =
2425 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2426 : 4, this->label(), target);
2427 : }
2428 :
2429 : // .rpc.gui.Id panel = 5;
2430 0 : if (this->has_panel()) {
2431 : target = ::google::protobuf::internal::WireFormatLite::
2432 0 : InternalWriteMessageToArray(
2433 : 5, this->_internal_panel(), deterministic, target);
2434 : }
2435 :
2436 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2437 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2438 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
2439 : }
2440 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.NewLine)
2441 0 : return target;
2442 : }
2443 :
2444 0 : size_t NewLine::ByteSizeLong() const {
2445 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.NewLine)
2446 0 : size_t total_size = 0;
2447 :
2448 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2449 0 : total_size +=
2450 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2451 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
2452 : }
2453 : // repeated double x = 1;
2454 : {
2455 0 : unsigned int count = static_cast<unsigned int>(this->x_size());
2456 0 : size_t data_size = 8UL * count;
2457 0 : if (data_size > 0) {
2458 0 : total_size += 1 +
2459 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
2460 : static_cast< ::google::protobuf::int32>(data_size));
2461 : }
2462 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
2463 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2464 0 : _x_cached_byte_size_ = cached_size;
2465 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
2466 0 : total_size += data_size;
2467 : }
2468 :
2469 : // repeated double y = 2;
2470 : {
2471 0 : unsigned int count = static_cast<unsigned int>(this->y_size());
2472 0 : size_t data_size = 8UL * count;
2473 0 : if (data_size > 0) {
2474 0 : total_size += 1 +
2475 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
2476 : static_cast< ::google::protobuf::int32>(data_size));
2477 : }
2478 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
2479 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2480 0 : _y_cached_byte_size_ = cached_size;
2481 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
2482 0 : total_size += data_size;
2483 : }
2484 :
2485 : // string color = 3;
2486 0 : if (this->color().size() > 0) {
2487 0 : total_size += 1 +
2488 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
2489 : this->color());
2490 : }
2491 :
2492 : // string label = 4;
2493 0 : if (this->label().size() > 0) {
2494 0 : total_size += 1 +
2495 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
2496 : this->label());
2497 : }
2498 :
2499 : // .rpc.gui.Id panel = 5;
2500 0 : if (this->has_panel()) {
2501 0 : total_size += 1 +
2502 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
2503 0 : *panel_);
2504 : }
2505 :
2506 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2507 0 : SetCachedSize(cached_size);
2508 0 : return total_size;
2509 : }
2510 :
2511 0 : void NewLine::MergeFrom(const ::google::protobuf::Message& from) {
2512 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.NewLine)
2513 0 : GOOGLE_DCHECK_NE(&from, this);
2514 : const NewLine* source =
2515 0 : ::google::protobuf::internal::DynamicCastToGenerated<const NewLine>(
2516 : &from);
2517 0 : if (source == NULL) {
2518 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.NewLine)
2519 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2520 : } else {
2521 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.NewLine)
2522 0 : MergeFrom(*source);
2523 : }
2524 0 : }
2525 :
2526 0 : void NewLine::MergeFrom(const NewLine& from) {
2527 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.NewLine)
2528 0 : GOOGLE_DCHECK_NE(&from, this);
2529 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
2530 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2531 : (void) cached_has_bits;
2532 :
2533 0 : x_.MergeFrom(from.x_);
2534 0 : y_.MergeFrom(from.y_);
2535 0 : if (from.color().size() > 0) {
2536 :
2537 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
2538 : }
2539 0 : if (from.label().size() > 0) {
2540 :
2541 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
2542 : }
2543 0 : if (from.has_panel()) {
2544 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
2545 : }
2546 0 : }
2547 :
2548 0 : void NewLine::CopyFrom(const ::google::protobuf::Message& from) {
2549 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.NewLine)
2550 0 : if (&from == this) return;
2551 0 : Clear();
2552 0 : MergeFrom(from);
2553 : }
2554 :
2555 0 : void NewLine::CopyFrom(const NewLine& from) {
2556 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.NewLine)
2557 0 : if (&from == this) return;
2558 0 : Clear();
2559 0 : MergeFrom(from);
2560 : }
2561 :
2562 0 : bool NewLine::IsInitialized() const {
2563 0 : return true;
2564 : }
2565 :
2566 0 : void NewLine::Swap(NewLine* other) {
2567 0 : if (other == this) return;
2568 0 : InternalSwap(other);
2569 : }
2570 0 : void NewLine::InternalSwap(NewLine* other) {
2571 : using std::swap;
2572 0 : x_.InternalSwap(&other->x_);
2573 0 : y_.InternalSwap(&other->y_);
2574 0 : color_.Swap(&other->color_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2575 : GetArenaNoVirtual());
2576 0 : label_.Swap(&other->label_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2577 : GetArenaNoVirtual());
2578 0 : swap(panel_, other->panel_);
2579 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
2580 0 : }
2581 :
2582 0 : ::google::protobuf::Metadata NewLine::GetMetadata() const {
2583 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
2584 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
2585 : }
2586 :
2587 :
2588 : // ===================================================================
2589 :
2590 10 : void NewScatter::InitAsDefaultInstance() {
2591 10 : ::rpc::gui::_NewScatter_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
2592 10 : ::rpc::gui::Id::internal_default_instance());
2593 10 : }
2594 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
2595 : const int NewScatter::kXFieldNumber;
2596 : const int NewScatter::kYFieldNumber;
2597 : const int NewScatter::kColorFieldNumber;
2598 : const int NewScatter::kLabelFieldNumber;
2599 : const int NewScatter::kSymbolFieldNumber;
2600 : const int NewScatter::kSymbolSizeFieldNumber;
2601 : const int NewScatter::kDotSizeFieldNumber;
2602 : const int NewScatter::kPanelFieldNumber;
2603 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
2604 :
2605 10 : NewScatter::NewScatter()
2606 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2607 10 : ::google::protobuf::internal::InitSCC(
2608 : &protobuf_plotserver_2eproto::scc_info_NewScatter.base);
2609 10 : SharedCtor();
2610 : // @@protoc_insertion_point(constructor:rpc.gui.NewScatter)
2611 10 : }
2612 0 : NewScatter::NewScatter(const NewScatter& from)
2613 : : ::google::protobuf::Message(),
2614 0 : _internal_metadata_(NULL),
2615 0 : x_(from.x_),
2616 0 : y_(from.y_) {
2617 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
2618 0 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2619 0 : if (from.color().size() > 0) {
2620 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
2621 : }
2622 0 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2623 0 : if (from.label().size() > 0) {
2624 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
2625 : }
2626 0 : symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2627 0 : if (from.symbol().size() > 0) {
2628 0 : symbol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.symbol_);
2629 : }
2630 0 : if (from.has_panel()) {
2631 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
2632 : } else {
2633 0 : panel_ = NULL;
2634 : }
2635 0 : ::memcpy(&symbol_size_, &from.symbol_size_,
2636 : static_cast<size_t>(reinterpret_cast<char*>(&dot_size_) -
2637 : reinterpret_cast<char*>(&symbol_size_)) + sizeof(dot_size_));
2638 : // @@protoc_insertion_point(copy_constructor:rpc.gui.NewScatter)
2639 0 : }
2640 :
2641 10 : void NewScatter::SharedCtor() {
2642 10 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2643 10 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2644 10 : symbol_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2645 10 : ::memset(&panel_, 0, static_cast<size_t>(
2646 : reinterpret_cast<char*>(&dot_size_) -
2647 : reinterpret_cast<char*>(&panel_)) + sizeof(dot_size_));
2648 10 : }
2649 :
2650 0 : NewScatter::~NewScatter() {
2651 : // @@protoc_insertion_point(destructor:rpc.gui.NewScatter)
2652 0 : SharedDtor();
2653 0 : }
2654 :
2655 0 : void NewScatter::SharedDtor() {
2656 0 : color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2657 0 : label_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2658 0 : symbol_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2659 0 : if (this != internal_default_instance()) delete panel_;
2660 0 : }
2661 :
2662 0 : void NewScatter::SetCachedSize(int size) const {
2663 0 : _cached_size_.Set(size);
2664 0 : }
2665 0 : const ::google::protobuf::Descriptor* NewScatter::descriptor() {
2666 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
2667 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2668 : }
2669 :
2670 0 : const NewScatter& NewScatter::default_instance() {
2671 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_NewScatter.base);
2672 0 : return *internal_default_instance();
2673 : }
2674 :
2675 :
2676 0 : void NewScatter::Clear() {
2677 : // @@protoc_insertion_point(message_clear_start:rpc.gui.NewScatter)
2678 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2679 : // Prevent compiler warnings about cached_has_bits being unused
2680 : (void) cached_has_bits;
2681 :
2682 0 : x_.Clear();
2683 0 : y_.Clear();
2684 0 : color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2685 0 : label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2686 0 : symbol_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2687 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
2688 0 : delete panel_;
2689 : }
2690 0 : panel_ = NULL;
2691 0 : ::memset(&symbol_size_, 0, static_cast<size_t>(
2692 : reinterpret_cast<char*>(&dot_size_) -
2693 : reinterpret_cast<char*>(&symbol_size_)) + sizeof(dot_size_));
2694 0 : _internal_metadata_.Clear();
2695 0 : }
2696 :
2697 0 : bool NewScatter::MergePartialFromCodedStream(
2698 : ::google::protobuf::io::CodedInputStream* input) {
2699 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2700 : ::google::protobuf::uint32 tag;
2701 : // @@protoc_insertion_point(parse_start:rpc.gui.NewScatter)
2702 : for (;;) {
2703 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2704 0 : tag = p.first;
2705 0 : if (!p.second) goto handle_unusual;
2706 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2707 : // repeated double x = 1;
2708 0 : case 1: {
2709 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2710 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2711 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
2712 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2713 : input, this->mutable_x())));
2714 0 : } else if (
2715 0 : static_cast< ::google::protobuf::uint8>(tag) ==
2716 : static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
2717 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
2718 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2719 : 1, 10u, input, this->mutable_x())));
2720 : } else {
2721 0 : goto handle_unusual;
2722 : }
2723 0 : break;
2724 : }
2725 :
2726 : // repeated double y = 2;
2727 0 : case 2: {
2728 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2729 : static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2730 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
2731 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2732 : input, this->mutable_y())));
2733 0 : } else if (
2734 0 : static_cast< ::google::protobuf::uint8>(tag) ==
2735 : static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
2736 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
2737 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
2738 : 1, 18u, input, this->mutable_y())));
2739 : } else {
2740 0 : goto handle_unusual;
2741 : }
2742 0 : break;
2743 : }
2744 :
2745 : // string color = 3;
2746 0 : case 3: {
2747 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2748 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
2749 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2750 : input, this->mutable_color()));
2751 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2752 : this->color().data(), static_cast<int>(this->color().length()),
2753 : ::google::protobuf::internal::WireFormatLite::PARSE,
2754 : "rpc.gui.NewScatter.color"));
2755 : } else {
2756 0 : goto handle_unusual;
2757 : }
2758 0 : break;
2759 : }
2760 :
2761 : // string label = 4;
2762 0 : case 4: {
2763 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2764 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
2765 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2766 : input, this->mutable_label()));
2767 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2768 : this->label().data(), static_cast<int>(this->label().length()),
2769 : ::google::protobuf::internal::WireFormatLite::PARSE,
2770 : "rpc.gui.NewScatter.label"));
2771 : } else {
2772 0 : goto handle_unusual;
2773 : }
2774 0 : break;
2775 : }
2776 :
2777 : // string symbol = 5;
2778 0 : case 5: {
2779 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2780 : static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
2781 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2782 : input, this->mutable_symbol()));
2783 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2784 : this->symbol().data(), static_cast<int>(this->symbol().length()),
2785 : ::google::protobuf::internal::WireFormatLite::PARSE,
2786 : "rpc.gui.NewScatter.symbol"));
2787 : } else {
2788 0 : goto handle_unusual;
2789 : }
2790 0 : break;
2791 : }
2792 :
2793 : // int32 symbol_size = 6;
2794 0 : case 6: {
2795 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2796 : static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
2797 :
2798 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2799 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2800 : input, &symbol_size_)));
2801 : } else {
2802 0 : goto handle_unusual;
2803 : }
2804 0 : break;
2805 : }
2806 :
2807 : // int32 dot_size = 7;
2808 0 : case 7: {
2809 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2810 : static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
2811 :
2812 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2813 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2814 : input, &dot_size_)));
2815 : } else {
2816 0 : goto handle_unusual;
2817 : }
2818 0 : break;
2819 : }
2820 :
2821 : // .rpc.gui.Id panel = 8;
2822 0 : case 8: {
2823 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
2824 : static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
2825 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2826 : input, mutable_panel()));
2827 : } else {
2828 0 : goto handle_unusual;
2829 : }
2830 0 : break;
2831 : }
2832 :
2833 : default: {
2834 0 : handle_unusual:
2835 0 : if (tag == 0) {
2836 0 : goto success;
2837 : }
2838 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
2839 : input, tag, _internal_metadata_.mutable_unknown_fields()));
2840 0 : break;
2841 : }
2842 : }
2843 0 : }
2844 0 : success:
2845 : // @@protoc_insertion_point(parse_success:rpc.gui.NewScatter)
2846 0 : return true;
2847 0 : failure:
2848 : // @@protoc_insertion_point(parse_failure:rpc.gui.NewScatter)
2849 0 : return false;
2850 : #undef DO_
2851 : }
2852 :
2853 0 : void NewScatter::SerializeWithCachedSizes(
2854 : ::google::protobuf::io::CodedOutputStream* output) const {
2855 : // @@protoc_insertion_point(serialize_start:rpc.gui.NewScatter)
2856 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2857 : (void) cached_has_bits;
2858 :
2859 : // repeated double x = 1;
2860 0 : if (this->x_size() > 0) {
2861 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
2862 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
2863 0 : _x_cached_byte_size_));
2864 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
2865 0 : this->x().data(), this->x_size(), output);
2866 : }
2867 :
2868 : // repeated double y = 2;
2869 0 : if (this->y_size() > 0) {
2870 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
2871 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
2872 0 : _y_cached_byte_size_));
2873 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
2874 0 : this->y().data(), this->y_size(), output);
2875 : }
2876 :
2877 : // string color = 3;
2878 0 : if (this->color().size() > 0) {
2879 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2880 0 : this->color().data(), static_cast<int>(this->color().length()),
2881 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2882 : "rpc.gui.NewScatter.color");
2883 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2884 : 3, this->color(), output);
2885 : }
2886 :
2887 : // string label = 4;
2888 0 : if (this->label().size() > 0) {
2889 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2890 0 : this->label().data(), static_cast<int>(this->label().length()),
2891 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2892 : "rpc.gui.NewScatter.label");
2893 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2894 : 4, this->label(), output);
2895 : }
2896 :
2897 : // string symbol = 5;
2898 0 : if (this->symbol().size() > 0) {
2899 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2900 0 : this->symbol().data(), static_cast<int>(this->symbol().length()),
2901 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2902 : "rpc.gui.NewScatter.symbol");
2903 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2904 : 5, this->symbol(), output);
2905 : }
2906 :
2907 : // int32 symbol_size = 6;
2908 0 : if (this->symbol_size() != 0) {
2909 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->symbol_size(), output);
2910 : }
2911 :
2912 : // int32 dot_size = 7;
2913 0 : if (this->dot_size() != 0) {
2914 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->dot_size(), output);
2915 : }
2916 :
2917 : // .rpc.gui.Id panel = 8;
2918 0 : if (this->has_panel()) {
2919 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2920 0 : 8, this->_internal_panel(), output);
2921 : }
2922 :
2923 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
2924 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2925 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
2926 : }
2927 : // @@protoc_insertion_point(serialize_end:rpc.gui.NewScatter)
2928 0 : }
2929 :
2930 0 : ::google::protobuf::uint8* NewScatter::InternalSerializeWithCachedSizesToArray(
2931 : bool deterministic, ::google::protobuf::uint8* target) const {
2932 : (void)deterministic; // Unused
2933 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.NewScatter)
2934 0 : ::google::protobuf::uint32 cached_has_bits = 0;
2935 : (void) cached_has_bits;
2936 :
2937 : // repeated double x = 1;
2938 0 : if (this->x_size() > 0) {
2939 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
2940 : 1,
2941 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
2942 : target);
2943 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
2944 : static_cast< ::google::protobuf::int32>(
2945 0 : _x_cached_byte_size_), target);
2946 : target = ::google::protobuf::internal::WireFormatLite::
2947 0 : WriteDoubleNoTagToArray(this->x_, target);
2948 : }
2949 :
2950 : // repeated double y = 2;
2951 0 : if (this->y_size() > 0) {
2952 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
2953 : 2,
2954 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
2955 : target);
2956 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
2957 : static_cast< ::google::protobuf::int32>(
2958 0 : _y_cached_byte_size_), target);
2959 : target = ::google::protobuf::internal::WireFormatLite::
2960 0 : WriteDoubleNoTagToArray(this->y_, target);
2961 : }
2962 :
2963 : // string color = 3;
2964 0 : if (this->color().size() > 0) {
2965 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2966 0 : this->color().data(), static_cast<int>(this->color().length()),
2967 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2968 : "rpc.gui.NewScatter.color");
2969 : target =
2970 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2971 : 3, this->color(), target);
2972 : }
2973 :
2974 : // string label = 4;
2975 0 : if (this->label().size() > 0) {
2976 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2977 0 : this->label().data(), static_cast<int>(this->label().length()),
2978 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2979 : "rpc.gui.NewScatter.label");
2980 : target =
2981 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2982 : 4, this->label(), target);
2983 : }
2984 :
2985 : // string symbol = 5;
2986 0 : if (this->symbol().size() > 0) {
2987 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
2988 0 : this->symbol().data(), static_cast<int>(this->symbol().length()),
2989 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
2990 : "rpc.gui.NewScatter.symbol");
2991 : target =
2992 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2993 : 5, this->symbol(), target);
2994 : }
2995 :
2996 : // int32 symbol_size = 6;
2997 0 : if (this->symbol_size() != 0) {
2998 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->symbol_size(), target);
2999 : }
3000 :
3001 : // int32 dot_size = 7;
3002 0 : if (this->dot_size() != 0) {
3003 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->dot_size(), target);
3004 : }
3005 :
3006 : // .rpc.gui.Id panel = 8;
3007 0 : if (this->has_panel()) {
3008 : target = ::google::protobuf::internal::WireFormatLite::
3009 0 : InternalWriteMessageToArray(
3010 : 8, this->_internal_panel(), deterministic, target);
3011 : }
3012 :
3013 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3014 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3015 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
3016 : }
3017 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.NewScatter)
3018 0 : return target;
3019 : }
3020 :
3021 0 : size_t NewScatter::ByteSizeLong() const {
3022 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.NewScatter)
3023 0 : size_t total_size = 0;
3024 :
3025 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3026 0 : total_size +=
3027 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3028 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
3029 : }
3030 : // repeated double x = 1;
3031 : {
3032 0 : unsigned int count = static_cast<unsigned int>(this->x_size());
3033 0 : size_t data_size = 8UL * count;
3034 0 : if (data_size > 0) {
3035 0 : total_size += 1 +
3036 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3037 : static_cast< ::google::protobuf::int32>(data_size));
3038 : }
3039 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
3040 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3041 0 : _x_cached_byte_size_ = cached_size;
3042 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
3043 0 : total_size += data_size;
3044 : }
3045 :
3046 : // repeated double y = 2;
3047 : {
3048 0 : unsigned int count = static_cast<unsigned int>(this->y_size());
3049 0 : size_t data_size = 8UL * count;
3050 0 : if (data_size > 0) {
3051 0 : total_size += 1 +
3052 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3053 : static_cast< ::google::protobuf::int32>(data_size));
3054 : }
3055 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
3056 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3057 0 : _y_cached_byte_size_ = cached_size;
3058 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
3059 0 : total_size += data_size;
3060 : }
3061 :
3062 : // string color = 3;
3063 0 : if (this->color().size() > 0) {
3064 0 : total_size += 1 +
3065 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3066 : this->color());
3067 : }
3068 :
3069 : // string label = 4;
3070 0 : if (this->label().size() > 0) {
3071 0 : total_size += 1 +
3072 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3073 : this->label());
3074 : }
3075 :
3076 : // string symbol = 5;
3077 0 : if (this->symbol().size() > 0) {
3078 0 : total_size += 1 +
3079 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3080 : this->symbol());
3081 : }
3082 :
3083 : // .rpc.gui.Id panel = 8;
3084 0 : if (this->has_panel()) {
3085 0 : total_size += 1 +
3086 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
3087 0 : *panel_);
3088 : }
3089 :
3090 : // int32 symbol_size = 6;
3091 0 : if (this->symbol_size() != 0) {
3092 0 : total_size += 1 +
3093 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3094 : this->symbol_size());
3095 : }
3096 :
3097 : // int32 dot_size = 7;
3098 0 : if (this->dot_size() != 0) {
3099 0 : total_size += 1 +
3100 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3101 : this->dot_size());
3102 : }
3103 :
3104 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3105 0 : SetCachedSize(cached_size);
3106 0 : return total_size;
3107 : }
3108 :
3109 0 : void NewScatter::MergeFrom(const ::google::protobuf::Message& from) {
3110 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.NewScatter)
3111 0 : GOOGLE_DCHECK_NE(&from, this);
3112 : const NewScatter* source =
3113 0 : ::google::protobuf::internal::DynamicCastToGenerated<const NewScatter>(
3114 : &from);
3115 0 : if (source == NULL) {
3116 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.NewScatter)
3117 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3118 : } else {
3119 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.NewScatter)
3120 0 : MergeFrom(*source);
3121 : }
3122 0 : }
3123 :
3124 0 : void NewScatter::MergeFrom(const NewScatter& from) {
3125 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.NewScatter)
3126 0 : GOOGLE_DCHECK_NE(&from, this);
3127 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
3128 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3129 : (void) cached_has_bits;
3130 :
3131 0 : x_.MergeFrom(from.x_);
3132 0 : y_.MergeFrom(from.y_);
3133 0 : if (from.color().size() > 0) {
3134 :
3135 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
3136 : }
3137 0 : if (from.label().size() > 0) {
3138 :
3139 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
3140 : }
3141 0 : if (from.symbol().size() > 0) {
3142 :
3143 0 : symbol_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.symbol_);
3144 : }
3145 0 : if (from.has_panel()) {
3146 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
3147 : }
3148 0 : if (from.symbol_size() != 0) {
3149 0 : set_symbol_size(from.symbol_size());
3150 : }
3151 0 : if (from.dot_size() != 0) {
3152 0 : set_dot_size(from.dot_size());
3153 : }
3154 0 : }
3155 :
3156 0 : void NewScatter::CopyFrom(const ::google::protobuf::Message& from) {
3157 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.NewScatter)
3158 0 : if (&from == this) return;
3159 0 : Clear();
3160 0 : MergeFrom(from);
3161 : }
3162 :
3163 0 : void NewScatter::CopyFrom(const NewScatter& from) {
3164 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.NewScatter)
3165 0 : if (&from == this) return;
3166 0 : Clear();
3167 0 : MergeFrom(from);
3168 : }
3169 :
3170 0 : bool NewScatter::IsInitialized() const {
3171 0 : return true;
3172 : }
3173 :
3174 0 : void NewScatter::Swap(NewScatter* other) {
3175 0 : if (other == this) return;
3176 0 : InternalSwap(other);
3177 : }
3178 0 : void NewScatter::InternalSwap(NewScatter* other) {
3179 : using std::swap;
3180 0 : x_.InternalSwap(&other->x_);
3181 0 : y_.InternalSwap(&other->y_);
3182 0 : color_.Swap(&other->color_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3183 : GetArenaNoVirtual());
3184 0 : label_.Swap(&other->label_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3185 : GetArenaNoVirtual());
3186 0 : symbol_.Swap(&other->symbol_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3187 : GetArenaNoVirtual());
3188 0 : swap(panel_, other->panel_);
3189 0 : swap(symbol_size_, other->symbol_size_);
3190 0 : swap(dot_size_, other->dot_size_);
3191 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
3192 0 : }
3193 :
3194 0 : ::google::protobuf::Metadata NewScatter::GetMetadata() const {
3195 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
3196 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
3197 : }
3198 :
3199 :
3200 : // ===================================================================
3201 :
3202 10 : void NewHistogram::InitAsDefaultInstance() {
3203 10 : ::rpc::gui::_NewHistogram_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
3204 10 : ::rpc::gui::Id::internal_default_instance());
3205 10 : }
3206 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
3207 : const int NewHistogram::kValuesFieldNumber;
3208 : const int NewHistogram::kBinsFieldNumber;
3209 : const int NewHistogram::kColorFieldNumber;
3210 : const int NewHistogram::kLabelFieldNumber;
3211 : const int NewHistogram::kPanelFieldNumber;
3212 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3213 :
3214 10 : NewHistogram::NewHistogram()
3215 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3216 10 : ::google::protobuf::internal::InitSCC(
3217 : &protobuf_plotserver_2eproto::scc_info_NewHistogram.base);
3218 10 : SharedCtor();
3219 : // @@protoc_insertion_point(constructor:rpc.gui.NewHistogram)
3220 10 : }
3221 0 : NewHistogram::NewHistogram(const NewHistogram& from)
3222 : : ::google::protobuf::Message(),
3223 0 : _internal_metadata_(NULL),
3224 0 : values_(from.values_) {
3225 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
3226 0 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3227 0 : if (from.color().size() > 0) {
3228 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
3229 : }
3230 0 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3231 0 : if (from.label().size() > 0) {
3232 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
3233 : }
3234 0 : if (from.has_panel()) {
3235 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
3236 : } else {
3237 0 : panel_ = NULL;
3238 : }
3239 0 : bins_ = from.bins_;
3240 : // @@protoc_insertion_point(copy_constructor:rpc.gui.NewHistogram)
3241 0 : }
3242 :
3243 10 : void NewHistogram::SharedCtor() {
3244 10 : color_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3245 10 : label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3246 10 : ::memset(&panel_, 0, static_cast<size_t>(
3247 : reinterpret_cast<char*>(&bins_) -
3248 : reinterpret_cast<char*>(&panel_)) + sizeof(bins_));
3249 10 : }
3250 :
3251 0 : NewHistogram::~NewHistogram() {
3252 : // @@protoc_insertion_point(destructor:rpc.gui.NewHistogram)
3253 0 : SharedDtor();
3254 0 : }
3255 :
3256 0 : void NewHistogram::SharedDtor() {
3257 0 : color_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3258 0 : label_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3259 0 : if (this != internal_default_instance()) delete panel_;
3260 0 : }
3261 :
3262 0 : void NewHistogram::SetCachedSize(int size) const {
3263 0 : _cached_size_.Set(size);
3264 0 : }
3265 0 : const ::google::protobuf::Descriptor* NewHistogram::descriptor() {
3266 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
3267 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3268 : }
3269 :
3270 0 : const NewHistogram& NewHistogram::default_instance() {
3271 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_NewHistogram.base);
3272 0 : return *internal_default_instance();
3273 : }
3274 :
3275 :
3276 0 : void NewHistogram::Clear() {
3277 : // @@protoc_insertion_point(message_clear_start:rpc.gui.NewHistogram)
3278 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3279 : // Prevent compiler warnings about cached_has_bits being unused
3280 : (void) cached_has_bits;
3281 :
3282 0 : values_.Clear();
3283 0 : color_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3284 0 : label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3285 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
3286 0 : delete panel_;
3287 : }
3288 0 : panel_ = NULL;
3289 0 : bins_ = 0;
3290 0 : _internal_metadata_.Clear();
3291 0 : }
3292 :
3293 0 : bool NewHistogram::MergePartialFromCodedStream(
3294 : ::google::protobuf::io::CodedInputStream* input) {
3295 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3296 : ::google::protobuf::uint32 tag;
3297 : // @@protoc_insertion_point(parse_start:rpc.gui.NewHistogram)
3298 : for (;;) {
3299 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3300 0 : tag = p.first;
3301 0 : if (!p.second) goto handle_unusual;
3302 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3303 : // repeated double values = 1;
3304 0 : case 1: {
3305 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3306 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3307 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
3308 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
3309 : input, this->mutable_values())));
3310 0 : } else if (
3311 0 : static_cast< ::google::protobuf::uint8>(tag) ==
3312 : static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
3313 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
3314 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
3315 : 1, 10u, input, this->mutable_values())));
3316 : } else {
3317 0 : goto handle_unusual;
3318 : }
3319 0 : break;
3320 : }
3321 :
3322 : // int32 bins = 2;
3323 0 : case 2: {
3324 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3325 : static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
3326 :
3327 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3328 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
3329 : input, &bins_)));
3330 : } else {
3331 0 : goto handle_unusual;
3332 : }
3333 0 : break;
3334 : }
3335 :
3336 : // string color = 3;
3337 0 : case 3: {
3338 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3339 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3340 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3341 : input, this->mutable_color()));
3342 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3343 : this->color().data(), static_cast<int>(this->color().length()),
3344 : ::google::protobuf::internal::WireFormatLite::PARSE,
3345 : "rpc.gui.NewHistogram.color"));
3346 : } else {
3347 0 : goto handle_unusual;
3348 : }
3349 0 : break;
3350 : }
3351 :
3352 : // string label = 4;
3353 0 : case 4: {
3354 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3355 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
3356 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3357 : input, this->mutable_label()));
3358 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3359 : this->label().data(), static_cast<int>(this->label().length()),
3360 : ::google::protobuf::internal::WireFormatLite::PARSE,
3361 : "rpc.gui.NewHistogram.label"));
3362 : } else {
3363 0 : goto handle_unusual;
3364 : }
3365 0 : break;
3366 : }
3367 :
3368 : // .rpc.gui.Id panel = 5;
3369 0 : case 5: {
3370 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3371 : static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
3372 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3373 : input, mutable_panel()));
3374 : } else {
3375 0 : goto handle_unusual;
3376 : }
3377 0 : break;
3378 : }
3379 :
3380 : default: {
3381 0 : handle_unusual:
3382 0 : if (tag == 0) {
3383 0 : goto success;
3384 : }
3385 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
3386 : input, tag, _internal_metadata_.mutable_unknown_fields()));
3387 0 : break;
3388 : }
3389 : }
3390 0 : }
3391 0 : success:
3392 : // @@protoc_insertion_point(parse_success:rpc.gui.NewHistogram)
3393 0 : return true;
3394 0 : failure:
3395 : // @@protoc_insertion_point(parse_failure:rpc.gui.NewHistogram)
3396 0 : return false;
3397 : #undef DO_
3398 : }
3399 :
3400 0 : void NewHistogram::SerializeWithCachedSizes(
3401 : ::google::protobuf::io::CodedOutputStream* output) const {
3402 : // @@protoc_insertion_point(serialize_start:rpc.gui.NewHistogram)
3403 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3404 : (void) cached_has_bits;
3405 :
3406 : // repeated double values = 1;
3407 0 : if (this->values_size() > 0) {
3408 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
3409 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
3410 0 : _values_cached_byte_size_));
3411 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
3412 0 : this->values().data(), this->values_size(), output);
3413 : }
3414 :
3415 : // int32 bins = 2;
3416 0 : if (this->bins() != 0) {
3417 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bins(), output);
3418 : }
3419 :
3420 : // string color = 3;
3421 0 : if (this->color().size() > 0) {
3422 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3423 0 : this->color().data(), static_cast<int>(this->color().length()),
3424 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3425 : "rpc.gui.NewHistogram.color");
3426 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3427 : 3, this->color(), output);
3428 : }
3429 :
3430 : // string label = 4;
3431 0 : if (this->label().size() > 0) {
3432 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3433 0 : this->label().data(), static_cast<int>(this->label().length()),
3434 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3435 : "rpc.gui.NewHistogram.label");
3436 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3437 : 4, this->label(), output);
3438 : }
3439 :
3440 : // .rpc.gui.Id panel = 5;
3441 0 : if (this->has_panel()) {
3442 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3443 0 : 5, this->_internal_panel(), output);
3444 : }
3445 :
3446 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3447 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3448 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
3449 : }
3450 : // @@protoc_insertion_point(serialize_end:rpc.gui.NewHistogram)
3451 0 : }
3452 :
3453 0 : ::google::protobuf::uint8* NewHistogram::InternalSerializeWithCachedSizesToArray(
3454 : bool deterministic, ::google::protobuf::uint8* target) const {
3455 : (void)deterministic; // Unused
3456 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.NewHistogram)
3457 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3458 : (void) cached_has_bits;
3459 :
3460 : // repeated double values = 1;
3461 0 : if (this->values_size() > 0) {
3462 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
3463 : 1,
3464 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
3465 : target);
3466 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
3467 : static_cast< ::google::protobuf::int32>(
3468 0 : _values_cached_byte_size_), target);
3469 : target = ::google::protobuf::internal::WireFormatLite::
3470 0 : WriteDoubleNoTagToArray(this->values_, target);
3471 : }
3472 :
3473 : // int32 bins = 2;
3474 0 : if (this->bins() != 0) {
3475 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bins(), target);
3476 : }
3477 :
3478 : // string color = 3;
3479 0 : if (this->color().size() > 0) {
3480 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3481 0 : this->color().data(), static_cast<int>(this->color().length()),
3482 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3483 : "rpc.gui.NewHistogram.color");
3484 : target =
3485 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3486 : 3, this->color(), target);
3487 : }
3488 :
3489 : // string label = 4;
3490 0 : if (this->label().size() > 0) {
3491 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3492 0 : this->label().data(), static_cast<int>(this->label().length()),
3493 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3494 : "rpc.gui.NewHistogram.label");
3495 : target =
3496 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3497 : 4, this->label(), target);
3498 : }
3499 :
3500 : // .rpc.gui.Id panel = 5;
3501 0 : if (this->has_panel()) {
3502 : target = ::google::protobuf::internal::WireFormatLite::
3503 0 : InternalWriteMessageToArray(
3504 : 5, this->_internal_panel(), deterministic, target);
3505 : }
3506 :
3507 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3508 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3509 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
3510 : }
3511 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.NewHistogram)
3512 0 : return target;
3513 : }
3514 :
3515 0 : size_t NewHistogram::ByteSizeLong() const {
3516 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.NewHistogram)
3517 0 : size_t total_size = 0;
3518 :
3519 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3520 0 : total_size +=
3521 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3522 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
3523 : }
3524 : // repeated double values = 1;
3525 : {
3526 0 : unsigned int count = static_cast<unsigned int>(this->values_size());
3527 0 : size_t data_size = 8UL * count;
3528 0 : if (data_size > 0) {
3529 0 : total_size += 1 +
3530 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3531 : static_cast< ::google::protobuf::int32>(data_size));
3532 : }
3533 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
3534 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3535 0 : _values_cached_byte_size_ = cached_size;
3536 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
3537 0 : total_size += data_size;
3538 : }
3539 :
3540 : // string color = 3;
3541 0 : if (this->color().size() > 0) {
3542 0 : total_size += 1 +
3543 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3544 : this->color());
3545 : }
3546 :
3547 : // string label = 4;
3548 0 : if (this->label().size() > 0) {
3549 0 : total_size += 1 +
3550 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3551 : this->label());
3552 : }
3553 :
3554 : // .rpc.gui.Id panel = 5;
3555 0 : if (this->has_panel()) {
3556 0 : total_size += 1 +
3557 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
3558 0 : *panel_);
3559 : }
3560 :
3561 : // int32 bins = 2;
3562 0 : if (this->bins() != 0) {
3563 0 : total_size += 1 +
3564 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3565 : this->bins());
3566 : }
3567 :
3568 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3569 0 : SetCachedSize(cached_size);
3570 0 : return total_size;
3571 : }
3572 :
3573 0 : void NewHistogram::MergeFrom(const ::google::protobuf::Message& from) {
3574 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.NewHistogram)
3575 0 : GOOGLE_DCHECK_NE(&from, this);
3576 : const NewHistogram* source =
3577 0 : ::google::protobuf::internal::DynamicCastToGenerated<const NewHistogram>(
3578 : &from);
3579 0 : if (source == NULL) {
3580 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.NewHistogram)
3581 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3582 : } else {
3583 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.NewHistogram)
3584 0 : MergeFrom(*source);
3585 : }
3586 0 : }
3587 :
3588 0 : void NewHistogram::MergeFrom(const NewHistogram& from) {
3589 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.NewHistogram)
3590 0 : GOOGLE_DCHECK_NE(&from, this);
3591 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
3592 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3593 : (void) cached_has_bits;
3594 :
3595 0 : values_.MergeFrom(from.values_);
3596 0 : if (from.color().size() > 0) {
3597 :
3598 0 : color_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.color_);
3599 : }
3600 0 : if (from.label().size() > 0) {
3601 :
3602 0 : label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.label_);
3603 : }
3604 0 : if (from.has_panel()) {
3605 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
3606 : }
3607 0 : if (from.bins() != 0) {
3608 0 : set_bins(from.bins());
3609 : }
3610 0 : }
3611 :
3612 0 : void NewHistogram::CopyFrom(const ::google::protobuf::Message& from) {
3613 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.NewHistogram)
3614 0 : if (&from == this) return;
3615 0 : Clear();
3616 0 : MergeFrom(from);
3617 : }
3618 :
3619 0 : void NewHistogram::CopyFrom(const NewHistogram& from) {
3620 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.NewHistogram)
3621 0 : if (&from == this) return;
3622 0 : Clear();
3623 0 : MergeFrom(from);
3624 : }
3625 :
3626 0 : bool NewHistogram::IsInitialized() const {
3627 0 : return true;
3628 : }
3629 :
3630 0 : void NewHistogram::Swap(NewHistogram* other) {
3631 0 : if (other == this) return;
3632 0 : InternalSwap(other);
3633 : }
3634 0 : void NewHistogram::InternalSwap(NewHistogram* other) {
3635 : using std::swap;
3636 0 : values_.InternalSwap(&other->values_);
3637 0 : color_.Swap(&other->color_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3638 : GetArenaNoVirtual());
3639 0 : label_.Swap(&other->label_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3640 : GetArenaNoVirtual());
3641 0 : swap(panel_, other->panel_);
3642 0 : swap(bins_, other->bins_);
3643 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
3644 0 : }
3645 :
3646 0 : ::google::protobuf::Metadata NewHistogram::GetMetadata() const {
3647 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
3648 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
3649 : }
3650 :
3651 :
3652 : // ===================================================================
3653 :
3654 10 : void NewRaster::InitAsDefaultInstance() {
3655 10 : ::rpc::gui::_NewRaster_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
3656 10 : ::rpc::gui::Id::internal_default_instance());
3657 10 : }
3658 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
3659 : const int NewRaster::kMatrixFieldNumber;
3660 : const int NewRaster::kSizexFieldNumber;
3661 : const int NewRaster::kSizeyFieldNumber;
3662 : const int NewRaster::kColormapFieldNumber;
3663 : const int NewRaster::kPanelFieldNumber;
3664 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
3665 :
3666 10 : NewRaster::NewRaster()
3667 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3668 10 : ::google::protobuf::internal::InitSCC(
3669 : &protobuf_plotserver_2eproto::scc_info_NewRaster.base);
3670 10 : SharedCtor();
3671 : // @@protoc_insertion_point(constructor:rpc.gui.NewRaster)
3672 10 : }
3673 0 : NewRaster::NewRaster(const NewRaster& from)
3674 : : ::google::protobuf::Message(),
3675 0 : _internal_metadata_(NULL),
3676 0 : matrix_(from.matrix_) {
3677 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
3678 0 : colormap_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3679 0 : if (from.colormap().size() > 0) {
3680 0 : colormap_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.colormap_);
3681 : }
3682 0 : if (from.has_panel()) {
3683 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
3684 : } else {
3685 0 : panel_ = NULL;
3686 : }
3687 0 : ::memcpy(&sizex_, &from.sizex_,
3688 : static_cast<size_t>(reinterpret_cast<char*>(&sizey_) -
3689 : reinterpret_cast<char*>(&sizex_)) + sizeof(sizey_));
3690 : // @@protoc_insertion_point(copy_constructor:rpc.gui.NewRaster)
3691 0 : }
3692 :
3693 10 : void NewRaster::SharedCtor() {
3694 10 : colormap_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3695 10 : ::memset(&panel_, 0, static_cast<size_t>(
3696 : reinterpret_cast<char*>(&sizey_) -
3697 : reinterpret_cast<char*>(&panel_)) + sizeof(sizey_));
3698 10 : }
3699 :
3700 0 : NewRaster::~NewRaster() {
3701 : // @@protoc_insertion_point(destructor:rpc.gui.NewRaster)
3702 0 : SharedDtor();
3703 0 : }
3704 :
3705 0 : void NewRaster::SharedDtor() {
3706 0 : colormap_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3707 0 : if (this != internal_default_instance()) delete panel_;
3708 0 : }
3709 :
3710 0 : void NewRaster::SetCachedSize(int size) const {
3711 0 : _cached_size_.Set(size);
3712 0 : }
3713 0 : const ::google::protobuf::Descriptor* NewRaster::descriptor() {
3714 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
3715 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3716 : }
3717 :
3718 0 : const NewRaster& NewRaster::default_instance() {
3719 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_NewRaster.base);
3720 0 : return *internal_default_instance();
3721 : }
3722 :
3723 :
3724 0 : void NewRaster::Clear() {
3725 : // @@protoc_insertion_point(message_clear_start:rpc.gui.NewRaster)
3726 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3727 : // Prevent compiler warnings about cached_has_bits being unused
3728 : (void) cached_has_bits;
3729 :
3730 0 : matrix_.Clear();
3731 0 : colormap_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3732 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
3733 0 : delete panel_;
3734 : }
3735 0 : panel_ = NULL;
3736 0 : ::memset(&sizex_, 0, static_cast<size_t>(
3737 : reinterpret_cast<char*>(&sizey_) -
3738 : reinterpret_cast<char*>(&sizex_)) + sizeof(sizey_));
3739 0 : _internal_metadata_.Clear();
3740 0 : }
3741 :
3742 0 : bool NewRaster::MergePartialFromCodedStream(
3743 : ::google::protobuf::io::CodedInputStream* input) {
3744 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3745 : ::google::protobuf::uint32 tag;
3746 : // @@protoc_insertion_point(parse_start:rpc.gui.NewRaster)
3747 : for (;;) {
3748 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3749 0 : tag = p.first;
3750 0 : if (!p.second) goto handle_unusual;
3751 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3752 : // repeated double matrix = 1;
3753 0 : case 1: {
3754 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3755 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3756 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
3757 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
3758 : input, this->mutable_matrix())));
3759 0 : } else if (
3760 0 : static_cast< ::google::protobuf::uint8>(tag) ==
3761 : static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
3762 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
3763 : double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
3764 : 1, 10u, input, this->mutable_matrix())));
3765 : } else {
3766 0 : goto handle_unusual;
3767 : }
3768 0 : break;
3769 : }
3770 :
3771 : // int32 sizex = 2;
3772 0 : case 2: {
3773 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3774 : static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
3775 :
3776 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3777 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
3778 : input, &sizex_)));
3779 : } else {
3780 0 : goto handle_unusual;
3781 : }
3782 0 : break;
3783 : }
3784 :
3785 : // int32 sizey = 3;
3786 0 : case 3: {
3787 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3788 : static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
3789 :
3790 0 : DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3791 : ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
3792 : input, &sizey_)));
3793 : } else {
3794 0 : goto handle_unusual;
3795 : }
3796 0 : break;
3797 : }
3798 :
3799 : // string colormap = 4;
3800 0 : case 4: {
3801 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3802 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
3803 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3804 : input, this->mutable_colormap()));
3805 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3806 : this->colormap().data(), static_cast<int>(this->colormap().length()),
3807 : ::google::protobuf::internal::WireFormatLite::PARSE,
3808 : "rpc.gui.NewRaster.colormap"));
3809 : } else {
3810 0 : goto handle_unusual;
3811 : }
3812 0 : break;
3813 : }
3814 :
3815 : // .rpc.gui.Id panel = 5;
3816 0 : case 5: {
3817 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
3818 : static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
3819 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3820 : input, mutable_panel()));
3821 : } else {
3822 0 : goto handle_unusual;
3823 : }
3824 0 : break;
3825 : }
3826 :
3827 : default: {
3828 0 : handle_unusual:
3829 0 : if (tag == 0) {
3830 0 : goto success;
3831 : }
3832 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
3833 : input, tag, _internal_metadata_.mutable_unknown_fields()));
3834 0 : break;
3835 : }
3836 : }
3837 0 : }
3838 0 : success:
3839 : // @@protoc_insertion_point(parse_success:rpc.gui.NewRaster)
3840 0 : return true;
3841 0 : failure:
3842 : // @@protoc_insertion_point(parse_failure:rpc.gui.NewRaster)
3843 0 : return false;
3844 : #undef DO_
3845 : }
3846 :
3847 0 : void NewRaster::SerializeWithCachedSizes(
3848 : ::google::protobuf::io::CodedOutputStream* output) const {
3849 : // @@protoc_insertion_point(serialize_start:rpc.gui.NewRaster)
3850 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3851 : (void) cached_has_bits;
3852 :
3853 : // repeated double matrix = 1;
3854 0 : if (this->matrix_size() > 0) {
3855 0 : ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
3856 0 : output->WriteVarint32(static_cast< ::google::protobuf::uint32>(
3857 0 : _matrix_cached_byte_size_));
3858 0 : ::google::protobuf::internal::WireFormatLite::WriteDoubleArray(
3859 0 : this->matrix().data(), this->matrix_size(), output);
3860 : }
3861 :
3862 : // int32 sizex = 2;
3863 0 : if (this->sizex() != 0) {
3864 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sizex(), output);
3865 : }
3866 :
3867 : // int32 sizey = 3;
3868 0 : if (this->sizey() != 0) {
3869 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->sizey(), output);
3870 : }
3871 :
3872 : // string colormap = 4;
3873 0 : if (this->colormap().size() > 0) {
3874 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3875 0 : this->colormap().data(), static_cast<int>(this->colormap().length()),
3876 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3877 : "rpc.gui.NewRaster.colormap");
3878 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3879 : 4, this->colormap(), output);
3880 : }
3881 :
3882 : // .rpc.gui.Id panel = 5;
3883 0 : if (this->has_panel()) {
3884 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3885 0 : 5, this->_internal_panel(), output);
3886 : }
3887 :
3888 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3889 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3890 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
3891 : }
3892 : // @@protoc_insertion_point(serialize_end:rpc.gui.NewRaster)
3893 0 : }
3894 :
3895 0 : ::google::protobuf::uint8* NewRaster::InternalSerializeWithCachedSizesToArray(
3896 : bool deterministic, ::google::protobuf::uint8* target) const {
3897 : (void)deterministic; // Unused
3898 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.NewRaster)
3899 0 : ::google::protobuf::uint32 cached_has_bits = 0;
3900 : (void) cached_has_bits;
3901 :
3902 : // repeated double matrix = 1;
3903 0 : if (this->matrix_size() > 0) {
3904 0 : target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(
3905 : 1,
3906 : ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,
3907 : target);
3908 0 : target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(
3909 : static_cast< ::google::protobuf::int32>(
3910 0 : _matrix_cached_byte_size_), target);
3911 : target = ::google::protobuf::internal::WireFormatLite::
3912 0 : WriteDoubleNoTagToArray(this->matrix_, target);
3913 : }
3914 :
3915 : // int32 sizex = 2;
3916 0 : if (this->sizex() != 0) {
3917 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sizex(), target);
3918 : }
3919 :
3920 : // int32 sizey = 3;
3921 0 : if (this->sizey() != 0) {
3922 0 : target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->sizey(), target);
3923 : }
3924 :
3925 : // string colormap = 4;
3926 0 : if (this->colormap().size() > 0) {
3927 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
3928 0 : this->colormap().data(), static_cast<int>(this->colormap().length()),
3929 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
3930 : "rpc.gui.NewRaster.colormap");
3931 : target =
3932 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3933 : 4, this->colormap(), target);
3934 : }
3935 :
3936 : // .rpc.gui.Id panel = 5;
3937 0 : if (this->has_panel()) {
3938 : target = ::google::protobuf::internal::WireFormatLite::
3939 0 : InternalWriteMessageToArray(
3940 : 5, this->_internal_panel(), deterministic, target);
3941 : }
3942 :
3943 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3944 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3945 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
3946 : }
3947 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.NewRaster)
3948 0 : return target;
3949 : }
3950 :
3951 0 : size_t NewRaster::ByteSizeLong() const {
3952 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.NewRaster)
3953 0 : size_t total_size = 0;
3954 :
3955 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
3956 0 : total_size +=
3957 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3958 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
3959 : }
3960 : // repeated double matrix = 1;
3961 : {
3962 0 : unsigned int count = static_cast<unsigned int>(this->matrix_size());
3963 0 : size_t data_size = 8UL * count;
3964 0 : if (data_size > 0) {
3965 0 : total_size += 1 +
3966 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3967 : static_cast< ::google::protobuf::int32>(data_size));
3968 : }
3969 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);
3970 : GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3971 0 : _matrix_cached_byte_size_ = cached_size;
3972 : GOOGLE_SAFE_CONCURRENT_WRITES_END();
3973 0 : total_size += data_size;
3974 : }
3975 :
3976 : // string colormap = 4;
3977 0 : if (this->colormap().size() > 0) {
3978 0 : total_size += 1 +
3979 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
3980 : this->colormap());
3981 : }
3982 :
3983 : // .rpc.gui.Id panel = 5;
3984 0 : if (this->has_panel()) {
3985 0 : total_size += 1 +
3986 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
3987 0 : *panel_);
3988 : }
3989 :
3990 : // int32 sizex = 2;
3991 0 : if (this->sizex() != 0) {
3992 0 : total_size += 1 +
3993 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
3994 : this->sizex());
3995 : }
3996 :
3997 : // int32 sizey = 3;
3998 0 : if (this->sizey() != 0) {
3999 0 : total_size += 1 +
4000 0 : ::google::protobuf::internal::WireFormatLite::Int32Size(
4001 : this->sizey());
4002 : }
4003 :
4004 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4005 0 : SetCachedSize(cached_size);
4006 0 : return total_size;
4007 : }
4008 :
4009 0 : void NewRaster::MergeFrom(const ::google::protobuf::Message& from) {
4010 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.NewRaster)
4011 0 : GOOGLE_DCHECK_NE(&from, this);
4012 : const NewRaster* source =
4013 0 : ::google::protobuf::internal::DynamicCastToGenerated<const NewRaster>(
4014 : &from);
4015 0 : if (source == NULL) {
4016 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.NewRaster)
4017 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4018 : } else {
4019 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.NewRaster)
4020 0 : MergeFrom(*source);
4021 : }
4022 0 : }
4023 :
4024 0 : void NewRaster::MergeFrom(const NewRaster& from) {
4025 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.NewRaster)
4026 0 : GOOGLE_DCHECK_NE(&from, this);
4027 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
4028 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4029 : (void) cached_has_bits;
4030 :
4031 0 : matrix_.MergeFrom(from.matrix_);
4032 0 : if (from.colormap().size() > 0) {
4033 :
4034 0 : colormap_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.colormap_);
4035 : }
4036 0 : if (from.has_panel()) {
4037 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
4038 : }
4039 0 : if (from.sizex() != 0) {
4040 0 : set_sizex(from.sizex());
4041 : }
4042 0 : if (from.sizey() != 0) {
4043 0 : set_sizey(from.sizey());
4044 : }
4045 0 : }
4046 :
4047 0 : void NewRaster::CopyFrom(const ::google::protobuf::Message& from) {
4048 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.NewRaster)
4049 0 : if (&from == this) return;
4050 0 : Clear();
4051 0 : MergeFrom(from);
4052 : }
4053 :
4054 0 : void NewRaster::CopyFrom(const NewRaster& from) {
4055 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.NewRaster)
4056 0 : if (&from == this) return;
4057 0 : Clear();
4058 0 : MergeFrom(from);
4059 : }
4060 :
4061 0 : bool NewRaster::IsInitialized() const {
4062 0 : return true;
4063 : }
4064 :
4065 0 : void NewRaster::Swap(NewRaster* other) {
4066 0 : if (other == this) return;
4067 0 : InternalSwap(other);
4068 : }
4069 0 : void NewRaster::InternalSwap(NewRaster* other) {
4070 : using std::swap;
4071 0 : matrix_.InternalSwap(&other->matrix_);
4072 0 : colormap_.Swap(&other->colormap_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4073 : GetArenaNoVirtual());
4074 0 : swap(panel_, other->panel_);
4075 0 : swap(sizex_, other->sizex_);
4076 0 : swap(sizey_, other->sizey_);
4077 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
4078 0 : }
4079 :
4080 0 : ::google::protobuf::Metadata NewRaster::GetMetadata() const {
4081 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
4082 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
4083 : }
4084 :
4085 :
4086 : // ===================================================================
4087 :
4088 10 : void Label::InitAsDefaultInstance() {
4089 10 : ::rpc::gui::_Label_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
4090 10 : ::rpc::gui::Id::internal_default_instance());
4091 10 : }
4092 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
4093 : const int Label::kXlabelFieldNumber;
4094 : const int Label::kYlabelFieldNumber;
4095 : const int Label::kTitleFieldNumber;
4096 : const int Label::kPanelFieldNumber;
4097 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4098 :
4099 10 : Label::Label()
4100 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4101 10 : ::google::protobuf::internal::InitSCC(
4102 : &protobuf_plotserver_2eproto::scc_info_Label.base);
4103 10 : SharedCtor();
4104 : // @@protoc_insertion_point(constructor:rpc.gui.Label)
4105 10 : }
4106 0 : Label::Label(const Label& from)
4107 : : ::google::protobuf::Message(),
4108 0 : _internal_metadata_(NULL) {
4109 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
4110 0 : xlabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4111 0 : if (from.xlabel().size() > 0) {
4112 0 : xlabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.xlabel_);
4113 : }
4114 0 : ylabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4115 0 : if (from.ylabel().size() > 0) {
4116 0 : ylabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ylabel_);
4117 : }
4118 0 : title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4119 0 : if (from.title().size() > 0) {
4120 0 : title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
4121 : }
4122 0 : if (from.has_panel()) {
4123 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
4124 : } else {
4125 0 : panel_ = NULL;
4126 : }
4127 : // @@protoc_insertion_point(copy_constructor:rpc.gui.Label)
4128 0 : }
4129 :
4130 10 : void Label::SharedCtor() {
4131 10 : xlabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4132 10 : ylabel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4133 10 : title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4134 10 : panel_ = NULL;
4135 10 : }
4136 :
4137 0 : Label::~Label() {
4138 : // @@protoc_insertion_point(destructor:rpc.gui.Label)
4139 0 : SharedDtor();
4140 0 : }
4141 :
4142 0 : void Label::SharedDtor() {
4143 0 : xlabel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4144 0 : ylabel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4145 0 : title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4146 0 : if (this != internal_default_instance()) delete panel_;
4147 0 : }
4148 :
4149 0 : void Label::SetCachedSize(int size) const {
4150 0 : _cached_size_.Set(size);
4151 0 : }
4152 0 : const ::google::protobuf::Descriptor* Label::descriptor() {
4153 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
4154 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4155 : }
4156 :
4157 0 : const Label& Label::default_instance() {
4158 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_Label.base);
4159 0 : return *internal_default_instance();
4160 : }
4161 :
4162 :
4163 0 : void Label::Clear() {
4164 : // @@protoc_insertion_point(message_clear_start:rpc.gui.Label)
4165 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4166 : // Prevent compiler warnings about cached_has_bits being unused
4167 : (void) cached_has_bits;
4168 :
4169 0 : xlabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4170 0 : ylabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4171 0 : title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4172 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
4173 0 : delete panel_;
4174 : }
4175 0 : panel_ = NULL;
4176 0 : _internal_metadata_.Clear();
4177 0 : }
4178 :
4179 0 : bool Label::MergePartialFromCodedStream(
4180 : ::google::protobuf::io::CodedInputStream* input) {
4181 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4182 : ::google::protobuf::uint32 tag;
4183 : // @@protoc_insertion_point(parse_start:rpc.gui.Label)
4184 : for (;;) {
4185 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4186 0 : tag = p.first;
4187 0 : if (!p.second) goto handle_unusual;
4188 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4189 : // string xlabel = 1;
4190 0 : case 1: {
4191 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4192 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4193 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4194 : input, this->mutable_xlabel()));
4195 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4196 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
4197 : ::google::protobuf::internal::WireFormatLite::PARSE,
4198 : "rpc.gui.Label.xlabel"));
4199 : } else {
4200 0 : goto handle_unusual;
4201 : }
4202 0 : break;
4203 : }
4204 :
4205 : // string ylabel = 2;
4206 0 : case 2: {
4207 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4208 : static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4209 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4210 : input, this->mutable_ylabel()));
4211 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4212 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
4213 : ::google::protobuf::internal::WireFormatLite::PARSE,
4214 : "rpc.gui.Label.ylabel"));
4215 : } else {
4216 0 : goto handle_unusual;
4217 : }
4218 0 : break;
4219 : }
4220 :
4221 : // string title = 3;
4222 0 : case 3: {
4223 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4224 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4225 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4226 : input, this->mutable_title()));
4227 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4228 : this->title().data(), static_cast<int>(this->title().length()),
4229 : ::google::protobuf::internal::WireFormatLite::PARSE,
4230 : "rpc.gui.Label.title"));
4231 : } else {
4232 0 : goto handle_unusual;
4233 : }
4234 0 : break;
4235 : }
4236 :
4237 : // .rpc.gui.Id panel = 4;
4238 0 : case 4: {
4239 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4240 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
4241 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4242 : input, mutable_panel()));
4243 : } else {
4244 0 : goto handle_unusual;
4245 : }
4246 0 : break;
4247 : }
4248 :
4249 : default: {
4250 0 : handle_unusual:
4251 0 : if (tag == 0) {
4252 0 : goto success;
4253 : }
4254 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
4255 : input, tag, _internal_metadata_.mutable_unknown_fields()));
4256 0 : break;
4257 : }
4258 : }
4259 0 : }
4260 0 : success:
4261 : // @@protoc_insertion_point(parse_success:rpc.gui.Label)
4262 0 : return true;
4263 0 : failure:
4264 : // @@protoc_insertion_point(parse_failure:rpc.gui.Label)
4265 0 : return false;
4266 : #undef DO_
4267 : }
4268 :
4269 0 : void Label::SerializeWithCachedSizes(
4270 : ::google::protobuf::io::CodedOutputStream* output) const {
4271 : // @@protoc_insertion_point(serialize_start:rpc.gui.Label)
4272 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4273 : (void) cached_has_bits;
4274 :
4275 : // string xlabel = 1;
4276 0 : if (this->xlabel().size() > 0) {
4277 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4278 0 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
4279 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4280 : "rpc.gui.Label.xlabel");
4281 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4282 : 1, this->xlabel(), output);
4283 : }
4284 :
4285 : // string ylabel = 2;
4286 0 : if (this->ylabel().size() > 0) {
4287 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4288 0 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
4289 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4290 : "rpc.gui.Label.ylabel");
4291 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4292 : 2, this->ylabel(), output);
4293 : }
4294 :
4295 : // string title = 3;
4296 0 : if (this->title().size() > 0) {
4297 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4298 0 : this->title().data(), static_cast<int>(this->title().length()),
4299 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4300 : "rpc.gui.Label.title");
4301 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4302 : 3, this->title(), output);
4303 : }
4304 :
4305 : // .rpc.gui.Id panel = 4;
4306 0 : if (this->has_panel()) {
4307 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4308 0 : 4, this->_internal_panel(), output);
4309 : }
4310 :
4311 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4312 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4313 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
4314 : }
4315 : // @@protoc_insertion_point(serialize_end:rpc.gui.Label)
4316 0 : }
4317 :
4318 0 : ::google::protobuf::uint8* Label::InternalSerializeWithCachedSizesToArray(
4319 : bool deterministic, ::google::protobuf::uint8* target) const {
4320 : (void)deterministic; // Unused
4321 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.Label)
4322 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4323 : (void) cached_has_bits;
4324 :
4325 : // string xlabel = 1;
4326 0 : if (this->xlabel().size() > 0) {
4327 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4328 0 : this->xlabel().data(), static_cast<int>(this->xlabel().length()),
4329 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4330 : "rpc.gui.Label.xlabel");
4331 : target =
4332 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4333 : 1, this->xlabel(), target);
4334 : }
4335 :
4336 : // string ylabel = 2;
4337 0 : if (this->ylabel().size() > 0) {
4338 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4339 0 : this->ylabel().data(), static_cast<int>(this->ylabel().length()),
4340 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4341 : "rpc.gui.Label.ylabel");
4342 : target =
4343 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4344 : 2, this->ylabel(), target);
4345 : }
4346 :
4347 : // string title = 3;
4348 0 : if (this->title().size() > 0) {
4349 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4350 0 : this->title().data(), static_cast<int>(this->title().length()),
4351 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4352 : "rpc.gui.Label.title");
4353 : target =
4354 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4355 : 3, this->title(), target);
4356 : }
4357 :
4358 : // .rpc.gui.Id panel = 4;
4359 0 : if (this->has_panel()) {
4360 : target = ::google::protobuf::internal::WireFormatLite::
4361 0 : InternalWriteMessageToArray(
4362 : 4, this->_internal_panel(), deterministic, target);
4363 : }
4364 :
4365 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4366 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4367 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
4368 : }
4369 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.Label)
4370 0 : return target;
4371 : }
4372 :
4373 0 : size_t Label::ByteSizeLong() const {
4374 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.Label)
4375 0 : size_t total_size = 0;
4376 :
4377 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4378 0 : total_size +=
4379 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4380 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
4381 : }
4382 : // string xlabel = 1;
4383 0 : if (this->xlabel().size() > 0) {
4384 0 : total_size += 1 +
4385 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
4386 : this->xlabel());
4387 : }
4388 :
4389 : // string ylabel = 2;
4390 0 : if (this->ylabel().size() > 0) {
4391 0 : total_size += 1 +
4392 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
4393 : this->ylabel());
4394 : }
4395 :
4396 : // string title = 3;
4397 0 : if (this->title().size() > 0) {
4398 0 : total_size += 1 +
4399 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
4400 : this->title());
4401 : }
4402 :
4403 : // .rpc.gui.Id panel = 4;
4404 0 : if (this->has_panel()) {
4405 0 : total_size += 1 +
4406 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
4407 0 : *panel_);
4408 : }
4409 :
4410 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4411 0 : SetCachedSize(cached_size);
4412 0 : return total_size;
4413 : }
4414 :
4415 0 : void Label::MergeFrom(const ::google::protobuf::Message& from) {
4416 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.Label)
4417 0 : GOOGLE_DCHECK_NE(&from, this);
4418 : const Label* source =
4419 0 : ::google::protobuf::internal::DynamicCastToGenerated<const Label>(
4420 : &from);
4421 0 : if (source == NULL) {
4422 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.Label)
4423 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4424 : } else {
4425 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.Label)
4426 0 : MergeFrom(*source);
4427 : }
4428 0 : }
4429 :
4430 0 : void Label::MergeFrom(const Label& from) {
4431 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.Label)
4432 0 : GOOGLE_DCHECK_NE(&from, this);
4433 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
4434 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4435 : (void) cached_has_bits;
4436 :
4437 0 : if (from.xlabel().size() > 0) {
4438 :
4439 0 : xlabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.xlabel_);
4440 : }
4441 0 : if (from.ylabel().size() > 0) {
4442 :
4443 0 : ylabel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ylabel_);
4444 : }
4445 0 : if (from.title().size() > 0) {
4446 :
4447 0 : title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_);
4448 : }
4449 0 : if (from.has_panel()) {
4450 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
4451 : }
4452 0 : }
4453 :
4454 0 : void Label::CopyFrom(const ::google::protobuf::Message& from) {
4455 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.Label)
4456 0 : if (&from == this) return;
4457 0 : Clear();
4458 0 : MergeFrom(from);
4459 : }
4460 :
4461 0 : void Label::CopyFrom(const Label& from) {
4462 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.Label)
4463 0 : if (&from == this) return;
4464 0 : Clear();
4465 0 : MergeFrom(from);
4466 : }
4467 :
4468 0 : bool Label::IsInitialized() const {
4469 0 : return true;
4470 : }
4471 :
4472 0 : void Label::Swap(Label* other) {
4473 0 : if (other == this) return;
4474 0 : InternalSwap(other);
4475 : }
4476 0 : void Label::InternalSwap(Label* other) {
4477 : using std::swap;
4478 0 : xlabel_.Swap(&other->xlabel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4479 : GetArenaNoVirtual());
4480 0 : ylabel_.Swap(&other->ylabel_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4481 : GetArenaNoVirtual());
4482 0 : title_.Swap(&other->title_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4483 : GetArenaNoVirtual());
4484 0 : swap(panel_, other->panel_);
4485 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
4486 0 : }
4487 :
4488 0 : ::google::protobuf::Metadata Label::GetMetadata() const {
4489 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
4490 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
4491 : }
4492 :
4493 :
4494 : // ===================================================================
4495 :
4496 10 : void DockSpec::InitAsDefaultInstance() {
4497 10 : ::rpc::gui::_DockSpec_default_instance_._instance.get_mutable()->panel_ = const_cast< ::rpc::gui::Id*>(
4498 10 : ::rpc::gui::Id::internal_default_instance());
4499 10 : }
4500 : #if !defined(_MSC_VER) || _MSC_VER >= 1900
4501 : const int DockSpec::kFileOrXmlFieldNumber;
4502 : const int DockSpec::kLocFieldNumber;
4503 : const int DockSpec::kDockableFieldNumber;
4504 : const int DockSpec::kPanelFieldNumber;
4505 : #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
4506 :
4507 10 : DockSpec::DockSpec()
4508 10 : : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4509 10 : ::google::protobuf::internal::InitSCC(
4510 : &protobuf_plotserver_2eproto::scc_info_DockSpec.base);
4511 10 : SharedCtor();
4512 : // @@protoc_insertion_point(constructor:rpc.gui.DockSpec)
4513 10 : }
4514 0 : DockSpec::DockSpec(const DockSpec& from)
4515 : : ::google::protobuf::Message(),
4516 0 : _internal_metadata_(NULL),
4517 0 : dockable_(from.dockable_) {
4518 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
4519 0 : file_or_xml_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4520 0 : if (from.file_or_xml().size() > 0) {
4521 0 : file_or_xml_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_or_xml_);
4522 : }
4523 0 : loc_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4524 0 : if (from.loc().size() > 0) {
4525 0 : loc_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.loc_);
4526 : }
4527 0 : if (from.has_panel()) {
4528 0 : panel_ = new ::rpc::gui::Id(*from.panel_);
4529 : } else {
4530 0 : panel_ = NULL;
4531 : }
4532 : // @@protoc_insertion_point(copy_constructor:rpc.gui.DockSpec)
4533 0 : }
4534 :
4535 10 : void DockSpec::SharedCtor() {
4536 10 : file_or_xml_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4537 10 : loc_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4538 10 : panel_ = NULL;
4539 10 : }
4540 :
4541 0 : DockSpec::~DockSpec() {
4542 : // @@protoc_insertion_point(destructor:rpc.gui.DockSpec)
4543 0 : SharedDtor();
4544 0 : }
4545 :
4546 0 : void DockSpec::SharedDtor() {
4547 0 : file_or_xml_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4548 0 : loc_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4549 0 : if (this != internal_default_instance()) delete panel_;
4550 0 : }
4551 :
4552 0 : void DockSpec::SetCachedSize(int size) const {
4553 0 : _cached_size_.Set(size);
4554 0 : }
4555 0 : const ::google::protobuf::Descriptor* DockSpec::descriptor() {
4556 0 : ::protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
4557 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4558 : }
4559 :
4560 0 : const DockSpec& DockSpec::default_instance() {
4561 0 : ::google::protobuf::internal::InitSCC(&protobuf_plotserver_2eproto::scc_info_DockSpec.base);
4562 0 : return *internal_default_instance();
4563 : }
4564 :
4565 :
4566 0 : void DockSpec::Clear() {
4567 : // @@protoc_insertion_point(message_clear_start:rpc.gui.DockSpec)
4568 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4569 : // Prevent compiler warnings about cached_has_bits being unused
4570 : (void) cached_has_bits;
4571 :
4572 0 : dockable_.Clear();
4573 0 : file_or_xml_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4574 0 : loc_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4575 0 : if (GetArenaNoVirtual() == NULL && panel_ != NULL) {
4576 0 : delete panel_;
4577 : }
4578 0 : panel_ = NULL;
4579 0 : _internal_metadata_.Clear();
4580 0 : }
4581 :
4582 0 : bool DockSpec::MergePartialFromCodedStream(
4583 : ::google::protobuf::io::CodedInputStream* input) {
4584 : #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4585 : ::google::protobuf::uint32 tag;
4586 : // @@protoc_insertion_point(parse_start:rpc.gui.DockSpec)
4587 : for (;;) {
4588 : ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4589 0 : tag = p.first;
4590 0 : if (!p.second) goto handle_unusual;
4591 0 : switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4592 : // string file_or_xml = 1;
4593 0 : case 1: {
4594 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4595 : static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4596 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4597 : input, this->mutable_file_or_xml()));
4598 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4599 : this->file_or_xml().data(), static_cast<int>(this->file_or_xml().length()),
4600 : ::google::protobuf::internal::WireFormatLite::PARSE,
4601 : "rpc.gui.DockSpec.file_or_xml"));
4602 : } else {
4603 0 : goto handle_unusual;
4604 : }
4605 0 : break;
4606 : }
4607 :
4608 : // string loc = 2;
4609 0 : case 2: {
4610 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4611 : static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4612 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4613 : input, this->mutable_loc()));
4614 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4615 : this->loc().data(), static_cast<int>(this->loc().length()),
4616 : ::google::protobuf::internal::WireFormatLite::PARSE,
4617 : "rpc.gui.DockSpec.loc"));
4618 : } else {
4619 0 : goto handle_unusual;
4620 : }
4621 0 : break;
4622 : }
4623 :
4624 : // repeated string dockable = 3;
4625 0 : case 3: {
4626 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4627 : static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4628 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadString(
4629 : input, this->add_dockable()));
4630 0 : DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4631 : this->dockable(this->dockable_size() - 1).data(),
4632 : static_cast<int>(this->dockable(this->dockable_size() - 1).length()),
4633 : ::google::protobuf::internal::WireFormatLite::PARSE,
4634 : "rpc.gui.DockSpec.dockable"));
4635 : } else {
4636 0 : goto handle_unusual;
4637 : }
4638 0 : break;
4639 : }
4640 :
4641 : // .rpc.gui.Id panel = 4;
4642 0 : case 4: {
4643 0 : if (static_cast< ::google::protobuf::uint8>(tag) ==
4644 : static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
4645 0 : DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4646 : input, mutable_panel()));
4647 : } else {
4648 0 : goto handle_unusual;
4649 : }
4650 0 : break;
4651 : }
4652 :
4653 : default: {
4654 0 : handle_unusual:
4655 0 : if (tag == 0) {
4656 0 : goto success;
4657 : }
4658 0 : DO_(::google::protobuf::internal::WireFormat::SkipField(
4659 : input, tag, _internal_metadata_.mutable_unknown_fields()));
4660 0 : break;
4661 : }
4662 : }
4663 0 : }
4664 0 : success:
4665 : // @@protoc_insertion_point(parse_success:rpc.gui.DockSpec)
4666 0 : return true;
4667 0 : failure:
4668 : // @@protoc_insertion_point(parse_failure:rpc.gui.DockSpec)
4669 0 : return false;
4670 : #undef DO_
4671 : }
4672 :
4673 0 : void DockSpec::SerializeWithCachedSizes(
4674 : ::google::protobuf::io::CodedOutputStream* output) const {
4675 : // @@protoc_insertion_point(serialize_start:rpc.gui.DockSpec)
4676 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4677 : (void) cached_has_bits;
4678 :
4679 : // string file_or_xml = 1;
4680 0 : if (this->file_or_xml().size() > 0) {
4681 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4682 0 : this->file_or_xml().data(), static_cast<int>(this->file_or_xml().length()),
4683 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4684 : "rpc.gui.DockSpec.file_or_xml");
4685 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4686 : 1, this->file_or_xml(), output);
4687 : }
4688 :
4689 : // string loc = 2;
4690 0 : if (this->loc().size() > 0) {
4691 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4692 0 : this->loc().data(), static_cast<int>(this->loc().length()),
4693 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4694 : "rpc.gui.DockSpec.loc");
4695 0 : ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
4696 : 2, this->loc(), output);
4697 : }
4698 :
4699 : // repeated string dockable = 3;
4700 0 : for (int i = 0, n = this->dockable_size(); i < n; i++) {
4701 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4702 0 : this->dockable(i).data(), static_cast<int>(this->dockable(i).length()),
4703 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4704 : "rpc.gui.DockSpec.dockable");
4705 0 : ::google::protobuf::internal::WireFormatLite::WriteString(
4706 : 3, this->dockable(i), output);
4707 : }
4708 :
4709 : // .rpc.gui.Id panel = 4;
4710 0 : if (this->has_panel()) {
4711 0 : ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4712 0 : 4, this->_internal_panel(), output);
4713 : }
4714 :
4715 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4716 0 : ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4717 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
4718 : }
4719 : // @@protoc_insertion_point(serialize_end:rpc.gui.DockSpec)
4720 0 : }
4721 :
4722 0 : ::google::protobuf::uint8* DockSpec::InternalSerializeWithCachedSizesToArray(
4723 : bool deterministic, ::google::protobuf::uint8* target) const {
4724 : (void)deterministic; // Unused
4725 : // @@protoc_insertion_point(serialize_to_array_start:rpc.gui.DockSpec)
4726 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4727 : (void) cached_has_bits;
4728 :
4729 : // string file_or_xml = 1;
4730 0 : if (this->file_or_xml().size() > 0) {
4731 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4732 0 : this->file_or_xml().data(), static_cast<int>(this->file_or_xml().length()),
4733 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4734 : "rpc.gui.DockSpec.file_or_xml");
4735 : target =
4736 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4737 : 1, this->file_or_xml(), target);
4738 : }
4739 :
4740 : // string loc = 2;
4741 0 : if (this->loc().size() > 0) {
4742 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4743 0 : this->loc().data(), static_cast<int>(this->loc().length()),
4744 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4745 : "rpc.gui.DockSpec.loc");
4746 : target =
4747 0 : ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4748 : 2, this->loc(), target);
4749 : }
4750 :
4751 : // repeated string dockable = 3;
4752 0 : for (int i = 0, n = this->dockable_size(); i < n; i++) {
4753 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
4754 0 : this->dockable(i).data(), static_cast<int>(this->dockable(i).length()),
4755 : ::google::protobuf::internal::WireFormatLite::SERIALIZE,
4756 : "rpc.gui.DockSpec.dockable");
4757 : target = ::google::protobuf::internal::WireFormatLite::
4758 0 : WriteStringToArray(3, this->dockable(i), target);
4759 : }
4760 :
4761 : // .rpc.gui.Id panel = 4;
4762 0 : if (this->has_panel()) {
4763 : target = ::google::protobuf::internal::WireFormatLite::
4764 0 : InternalWriteMessageToArray(
4765 : 4, this->_internal_panel(), deterministic, target);
4766 : }
4767 :
4768 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4769 0 : target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4770 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
4771 : }
4772 : // @@protoc_insertion_point(serialize_to_array_end:rpc.gui.DockSpec)
4773 0 : return target;
4774 : }
4775 :
4776 0 : size_t DockSpec::ByteSizeLong() const {
4777 : // @@protoc_insertion_point(message_byte_size_start:rpc.gui.DockSpec)
4778 0 : size_t total_size = 0;
4779 :
4780 0 : if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
4781 0 : total_size +=
4782 0 : ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4783 0 : (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
4784 : }
4785 : // repeated string dockable = 3;
4786 0 : total_size += 1 *
4787 0 : ::google::protobuf::internal::FromIntSize(this->dockable_size());
4788 0 : for (int i = 0, n = this->dockable_size(); i < n; i++) {
4789 0 : total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
4790 : this->dockable(i));
4791 : }
4792 :
4793 : // string file_or_xml = 1;
4794 0 : if (this->file_or_xml().size() > 0) {
4795 0 : total_size += 1 +
4796 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
4797 : this->file_or_xml());
4798 : }
4799 :
4800 : // string loc = 2;
4801 0 : if (this->loc().size() > 0) {
4802 0 : total_size += 1 +
4803 0 : ::google::protobuf::internal::WireFormatLite::StringSize(
4804 : this->loc());
4805 : }
4806 :
4807 : // .rpc.gui.Id panel = 4;
4808 0 : if (this->has_panel()) {
4809 0 : total_size += 1 +
4810 0 : ::google::protobuf::internal::WireFormatLite::MessageSize(
4811 0 : *panel_);
4812 : }
4813 :
4814 0 : int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4815 0 : SetCachedSize(cached_size);
4816 0 : return total_size;
4817 : }
4818 :
4819 0 : void DockSpec::MergeFrom(const ::google::protobuf::Message& from) {
4820 : // @@protoc_insertion_point(generalized_merge_from_start:rpc.gui.DockSpec)
4821 0 : GOOGLE_DCHECK_NE(&from, this);
4822 : const DockSpec* source =
4823 0 : ::google::protobuf::internal::DynamicCastToGenerated<const DockSpec>(
4824 : &from);
4825 0 : if (source == NULL) {
4826 : // @@protoc_insertion_point(generalized_merge_from_cast_fail:rpc.gui.DockSpec)
4827 0 : ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4828 : } else {
4829 : // @@protoc_insertion_point(generalized_merge_from_cast_success:rpc.gui.DockSpec)
4830 0 : MergeFrom(*source);
4831 : }
4832 0 : }
4833 :
4834 0 : void DockSpec::MergeFrom(const DockSpec& from) {
4835 : // @@protoc_insertion_point(class_specific_merge_from_start:rpc.gui.DockSpec)
4836 0 : GOOGLE_DCHECK_NE(&from, this);
4837 0 : _internal_metadata_.MergeFrom(from._internal_metadata_);
4838 0 : ::google::protobuf::uint32 cached_has_bits = 0;
4839 : (void) cached_has_bits;
4840 :
4841 0 : dockable_.MergeFrom(from.dockable_);
4842 0 : if (from.file_or_xml().size() > 0) {
4843 :
4844 0 : file_or_xml_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_or_xml_);
4845 : }
4846 0 : if (from.loc().size() > 0) {
4847 :
4848 0 : loc_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.loc_);
4849 : }
4850 0 : if (from.has_panel()) {
4851 0 : mutable_panel()->::rpc::gui::Id::MergeFrom(from.panel());
4852 : }
4853 0 : }
4854 :
4855 0 : void DockSpec::CopyFrom(const ::google::protobuf::Message& from) {
4856 : // @@protoc_insertion_point(generalized_copy_from_start:rpc.gui.DockSpec)
4857 0 : if (&from == this) return;
4858 0 : Clear();
4859 0 : MergeFrom(from);
4860 : }
4861 :
4862 0 : void DockSpec::CopyFrom(const DockSpec& from) {
4863 : // @@protoc_insertion_point(class_specific_copy_from_start:rpc.gui.DockSpec)
4864 0 : if (&from == this) return;
4865 0 : Clear();
4866 0 : MergeFrom(from);
4867 : }
4868 :
4869 0 : bool DockSpec::IsInitialized() const {
4870 0 : return true;
4871 : }
4872 :
4873 0 : void DockSpec::Swap(DockSpec* other) {
4874 0 : if (other == this) return;
4875 0 : InternalSwap(other);
4876 : }
4877 0 : void DockSpec::InternalSwap(DockSpec* other) {
4878 : using std::swap;
4879 0 : dockable_.InternalSwap(CastToBase(&other->dockable_));
4880 0 : file_or_xml_.Swap(&other->file_or_xml_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4881 : GetArenaNoVirtual());
4882 0 : loc_.Swap(&other->loc_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4883 : GetArenaNoVirtual());
4884 0 : swap(panel_, other->panel_);
4885 0 : _internal_metadata_.Swap(&other->_internal_metadata_);
4886 0 : }
4887 :
4888 0 : ::google::protobuf::Metadata DockSpec::GetMetadata() const {
4889 0 : protobuf_plotserver_2eproto::protobuf_AssignDescriptorsOnce();
4890 0 : return ::protobuf_plotserver_2eproto::file_level_metadata[kIndexInFileMessages];
4891 : }
4892 :
4893 :
4894 : // @@protoc_insertion_point(namespace_scope)
4895 : } // namespace gui
4896 : } // namespace rpc
4897 : namespace google {
4898 : namespace protobuf {
4899 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::Id* Arena::CreateMaybeMessage< ::rpc::gui::Id >(Arena* arena) {
4900 0 : return Arena::CreateInternal< ::rpc::gui::Id >(arena);
4901 : }
4902 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::NewPanel* Arena::CreateMaybeMessage< ::rpc::gui::NewPanel >(Arena* arena) {
4903 0 : return Arena::CreateInternal< ::rpc::gui::NewPanel >(arena);
4904 : }
4905 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::Colors* Arena::CreateMaybeMessage< ::rpc::gui::Colors >(Arena* arena) {
4906 0 : return Arena::CreateInternal< ::rpc::gui::Colors >(arena);
4907 : }
4908 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::ColorMaps* Arena::CreateMaybeMessage< ::rpc::gui::ColorMaps >(Arena* arena) {
4909 0 : return Arena::CreateInternal< ::rpc::gui::ColorMaps >(arena);
4910 : }
4911 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::Symbols* Arena::CreateMaybeMessage< ::rpc::gui::Symbols >(Arena* arena) {
4912 0 : return Arena::CreateInternal< ::rpc::gui::Symbols >(arena);
4913 : }
4914 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::NewLine* Arena::CreateMaybeMessage< ::rpc::gui::NewLine >(Arena* arena) {
4915 0 : return Arena::CreateInternal< ::rpc::gui::NewLine >(arena);
4916 : }
4917 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::NewScatter* Arena::CreateMaybeMessage< ::rpc::gui::NewScatter >(Arena* arena) {
4918 0 : return Arena::CreateInternal< ::rpc::gui::NewScatter >(arena);
4919 : }
4920 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::NewHistogram* Arena::CreateMaybeMessage< ::rpc::gui::NewHistogram >(Arena* arena) {
4921 0 : return Arena::CreateInternal< ::rpc::gui::NewHistogram >(arena);
4922 : }
4923 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::NewRaster* Arena::CreateMaybeMessage< ::rpc::gui::NewRaster >(Arena* arena) {
4924 0 : return Arena::CreateInternal< ::rpc::gui::NewRaster >(arena);
4925 : }
4926 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::Label* Arena::CreateMaybeMessage< ::rpc::gui::Label >(Arena* arena) {
4927 0 : return Arena::CreateInternal< ::rpc::gui::Label >(arena);
4928 : }
4929 0 : template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rpc::gui::DockSpec* Arena::CreateMaybeMessage< ::rpc::gui::DockSpec >(Arena* arena) {
4930 0 : return Arena::CreateInternal< ::rpc::gui::DockSpec >(arena);
4931 : }
4932 : } // namespace protobuf
4933 : } // namespace google
4934 :
4935 : // @@protoc_insertion_point(global_scope)
|