4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_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>
36 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/si.hpp>
45 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
50 static const ::google::protobuf::internal::ParseTableField
entries[];
51 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
52 static const ::google::protobuf::internal::ParseTable
schema[1];
63 class FrontSeatInterfaceConfig;
64 class FrontSeatInterfaceConfigDefaultTypeInternal;
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<FrontSeatInterfaceConfig>(NULL);
138 return CreateMaybeMessage<FrontSeatInterfaceConfig>(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;
205 const ::
goby::middleware::frontseat::protobuf::Config& _internal_frontseat_cfg() const;
216 void clear_has_app();
217 void set_has_interprocess();
218 void clear_has_interprocess();
219 void set_has_frontseat_cfg();
220 void clear_has_frontseat_cfg();
222 ::
google::protobuf::internal::ExtensionSet _extensions_;
224 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
225 ::
google::protobuf::internal::HasBits<1> _has_bits_;
226 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
227 ::
goby::middleware::protobuf::AppConfig* app_;
228 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
229 ::
goby::middleware::frontseat::protobuf::Config* frontseat_cfg_;
238 #pragma GCC diagnostic push
239 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
245 return (_has_bits_[0] & 0x00000001u) != 0;
247 inline void FrontSeatInterfaceConfig::set_has_app() {
248 _has_bits_[0] |= 0x00000001u;
250 inline void FrontSeatInterfaceConfig::clear_has_app() {
251 _has_bits_[0] &= ~0x00000001u;
253 inline const ::goby::middleware::protobuf::AppConfig& FrontSeatInterfaceConfig::_internal_app()
const {
257 const ::goby::middleware::protobuf::AppConfig* p = app_;
272 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
280 if (message_arena == NULL) {
285 if (message_arena != submessage_arena) {
286 app = ::google::protobuf::internal::GetOwnedMessage(
287 message_arena,
app, submessage_arena);
299 return (_has_bits_[0] & 0x00000002u) != 0;
301 inline void FrontSeatInterfaceConfig::set_has_interprocess() {
302 _has_bits_[0] |= 0x00000002u;
304 inline void FrontSeatInterfaceConfig::clear_has_interprocess() {
305 _has_bits_[0] &= ~0x00000002u;
307 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FrontSeatInterfaceConfig::_internal_interprocess()
const {
308 return *interprocess_;
311 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
318 clear_has_interprocess();
320 interprocess_ = NULL;
324 set_has_interprocess();
325 if (interprocess_ == NULL) {
326 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
330 return interprocess_;
334 if (message_arena == NULL) {
339 if (message_arena != submessage_arena) {
340 interprocess = ::google::protobuf::internal::GetOwnedMessage(
343 set_has_interprocess();
345 clear_has_interprocess();
353 return (_has_bits_[0] & 0x00000004u) != 0;
355 inline void FrontSeatInterfaceConfig::set_has_frontseat_cfg() {
356 _has_bits_[0] |= 0x00000004u;
358 inline void FrontSeatInterfaceConfig::clear_has_frontseat_cfg() {
359 _has_bits_[0] &= ~0x00000004u;
361 inline const ::goby::middleware::frontseat::protobuf::Config& FrontSeatInterfaceConfig::_internal_frontseat_cfg()
const {
362 return *frontseat_cfg_;
365 const ::goby::middleware::frontseat::protobuf::Config* p = frontseat_cfg_;
372 clear_has_frontseat_cfg();
374 frontseat_cfg_ = NULL;
378 set_has_frontseat_cfg();
379 if (frontseat_cfg_ == NULL) {
380 auto* p = CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Config>(GetArenaNoVirtual());
384 return frontseat_cfg_;
388 if (message_arena == NULL) {
393 if (message_arena != submessage_arena) {
394 frontseat_cfg = ::google::protobuf::internal::GetOwnedMessage(
397 set_has_frontseat_cfg();
399 clear_has_frontseat_cfg();
406 #pragma GCC diagnostic pop
418 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto