4 #ifndef PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_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>
23 #include <google/protobuf/arena.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>
29 #include <google/protobuf/message.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 "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
35 #include "goby/middleware/protobuf/udp_config.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_bin_2fweb_5fportal_2fconfig_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[1];
51 static const ::google::protobuf::uint32
offsets[];
58 class WebPortalDefaultTypeInternal;
72 class WebPortal :
public ::google::protobuf::Message {
86 *
this = ::std::move(from);
90 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
91 if (
this != &from) InternalSwap(&from);
99 return _internal_metadata_.unknown_fields();
102 return _internal_metadata_.mutable_unknown_fields();
105 static const ::google::protobuf::Descriptor*
descriptor();
110 return reinterpret_cast<const WebPortal*
>(
124 return CreateMaybeMessage<WebPortal>(NULL);
128 return CreateMaybeMessage<WebPortal>(arena);
130 void CopyFrom(const ::google::protobuf::Message& from)
final;
131 void MergeFrom(const ::google::protobuf::Message& from)
final;
139 ::
google::protobuf::io::CodedInputStream* input) final;
141 ::
google::protobuf::io::CodedOutputStream* output) const final;
143 bool deterministic, ::
google::protobuf::uint8* target) const final;
149 void SetCachedSize(
int size)
const final;
152 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
155 inline void* MaybeArenaPtr()
const {
160 ::google::protobuf::Metadata
GetMetadata() const final;
171 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
173 const ::
goby::middleware::protobuf::AppConfig&
app() const;
183 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
185 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
195 const ::
goby::middleware::protobuf::UDPOneToManyConfig& _internal_udp_config() const;
197 const ::
goby::middleware::protobuf::UDPOneToManyConfig&
udp_config() const;
207 const ::
goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_customer_config() const;
217 void clear_has_app();
218 void set_has_interprocess();
219 void clear_has_interprocess();
220 void set_has_udp_config();
221 void clear_has_udp_config();
222 void set_has_udp_customer_config();
223 void clear_has_udp_customer_config();
225 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226 ::
google::protobuf::internal::HasBits<1> _has_bits_;
227 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
228 ::
goby::middleware::protobuf::AppConfig* app_;
229 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
230 ::
goby::middleware::protobuf::UDPOneToManyConfig* udp_config_;
231 ::
goby::middleware::protobuf::UDPPointToPointConfig* udp_customer_config_;
240 #pragma GCC diagnostic push
241 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
247 return (_has_bits_[0] & 0x00000001u) != 0;
249 inline void WebPortal::set_has_app() {
250 _has_bits_[0] |= 0x00000001u;
252 inline void WebPortal::clear_has_app() {
253 _has_bits_[0] &= ~0x00000001u;
255 inline const ::goby::middleware::protobuf::AppConfig& WebPortal::_internal_app()
const {
259 const ::goby::middleware::protobuf::AppConfig* p = app_;
261 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
262 &::goby::middleware::protobuf::_AppConfig_default_instance_);
267 ::goby::middleware::protobuf::AppConfig* temp = app_;
274 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
281 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
282 if (message_arena == NULL) {
283 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
286 ::google::protobuf::Arena* submessage_arena = NULL;
287 if (message_arena != submessage_arena) {
288 app = ::google::protobuf::internal::GetOwnedMessage(
289 message_arena,
app, submessage_arena);
301 return (_has_bits_[0] & 0x00000002u) != 0;
303 inline void WebPortal::set_has_interprocess() {
304 _has_bits_[0] |= 0x00000002u;
306 inline void WebPortal::clear_has_interprocess() {
307 _has_bits_[0] &= ~0x00000002u;
309 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& WebPortal::_internal_interprocess()
const {
310 return *interprocess_;
313 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
315 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
316 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
320 clear_has_interprocess();
321 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
322 interprocess_ = NULL;
326 set_has_interprocess();
327 if (interprocess_ == NULL) {
328 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
332 return interprocess_;
335 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
336 if (message_arena == NULL) {
337 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
340 ::google::protobuf::Arena* submessage_arena = NULL;
341 if (message_arena != submessage_arena) {
342 interprocess = ::google::protobuf::internal::GetOwnedMessage(
345 set_has_interprocess();
347 clear_has_interprocess();
355 return (_has_bits_[0] & 0x00000004u) != 0;
357 inline void WebPortal::set_has_udp_config() {
358 _has_bits_[0] |= 0x00000004u;
360 inline void WebPortal::clear_has_udp_config() {
361 _has_bits_[0] &= ~0x00000004u;
363 inline const ::goby::middleware::protobuf::UDPOneToManyConfig& WebPortal::_internal_udp_config()
const {
367 const ::goby::middleware::protobuf::UDPOneToManyConfig* p = udp_config_;
369 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPOneToManyConfig*
>(
370 &::goby::middleware::protobuf::_UDPOneToManyConfig_default_instance_);
374 clear_has_udp_config();
375 ::goby::middleware::protobuf::UDPOneToManyConfig* temp = udp_config_;
380 set_has_udp_config();
381 if (udp_config_ == NULL) {
382 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPOneToManyConfig>(GetArenaNoVirtual());
389 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
390 if (message_arena == NULL) {
391 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(udp_config_);
394 ::google::protobuf::Arena* submessage_arena = NULL;
395 if (message_arena != submessage_arena) {
396 udp_config = ::google::protobuf::internal::GetOwnedMessage(
399 set_has_udp_config();
401 clear_has_udp_config();
409 return (_has_bits_[0] & 0x00000008u) != 0;
411 inline void WebPortal::set_has_udp_customer_config() {
412 _has_bits_[0] |= 0x00000008u;
414 inline void WebPortal::clear_has_udp_customer_config() {
415 _has_bits_[0] &= ~0x00000008u;
417 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& WebPortal::_internal_udp_customer_config()
const {
418 return *udp_customer_config_;
421 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = udp_customer_config_;
423 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
424 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
428 clear_has_udp_customer_config();
429 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = udp_customer_config_;
430 udp_customer_config_ = NULL;
434 set_has_udp_customer_config();
435 if (udp_customer_config_ == NULL) {
436 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaNoVirtual());
437 udp_customer_config_ = p;
440 return udp_customer_config_;
443 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
444 if (message_arena == NULL) {
445 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(udp_customer_config_);
448 ::google::protobuf::Arena* submessage_arena = NULL;
449 if (message_arena != submessage_arena) {
453 set_has_udp_customer_config();
455 clear_has_udp_customer_config();
462 #pragma GCC diagnostic pop
472 #endif // PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_2eproto