4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fpython_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fpython_2ftest_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fpython_2ftest_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
58struct CommsRxDefaultTypeInternal;
61struct CommsTxDefaultTypeInternal;
64struct TestConfigDefaultTypeInternal;
70PROTOBUF_NAMESPACE_OPEN
74PROTOBUF_NAMESPACE_CLOSE
83 public ::PROTOBUF_NAMESPACE_ID::Message {
87 explicit PROTOBUF_CONSTEXPR
TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
92 *
this = ::std::move(from);
100 if (
this == &from)
return *
this;
101 if (GetOwningArena() == from.GetOwningArena()
102 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103 && GetOwningArena() !=
nullptr
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
143 if (other ==
this)
return;
144 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145 if (GetOwningArena() !=
nullptr &&
146 GetOwningArena() == other->GetOwningArena()) {
148 if (GetOwningArena() == other->GetOwningArena()) {
152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
156 if (other ==
this)
return;
157 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
163 TestConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
164 return CreateMaybeMessage<TestConfig>(arena);
166 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
168 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
170 TestConfig::MergeImpl(*
this, from);
173 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
175 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
181 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
185 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
187 void SetCachedSize(
int size)
const final;
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "goby.test.python.protobuf.TestConfig";
197 bool is_message_owned =
false);
201 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
217 bool _internal_has_app()
const;
220 const ::goby::middleware::protobuf::AppConfig&
app()
const;
221 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
225 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
235 bool _internal_has_interprocess()
const;
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
243 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
253 bool _internal_has_num_messages()
const;
259 int32_t _internal_num_messages()
const;
260 void _internal_set_num_messages(int32_t value);
267 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
268 typedef void InternalArenaConstructable_;
269 typedef void DestructorSkippable_;
271 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
272 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
275 int32_t num_messages_;
278 friend struct ::TableStruct_goby_2ftest_2fpython_2ftest_2eproto;
283 public ::PROTOBUF_NAMESPACE_ID::Message {
287 explicit PROTOBUF_CONSTEXPR
CommsTx(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
292 *
this = ::std::move(from);
300 if (
this == &from)
return *
this;
301 if (GetOwningArena() == from.GetOwningArena()
302 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
303 && GetOwningArena() !=
nullptr
314 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
317 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
320 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
321 return GetDescriptor();
324 return default_instance().GetMetadata().descriptor;
327 return default_instance().GetMetadata().reflection;
330 return *internal_default_instance();
333 return reinterpret_cast<const CommsTx*
>(
336 static constexpr int kIndexInFileMessages =
343 if (other ==
this)
return;
344 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
345 if (GetOwningArena() !=
nullptr &&
346 GetOwningArena() == other->GetOwningArena()) {
348 if (GetOwningArena() == other->GetOwningArena()) {
352 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
356 if (other ==
this)
return;
357 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
363 CommsTx*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
364 return CreateMaybeMessage<CommsTx>(arena);
366 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
368 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
370 CommsTx::MergeImpl(*
this, from);
373 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
375 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
376 bool IsInitialized() const final;
379 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
380 uint8_t* _InternalSerialize(
381 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
382 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
385 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
387 void SetCachedSize(
int size)
const final;
388 void InternalSwap(
CommsTx* other);
391 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
392 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
393 return "goby.test.python.protobuf.CommsTx";
396 explicit CommsTx(::PROTOBUF_NAMESPACE_ID::Arena* arena,
397 bool is_message_owned =
false);
401 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
403 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
410 kRequestIdFieldNumber = 1,
413 bool has_request_id()
const;
415 bool _internal_has_request_id()
const;
417 void clear_request_id();
418 int32_t request_id()
const;
419 void set_request_id(int32_t value);
421 int32_t _internal_request_id()
const;
422 void _internal_set_request_id(int32_t value);
429 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
430 typedef void InternalArenaConstructable_;
431 typedef void DestructorSkippable_;
433 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
434 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
438 friend struct ::TableStruct_goby_2ftest_2fpython_2ftest_2eproto;
443 public ::PROTOBUF_NAMESPACE_ID::Message {
447 explicit PROTOBUF_CONSTEXPR
CommsRx(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
452 *
this = ::std::move(from);
460 if (
this == &from)
return *
this;
461 if (GetOwningArena() == from.GetOwningArena()
462 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
463 && GetOwningArena() !=
nullptr
474 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
477 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
480 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
481 return GetDescriptor();
484 return default_instance().GetMetadata().descriptor;
487 return default_instance().GetMetadata().reflection;
490 return *internal_default_instance();
493 return reinterpret_cast<const CommsRx*
>(
496 static constexpr int kIndexInFileMessages =
503 if (other ==
this)
return;
504 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
505 if (GetOwningArena() !=
nullptr &&
506 GetOwningArena() == other->GetOwningArena()) {
508 if (GetOwningArena() == other->GetOwningArena()) {
512 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
516 if (other ==
this)
return;
517 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
523 CommsRx*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
524 return CreateMaybeMessage<CommsRx>(arena);
526 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
528 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
530 CommsRx::MergeImpl(*
this, from);
533 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
535 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
536 bool IsInitialized() const final;
539 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
540 uint8_t* _InternalSerialize(
541 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
542 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
545 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
547 void SetCachedSize(
int size)
const final;
548 void InternalSwap(
CommsRx* other);
551 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
552 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
553 return "goby.test.python.protobuf.CommsRx";
556 explicit CommsRx(::PROTOBUF_NAMESPACE_ID::Arena* arena,
557 bool is_message_owned =
false);
561 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
563 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
570 kPayloadFieldNumber = 2,
571 kRequestIdFieldNumber = 1,
574 bool has_payload()
const;
576 bool _internal_has_payload()
const;
578 void clear_payload();
579 const std::string& payload()
const;
580 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
582 std::string* mutable_payload();
583 PROTOBUF_NODISCARD std::string* release_payload();
584 void set_allocated_payload(std::string* payload);
586 const std::string& _internal_payload()
const;
587 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_payload(
const std::string& value);
588 std::string* _internal_mutable_payload();
592 bool has_request_id()
const;
594 bool _internal_has_request_id()
const;
596 void clear_request_id();
597 int32_t request_id()
const;
598 void set_request_id(int32_t value);
600 int32_t _internal_request_id()
const;
601 void _internal_set_request_id(int32_t value);
608 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
609 typedef void InternalArenaConstructable_;
610 typedef void DestructorSkippable_;
612 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
613 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
614 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_;
618 friend struct ::TableStruct_goby_2ftest_2fpython_2ftest_2eproto;
626 #pragma GCC diagnostic push
627 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
632inline bool TestConfig::_internal_has_app()
const {
633 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
634 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
637inline bool TestConfig::has_app()
const {
638 return _internal_has_app();
640inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app()
const {
641 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
645inline const ::goby::middleware::protobuf::AppConfig& TestConfig::app()
const {
647 return _internal_app();
649inline void TestConfig::unsafe_arena_set_allocated_app(
651 if (GetArenaForAllocation() ==
nullptr) {
652 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
656 _impl_._has_bits_[0] |= 0x00000001u;
658 _impl_._has_bits_[0] &= ~0x00000001u;
662inline ::goby::middleware::protobuf::AppConfig* TestConfig::release_app() {
663 _impl_._has_bits_[0] &= ~0x00000001u;
665 _impl_.app_ =
nullptr;
666#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
667 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
668 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
669 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
671 if (GetArenaForAllocation() !=
nullptr) {
672 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
677inline ::goby::middleware::protobuf::AppConfig* TestConfig::unsafe_arena_release_app() {
679 _impl_._has_bits_[0] &= ~0x00000001u;
681 _impl_.app_ =
nullptr;
684inline ::goby::middleware::protobuf::AppConfig* TestConfig::_internal_mutable_app() {
685 _impl_._has_bits_[0] |= 0x00000001u;
686 if (_impl_.app_ ==
nullptr) {
692inline ::goby::middleware::protobuf::AppConfig* TestConfig::mutable_app() {
698 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
699 if (message_arena ==
nullptr) {
700 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
703 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
704 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
705 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
706 if (message_arena != submessage_arena) {
707 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
708 message_arena, app, submessage_arena);
710 _impl_._has_bits_[0] |= 0x00000001u;
712 _impl_._has_bits_[0] &= ~0x00000001u;
719inline bool TestConfig::_internal_has_interprocess()
const {
720 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
721 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
724inline bool TestConfig::has_interprocess()
const {
725 return _internal_has_interprocess();
727inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess()
const {
728 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
732inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::interprocess()
const {
734 return _internal_interprocess();
736inline void TestConfig::unsafe_arena_set_allocated_interprocess(
738 if (GetArenaForAllocation() ==
nullptr) {
739 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
741 _impl_.interprocess_ = interprocess;
743 _impl_._has_bits_[0] |= 0x00000002u;
745 _impl_._has_bits_[0] &= ~0x00000002u;
749inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::release_interprocess() {
750 _impl_._has_bits_[0] &= ~0x00000002u;
752 _impl_.interprocess_ =
nullptr;
753#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
754 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
755 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
756 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
758 if (GetArenaForAllocation() !=
nullptr) {
759 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
764inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::unsafe_arena_release_interprocess() {
766 _impl_._has_bits_[0] &= ~0x00000002u;
768 _impl_.interprocess_ =
nullptr;
771inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::_internal_mutable_interprocess() {
772 _impl_._has_bits_[0] |= 0x00000002u;
773 if (_impl_.interprocess_ ==
nullptr) {
775 _impl_.interprocess_ = p;
777 return _impl_.interprocess_;
779inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::mutable_interprocess() {
785 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
786 if (message_arena ==
nullptr) {
787 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
790 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
791 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
792 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
793 if (message_arena != submessage_arena) {
794 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
795 message_arena, interprocess, submessage_arena);
797 _impl_._has_bits_[0] |= 0x00000002u;
799 _impl_._has_bits_[0] &= ~0x00000002u;
801 _impl_.interprocess_ = interprocess;
806inline bool TestConfig::_internal_has_num_messages()
const {
807 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
810inline bool TestConfig::has_num_messages()
const {
811 return _internal_has_num_messages();
813inline void TestConfig::clear_num_messages() {
814 _impl_.num_messages_ = 10;
815 _impl_._has_bits_[0] &= ~0x00000004u;
817inline int32_t TestConfig::_internal_num_messages()
const {
818 return _impl_.num_messages_;
820inline int32_t TestConfig::num_messages()
const {
822 return _internal_num_messages();
824inline void TestConfig::_internal_set_num_messages(int32_t value) {
825 _impl_._has_bits_[0] |= 0x00000004u;
826 _impl_.num_messages_ = value;
828inline void TestConfig::set_num_messages(int32_t value) {
829 _internal_set_num_messages(value);
838inline bool CommsTx::_internal_has_request_id()
const {
839 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
842inline bool CommsTx::has_request_id()
const {
843 return _internal_has_request_id();
845inline void CommsTx::clear_request_id() {
846 _impl_.request_id_ = 0;
847 _impl_._has_bits_[0] &= ~0x00000001u;
849inline int32_t CommsTx::_internal_request_id()
const {
850 return _impl_.request_id_;
852inline int32_t CommsTx::request_id()
const {
854 return _internal_request_id();
856inline void CommsTx::_internal_set_request_id(int32_t value) {
857 _impl_._has_bits_[0] |= 0x00000001u;
858 _impl_.request_id_ = value;
860inline void CommsTx::set_request_id(int32_t value) {
861 _internal_set_request_id(value);
870inline bool CommsRx::_internal_has_request_id()
const {
871 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
874inline bool CommsRx::has_request_id()
const {
875 return _internal_has_request_id();
877inline void CommsRx::clear_request_id() {
878 _impl_.request_id_ = 0;
879 _impl_._has_bits_[0] &= ~0x00000002u;
881inline int32_t CommsRx::_internal_request_id()
const {
882 return _impl_.request_id_;
884inline int32_t CommsRx::request_id()
const {
886 return _internal_request_id();
888inline void CommsRx::_internal_set_request_id(int32_t value) {
889 _impl_._has_bits_[0] |= 0x00000002u;
890 _impl_.request_id_ = value;
892inline void CommsRx::set_request_id(int32_t value) {
893 _internal_set_request_id(value);
898inline bool CommsRx::_internal_has_payload()
const {
899 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
902inline bool CommsRx::has_payload()
const {
903 return _internal_has_payload();
905inline void CommsRx::clear_payload() {
906 _impl_.payload_.ClearToEmpty();
907 _impl_._has_bits_[0] &= ~0x00000001u;
909inline const std::string& CommsRx::payload()
const {
911 return _internal_payload();
913template <
typename ArgT0,
typename... ArgT>
914inline PROTOBUF_ALWAYS_INLINE
915void CommsRx::set_payload(ArgT0&& arg0, ArgT... args) {
916 _impl_._has_bits_[0] |= 0x00000001u;
917 _impl_.payload_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
920inline std::string* CommsRx::mutable_payload() {
921 std::string* _s = _internal_mutable_payload();
925inline const std::string& CommsRx::_internal_payload()
const {
926 return _impl_.payload_.Get();
928inline void CommsRx::_internal_set_payload(
const std::string& value) {
929 _impl_._has_bits_[0] |= 0x00000001u;
930 _impl_.payload_.Set(value, GetArenaForAllocation());
932inline std::string* CommsRx::_internal_mutable_payload() {
933 _impl_._has_bits_[0] |= 0x00000001u;
934 return _impl_.payload_.Mutable(GetArenaForAllocation());
936inline std::string* CommsRx::release_payload() {
938 if (!_internal_has_payload()) {
941 _impl_._has_bits_[0] &= ~0x00000001u;
942 auto* p = _impl_.payload_.Release();
943#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
944 if (_impl_.payload_.IsDefault()) {
945 _impl_.payload_.Set(
"", GetArenaForAllocation());
950inline void CommsRx::set_allocated_payload(std::string* payload) {
951 if (payload !=
nullptr) {
952 _impl_._has_bits_[0] |= 0x00000001u;
954 _impl_._has_bits_[0] &= ~0x00000001u;
956 _impl_.payload_.SetAllocated(payload, GetArenaForAllocation());
957#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
958 if (_impl_.payload_.IsDefault()) {
959 _impl_.payload_.Set(
"", GetArenaForAllocation());
966 #pragma GCC diagnostic pop
982#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
static const CommsRx * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
CommsRx(CommsRx &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(CommsRx *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_payload(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void Swap(CommsRx *other)
CommsRx & operator=(CommsRx &&from) noexcept
void CopyFrom(const CommsRx &from)
CommsRx(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(CommsRx &a, CommsRx &b)
static const CommsRx & default_instance()
CommsRx * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
CommsRx(const CommsRx &from)
CommsRx & operator=(const CommsRx &from)
static const ClassData _class_data_
void MergeFrom(const CommsRx &from)
PROTOBUF_CONSTEXPR CommsRx(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const CommsTx * internal_default_instance()
CommsTx & operator=(const CommsTx &from)
static const ClassData _class_data_
CommsTx * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(CommsTx *other)
friend void swap(CommsTx &a, CommsTx &b)
PROTOBUF_CONSTEXPR CommsTx(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
CommsTx & operator=(CommsTx &&from) noexcept
CommsTx(CommsTx &&from) noexcept
void CopyFrom(const CommsTx &from)
CommsTx(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const CommsTx &from)
CommsTx(const CommsTx &from)
void Swap(CommsTx *other)
static const CommsTx & default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const TestConfig & default_instance()
bool has_num_messages() const
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void clear_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::goby::middleware::protobuf::AppConfig & app() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
TestConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
TestConfig(TestConfig &&from) noexcept
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void set_num_messages(int32_t value)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
TestConfig & operator=(TestConfig &&from) noexcept
::goby::middleware::protobuf::AppConfig * mutable_app()
friend void swap(TestConfig &a, TestConfig &b)
static constexpr int kIndexInFileMessages
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const TestConfig * internal_default_instance()
void CopyFrom(const TestConfig &from)
TestConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
int32_t num_messages() const
void clear_num_messages()
TestConfig & operator=(const TestConfig &from)
TestConfig(const TestConfig &from)
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const TestConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(TestConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_interprocess() const
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
@ kNumMessagesFieldNumber
@ kInterprocessFieldNumber
void Swap(TestConfig *other)
PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
bool IsInitialized() const final
int GetCachedSize() const final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
AppConfigDefaultTypeInternal _AppConfig_default_instance_
TestConfigDefaultTypeInternal _TestConfig_default_instance_
CommsRxDefaultTypeInternal _CommsRx_default_instance_
CommsTxDefaultTypeInternal _CommsTx_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fpython_2ftest_2eproto
static const uint32_t offsets[]
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)