4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_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_2fsingle_5fthread_5fapp1_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;
203 void clear_has_app();
204 void set_has_interprocess();
205 void clear_has_interprocess();
207 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
208 ::
google::protobuf::internal::HasBits<1> _has_bits_;
209 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
210 ::
goby::middleware::protobuf::AppConfig* app_;
211 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
230 *
this = ::std::move(from);
233 inline Widget&
operator=(Widget&& from) noexcept {
234 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
235 if (
this != &from) InternalSwap(&from);
243 return _internal_metadata_.unknown_fields();
246 return _internal_metadata_.mutable_unknown_fields();
249 static const ::google::protobuf::Descriptor*
descriptor();
254 return reinterpret_cast<const Widget*
>(
268 return CreateMaybeMessage<Widget>(NULL);
272 return CreateMaybeMessage<Widget>(arena);
274 void CopyFrom(const ::google::protobuf::Message& from)
final;
275 void MergeFrom(const ::google::protobuf::Message& from)
final;
283 ::
google::protobuf::io::CodedInputStream* input) final;
285 ::
google::protobuf::io::CodedOutputStream* output) const final;
287 bool deterministic, ::
google::protobuf::uint8* target) const final;
293 void SetCachedSize(
int size)
const final;
294 void InternalSwap(
Widget* other);
296 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
299 inline void* MaybeArenaPtr()
const {
313 static const
int kBFieldNumber = 1;
322 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
323 ::
google::protobuf::internal::HasBits<1> _has_bits_;
324 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
334 #pragma GCC diagnostic push
335 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
341 return (_has_bits_[0] & 0x00000001u) != 0;
343 inline void TestConfig::set_has_app() {
344 _has_bits_[0] |= 0x00000001u;
346 inline void TestConfig::clear_has_app() {
347 _has_bits_[0] &= ~0x00000001u;
349 inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app()
const {
352 inline const ::goby::middleware::protobuf::AppConfig&
TestConfig::app()
const {
353 const ::goby::middleware::protobuf::AppConfig* p = app_;
368 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
376 if (message_arena == NULL) {
381 if (message_arena != submessage_arena) {
382 app = ::google::protobuf::internal::GetOwnedMessage(
383 message_arena,
app, submessage_arena);
395 return (_has_bits_[0] & 0x00000002u) != 0;
397 inline void TestConfig::set_has_interprocess() {
398 _has_bits_[0] |= 0x00000002u;
400 inline void TestConfig::clear_has_interprocess() {
401 _has_bits_[0] &= ~0x00000002u;
403 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess()
const {
404 return *interprocess_;
407 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
414 clear_has_interprocess();
416 interprocess_ = NULL;
420 set_has_interprocess();
421 if (interprocess_ == NULL) {
422 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
426 return interprocess_;
430 if (message_arena == NULL) {
435 if (message_arena != submessage_arena) {
436 interprocess = ::google::protobuf::internal::GetOwnedMessage(
439 set_has_interprocess();
441 clear_has_interprocess();
453 return (_has_bits_[0] & 0x00000001u) != 0;
455 inline void Widget::set_has_b() {
456 _has_bits_[0] |= 0x00000001u;
458 inline void Widget::clear_has_b() {
459 _has_bits_[0] &= ~0x00000001u;
476 #pragma GCC diagnostic pop
490 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto