4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp2_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp2_2ftest_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
33 #include "dccl/option_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp2_2ftest_2eproto
46 static const ::google::protobuf::internal::ParseTableField
entries[];
47 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
48 static const ::google::protobuf::internal::ParseTable
schema[2];
60 class TestConfigDefaultTypeInternal;
63 class WidgetDefaultTypeInternal;
96 *
this = ::std::move(from);
100 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
101 if (
this != &from) InternalSwap(&from);
109 return _internal_metadata_.unknown_fields();
112 return _internal_metadata_.mutable_unknown_fields();
115 static const ::google::protobuf::Descriptor*
descriptor();
134 return CreateMaybeMessage<TestConfig>(NULL);
138 return CreateMaybeMessage<TestConfig>(arena);
140 void CopyFrom(const ::google::protobuf::Message& from)
final;
141 void MergeFrom(const ::google::protobuf::Message& from)
final;
149 ::
google::protobuf::io::CodedInputStream* input) final;
151 ::
google::protobuf::io::CodedOutputStream* output) const final;
153 bool deterministic, ::
google::protobuf::uint8* target) const final;
159 void SetCachedSize(
int size)
const final;
162 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
165 inline void* MaybeArenaPtr()
const {
181 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
183 const ::
goby::middleware::protobuf::AppConfig&
app() const;
193 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
195 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
224 void clear_has_app();
225 void set_has_interprocess();
226 void clear_has_interprocess();
227 void set_has_num_messages();
228 void clear_has_num_messages();
229 void set_has_num_rx_threads();
230 void clear_has_num_rx_threads();
231 void set_has_num_tx_threads();
232 void clear_has_num_tx_threads();
234 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
235 ::
google::protobuf::internal::HasBits<1> _has_bits_;
236 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
237 ::
goby::middleware::protobuf::AppConfig* app_;
238 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
260 *
this = ::std::move(from);
263 inline Widget&
operator=(Widget&& from) noexcept {
264 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
265 if (
this != &from) InternalSwap(&from);
273 return _internal_metadata_.unknown_fields();
276 return _internal_metadata_.mutable_unknown_fields();
279 static const ::google::protobuf::Descriptor*
descriptor();
284 return reinterpret_cast<const Widget*
>(
298 return CreateMaybeMessage<Widget>(NULL);
302 return CreateMaybeMessage<Widget>(arena);
304 void CopyFrom(const ::google::protobuf::Message& from)
final;
305 void MergeFrom(const ::google::protobuf::Message& from)
final;
313 ::
google::protobuf::io::CodedInputStream* input) final;
315 ::
google::protobuf::io::CodedOutputStream* output) const final;
317 bool deterministic, ::
google::protobuf::uint8* target) const final;
323 void SetCachedSize(
int size)
const final;
324 void InternalSwap(
Widget* other);
326 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
329 inline void* MaybeArenaPtr()
const {
343 static const
int kBFieldNumber = 1;
352 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
353 ::
google::protobuf::internal::HasBits<1> _has_bits_;
354 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
364 #pragma GCC diagnostic push
365 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
371 return (_has_bits_[0] & 0x00000001u) != 0;
373 inline void TestConfig::set_has_app() {
374 _has_bits_[0] |= 0x00000001u;
376 inline void TestConfig::clear_has_app() {
377 _has_bits_[0] &= ~0x00000001u;
379 inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app()
const {
382 inline const ::goby::middleware::protobuf::AppConfig&
TestConfig::app()
const {
383 const ::goby::middleware::protobuf::AppConfig* p = app_;
398 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
406 if (message_arena == NULL) {
411 if (message_arena != submessage_arena) {
412 app = ::google::protobuf::internal::GetOwnedMessage(
413 message_arena,
app, submessage_arena);
425 return (_has_bits_[0] & 0x00000002u) != 0;
427 inline void TestConfig::set_has_interprocess() {
428 _has_bits_[0] |= 0x00000002u;
430 inline void TestConfig::clear_has_interprocess() {
431 _has_bits_[0] &= ~0x00000002u;
433 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess()
const {
434 return *interprocess_;
437 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
444 clear_has_interprocess();
446 interprocess_ = NULL;
450 set_has_interprocess();
451 if (interprocess_ == NULL) {
452 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
456 return interprocess_;
460 if (message_arena == NULL) {
465 if (message_arena != submessage_arena) {
466 interprocess = ::google::protobuf::internal::GetOwnedMessage(
469 set_has_interprocess();
471 clear_has_interprocess();
479 return (_has_bits_[0] & 0x00000008u) != 0;
481 inline void TestConfig::set_has_num_messages() {
482 _has_bits_[0] |= 0x00000008u;
484 inline void TestConfig::clear_has_num_messages() {
485 _has_bits_[0] &= ~0x00000008u;
488 num_messages_ = 10000;
489 clear_has_num_messages();
493 return num_messages_;
496 set_has_num_messages();
497 num_messages_ = value;
503 return (_has_bits_[0] & 0x00000010u) != 0;
505 inline void TestConfig::set_has_num_rx_threads() {
506 _has_bits_[0] |= 0x00000010u;
508 inline void TestConfig::clear_has_num_rx_threads() {
509 _has_bits_[0] &= ~0x00000010u;
512 num_rx_threads_ = 10;
513 clear_has_num_rx_threads();
517 return num_rx_threads_;
520 set_has_num_rx_threads();
521 num_rx_threads_ = value;
527 return (_has_bits_[0] & 0x00000004u) != 0;
529 inline void TestConfig::set_has_num_tx_threads() {
530 _has_bits_[0] |= 0x00000004u;
532 inline void TestConfig::clear_has_num_tx_threads() {
533 _has_bits_[0] &= ~0x00000004u;
537 clear_has_num_tx_threads();
541 return num_tx_threads_;
544 set_has_num_tx_threads();
545 num_tx_threads_ = value;
555 return (_has_bits_[0] & 0x00000001u) != 0;
557 inline void Widget::set_has_b() {
558 _has_bits_[0] |= 0x00000001u;
560 inline void Widget::clear_has_b() {
561 _has_bits_[0] &= ~0x00000001u;
578 #pragma GCC diagnostic pop
592 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp2_2ftest_2eproto