4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <boost/units/systems/si.hpp>
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2froute_2eproto
46 PROTOBUF_NAMESPACE_OPEN
50 PROTOBUF_NAMESPACE_CLOSE
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
69 class RouteCommandDefaultTypeInternal;
71 class RouteManagerConfig;
72 class RouteManagerConfigDefaultTypeInternal;
75 class StaticRouteDefaultTypeInternal;
80 PROTOBUF_NAMESPACE_OPEN
81 template<> ::goby::acomms::protobuf::RouteCommand* Arena::CreateMaybeMessage<::goby::acomms::protobuf::RouteCommand>(Arena*);
82 template<> ::goby::acomms::protobuf::RouteManagerConfig* Arena::CreateMaybeMessage<::goby::acomms::protobuf::RouteManagerConfig>(Arena*);
83 template<> ::goby::acomms::protobuf::StaticRoute* Arena::CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(Arena*);
84 PROTOBUF_NAMESPACE_CLOSE
91 class StaticRoute PROTOBUF_FINAL :
92 public ::PROTOBUF_NAMESPACE_ID::Message {
100 *
this = ::std::move(from);
103 inline StaticRoute&
operator=(
const StaticRoute& from) {
107 inline StaticRoute&
operator=(StaticRoute&& from) noexcept {
108 if (GetArena() == from.GetArena()) {
109 if (
this != &from) InternalSwap(&from);
117 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
120 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
124 return GetDescriptor();
127 return GetMetadataStatic().descriptor;
130 return GetMetadataStatic().reflection;
136 return reinterpret_cast<const StaticRoute*
>(
139 static constexpr
int kIndexInFileMessages =
142 friend void swap(StaticRoute& a, StaticRoute& b) {
145 inline void Swap(StaticRoute* other) {
146 if (other ==
this)
return;
147 if (GetArena() == other->GetArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetArena() == other->GetArena());
161 inline StaticRoute*
New() const final {
162 return CreateMaybeMessage<StaticRoute>(
nullptr);
165 StaticRoute*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
166 return CreateMaybeMessage<StaticRoute>(arena);
168 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
172 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 bool IsInitialized() const final;
176 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
177 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
178 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179 int GetCachedSize() const final {
return _cached_size_.Get(); }
182 inline void SharedCtor();
183 inline void SharedDtor();
184 void SetCachedSize(
int size)
const final;
185 void InternalSwap(StaticRoute* other);
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "goby.acomms.protobuf.StaticRoute";
193 static void ArenaDtor(
void*
object);
194 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
199 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
216 int _internal_hop_size()
const;
221 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
222 _internal_hop()
const;
224 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
225 _internal_mutable_hop();
230 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
232 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
239 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
240 typedef void InternalArenaConstructable_;
241 typedef void DestructorSkippable_;
242 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > hop_;
243 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
244 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
249 public ::PROTOBUF_NAMESPACE_ID::Message {
256 : RouteManagerConfig() {
257 *
this = ::std::move(from);
260 inline RouteManagerConfig&
operator=(
const RouteManagerConfig& from) {
264 inline RouteManagerConfig&
operator=(RouteManagerConfig&& from) noexcept {
265 if (GetArena() == from.GetArena()) {
266 if (
this != &from) InternalSwap(&from);
274 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
277 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
280 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
281 return GetDescriptor();
284 return GetMetadataStatic().descriptor;
287 return GetMetadataStatic().reflection;
293 return reinterpret_cast<const RouteManagerConfig*
>(
296 static constexpr
int kIndexInFileMessages =
299 friend void swap(RouteManagerConfig& a, RouteManagerConfig& b) {
302 inline void Swap(RouteManagerConfig* other) {
303 if (other ==
this)
return;
304 if (GetArena() == other->GetArena()) {
307 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
311 if (other ==
this)
return;
312 GOOGLE_DCHECK(GetArena() == other->GetArena());
318 inline RouteManagerConfig*
New() const final {
319 return CreateMaybeMessage<RouteManagerConfig>(
nullptr);
322 RouteManagerConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
323 return CreateMaybeMessage<RouteManagerConfig>(arena);
325 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
326 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
329 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
330 bool IsInitialized() const final;
333 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
334 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
335 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
336 int GetCachedSize() const final {
return _cached_size_.Get(); }
339 inline void SharedCtor();
340 inline void SharedDtor();
341 void SetCachedSize(
int size)
const final;
342 void InternalSwap(RouteManagerConfig* other);
343 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
344 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
345 return "goby.acomms.protobuf.RouteManagerConfig";
350 static void ArenaDtor(
void*
object);
351 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
356 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
368 kRouteFieldNumber = 1,
369 kDefaultGatewayFieldNumber = 3,
370 kSubnetMaskFieldNumber = 2,
375 bool _internal_has_route()
const;
378 const ::goby::acomms::protobuf::StaticRoute&
route()
const;
383 const ::goby::acomms::protobuf::StaticRoute& _internal_route()
const;
384 ::goby::acomms::protobuf::StaticRoute* _internal_mutable_route();
387 ::goby::acomms::protobuf::StaticRoute*
route);
393 bool _internal_has_default_gateway()
const;
406 bool _internal_has_subnet_mask()
const;
420 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
421 typedef void InternalArenaConstructable_;
422 typedef void DestructorSkippable_;
423 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
424 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
425 ::goby::acomms::protobuf::StaticRoute* route_;
428 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
433 public ::PROTOBUF_NAMESPACE_ID::Message {
441 *
this = ::std::move(from);
444 inline RouteCommand&
operator=(
const RouteCommand& from) {
448 inline RouteCommand&
operator=(RouteCommand&& from) noexcept {
449 if (GetArena() == from.GetArena()) {
450 if (
this != &from) InternalSwap(&from);
458 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
461 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
464 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
465 return GetDescriptor();
468 return GetMetadataStatic().descriptor;
471 return GetMetadataStatic().reflection;
477 return reinterpret_cast<const RouteCommand*
>(
480 static constexpr
int kIndexInFileMessages =
483 friend void swap(RouteCommand& a, RouteCommand& b) {
486 inline void Swap(RouteCommand* other) {
487 if (other ==
this)
return;
488 if (GetArena() == other->GetArena()) {
491 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
495 if (other ==
this)
return;
496 GOOGLE_DCHECK(GetArena() == other->GetArena());
502 inline RouteCommand*
New() const final {
503 return CreateMaybeMessage<RouteCommand>(
nullptr);
506 RouteCommand*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
507 return CreateMaybeMessage<RouteCommand>(arena);
509 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
510 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
513 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
514 bool IsInitialized() const final;
517 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
518 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
519 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
520 int GetCachedSize() const final {
return _cached_size_.Get(); }
523 inline void SharedCtor();
524 inline void SharedDtor();
525 void SetCachedSize(
int size)
const final;
526 void InternalSwap(RouteCommand* other);
527 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
528 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
529 return "goby.acomms.protobuf.RouteCommand";
534 static void ArenaDtor(
void*
object);
535 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
540 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
552 kNewRouteFieldNumber = 4,
554 kDestFieldNumber = 2,
555 kTimeFieldNumber = 3,
560 bool _internal_has_new_route()
const;
563 const ::goby::acomms::protobuf::StaticRoute&
new_route()
const;
568 const ::goby::acomms::protobuf::StaticRoute& _internal_new_route()
const;
569 ::goby::acomms::protobuf::StaticRoute* _internal_mutable_new_route();
572 ::goby::acomms::protobuf::StaticRoute* new_route);
578 bool _internal_has_src()
const;
591 bool _internal_has_dest()
const;
604 bool _internal_has_time()
const;
617 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >
::type time_unit;
619 template<
typename Quantity >
621 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
623 template<
typename Quantity >
628 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
634 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
635 typedef void InternalArenaConstructable_;
636 typedef void DestructorSkippable_;
637 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
638 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
639 ::goby::acomms::protobuf::StaticRoute* new_route_;
643 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
651 #pragma GCC diagnostic push
652 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
657 inline int StaticRoute::_internal_hop_size()
const {
660 inline int StaticRoute::hop_size()
const {
661 return _internal_hop_size();
663 inline void StaticRoute::clear_hop() {
667 return hop_.Get(index);
671 return _internal_hop(index);
674 hop_.Set(index, value);
681 _internal_add_hop(value);
684 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
685 StaticRoute::_internal_hop()
const {
688 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
689 StaticRoute::hop()
const {
691 return _internal_hop();
693 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
694 StaticRoute::_internal_mutable_hop() {
697 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
698 StaticRoute::mutable_hop() {
700 return _internal_mutable_hop();
708 inline bool RouteManagerConfig::_internal_has_route()
const {
709 bool value = (_has_bits_[0] & 0x00000001u) != 0;
710 PROTOBUF_ASSUME(!value || route_ !=
nullptr);
713 inline bool RouteManagerConfig::has_route()
const {
714 return _internal_has_route();
716 inline void RouteManagerConfig::clear_route() {
717 if (route_ !=
nullptr) route_->Clear();
718 _has_bits_[0] &= ~0x00000001u;
720 inline const ::goby::acomms::protobuf::StaticRoute& RouteManagerConfig::_internal_route()
const {
721 const ::goby::acomms::protobuf::StaticRoute* p = route_;
722 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::acomms::protobuf::StaticRoute*
>(
727 return _internal_route();
729 inline void RouteManagerConfig::unsafe_arena_set_allocated_route(
730 ::goby::acomms::protobuf::StaticRoute*
route) {
731 if (GetArena() ==
nullptr) {
732 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(route_);
736 _has_bits_[0] |= 0x00000001u;
738 _has_bits_[0] &= ~0x00000001u;
742 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::release_route() {
743 auto temp = unsafe_arena_release_route();
744 if (GetArena() !=
nullptr) {
745 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
749 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::unsafe_arena_release_route() {
751 _has_bits_[0] &= ~0x00000001u;
752 ::goby::acomms::protobuf::StaticRoute* temp = route_;
756 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::_internal_mutable_route() {
757 _has_bits_[0] |= 0x00000001u;
758 if (route_ ==
nullptr) {
759 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(GetArena());
764 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::mutable_route() {
766 return _internal_mutable_route();
768 inline void RouteManagerConfig::set_allocated_route(::goby::acomms::protobuf::StaticRoute*
route) {
769 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
770 if (message_arena ==
nullptr) {
774 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
775 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(
route);
776 if (message_arena != submessage_arena) {
777 route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
778 message_arena,
route, submessage_arena);
780 _has_bits_[0] |= 0x00000001u;
782 _has_bits_[0] &= ~0x00000001u;
789 inline bool RouteManagerConfig::_internal_has_subnet_mask()
const {
790 bool value = (_has_bits_[0] & 0x00000004u) != 0;
793 inline bool RouteManagerConfig::has_subnet_mask()
const {
794 return _internal_has_subnet_mask();
796 inline void RouteManagerConfig::clear_subnet_mask() {
797 subnet_mask_ = 4294967040u;
798 _has_bits_[0] &= ~0x00000004u;
805 return _internal_subnet_mask();
808 _has_bits_[0] |= 0x00000004u;
809 subnet_mask_ =
value;
812 _internal_set_subnet_mask(value);
817 inline bool RouteManagerConfig::_internal_has_default_gateway()
const {
818 bool value = (_has_bits_[0] & 0x00000002u) != 0;
821 inline bool RouteManagerConfig::has_default_gateway()
const {
822 return _internal_has_default_gateway();
824 inline void RouteManagerConfig::clear_default_gateway() {
825 default_gateway_ = 0u;
826 _has_bits_[0] &= ~0x00000002u;
829 return default_gateway_;
833 return _internal_default_gateway();
836 _has_bits_[0] |= 0x00000002u;
837 default_gateway_ =
value;
840 _internal_set_default_gateway(value);
849 inline bool RouteCommand::_internal_has_src()
const {
850 bool value = (_has_bits_[0] & 0x00000002u) != 0;
853 inline bool RouteCommand::has_src()
const {
854 return _internal_has_src();
856 inline void RouteCommand::clear_src() {
858 _has_bits_[0] &= ~0x00000002u;
865 return _internal_src();
868 _has_bits_[0] |= 0x00000002u;
872 _internal_set_src(value);
877 inline bool RouteCommand::_internal_has_dest()
const {
878 bool value = (_has_bits_[0] & 0x00000004u) != 0;
881 inline bool RouteCommand::has_dest()
const {
882 return _internal_has_dest();
884 inline void RouteCommand::clear_dest() {
886 _has_bits_[0] &= ~0x00000004u;
893 return _internal_dest();
896 _has_bits_[0] |= 0x00000004u;
900 _internal_set_dest(value);
905 inline bool RouteCommand::_internal_has_time()
const {
906 bool value = (_has_bits_[0] & 0x00000008u) != 0;
909 inline bool RouteCommand::has_time()
const {
910 return _internal_has_time();
912 inline void RouteCommand::clear_time() {
913 time_ = PROTOBUF_ULONGLONG(0);
914 _has_bits_[0] &= ~0x00000008u;
921 return _internal_time();
924 _has_bits_[0] |= 0x00000008u;
928 _internal_set_time(value);
933 inline bool RouteCommand::_internal_has_new_route()
const {
934 bool value = (_has_bits_[0] & 0x00000001u) != 0;
935 PROTOBUF_ASSUME(!value || new_route_ !=
nullptr);
938 inline bool RouteCommand::has_new_route()
const {
939 return _internal_has_new_route();
941 inline void RouteCommand::clear_new_route() {
942 if (new_route_ !=
nullptr) new_route_->Clear();
943 _has_bits_[0] &= ~0x00000001u;
945 inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::_internal_new_route()
const {
946 const ::goby::acomms::protobuf::StaticRoute* p = new_route_;
947 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::acomms::protobuf::StaticRoute*
>(
950 inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::new_route()
const {
952 return _internal_new_route();
954 inline void RouteCommand::unsafe_arena_set_allocated_new_route(
955 ::goby::acomms::protobuf::StaticRoute* new_route) {
956 if (GetArena() ==
nullptr) {
957 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(new_route_);
959 new_route_ = new_route;
961 _has_bits_[0] |= 0x00000001u;
963 _has_bits_[0] &= ~0x00000001u;
967 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::release_new_route() {
968 auto temp = unsafe_arena_release_new_route();
969 if (GetArena() !=
nullptr) {
970 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
974 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::unsafe_arena_release_new_route() {
976 _has_bits_[0] &= ~0x00000001u;
977 ::goby::acomms::protobuf::StaticRoute* temp = new_route_;
978 new_route_ =
nullptr;
981 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::_internal_mutable_new_route() {
982 _has_bits_[0] |= 0x00000001u;
983 if (new_route_ ==
nullptr) {
984 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(GetArena());
989 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::mutable_new_route() {
991 return _internal_mutable_new_route();
993 inline void RouteCommand::set_allocated_new_route(::goby::acomms::protobuf::StaticRoute* new_route) {
994 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
995 if (message_arena ==
nullptr) {
999 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1000 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(new_route);
1001 if (message_arena != submessage_arena) {
1002 new_route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1003 message_arena, new_route, submessage_arena);
1005 _has_bits_[0] |= 0x00000001u;
1007 _has_bits_[0] &= ~0x00000001u;
1009 new_route_ = new_route;
1014 #pragma GCC diagnostic pop
1029 #include <google/protobuf/port_undef.inc>
void set_time_with_units(Quantity value_w_units)
StaticRoute * New() const final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
::PROTOBUF_NAMESPACE_ID::int32 dest() const
friend void swap(RouteManagerConfig &a, RouteManagerConfig &b)
RouteCommand * New() const final
const ::goby::acomms::protobuf::StaticRoute & route() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & hop() const
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(RouteCommand &a, RouteCommand &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
RouteCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena)
RouteManagerConfig(const RouteManagerConfig &from)
::goby::acomms::protobuf::StaticRoute * mutable_new_route()
StaticRoute & operator=(const StaticRoute &from)
RouteCommand(const RouteCommand &from)
static const RouteCommand * internal_default_instance()
RouteCommand & operator=(RouteCommand &&from) noexcept
RouteManagerConfig & operator=(const RouteManagerConfig &from)
::PROTOBUF_NAMESPACE_ID::uint32 default_gateway() const
void set_subnet_mask(::PROTOBUF_NAMESPACE_ID::uint32 value)
void UnsafeArenaSwap(RouteCommand *other)
bool has_new_route() const
void Swap(StaticRoute *other)
void CopyFrom(const RouteCommand &from)
StaticRoute * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::uint32 subnet_mask() const
virtual ~RouteManagerConfig()
::goby::acomms::protobuf::StaticRoute * mutable_route()
void MergeFrom(const RouteCommand &from)
void set_dest(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(StaticRoute &a, StaticRoute &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const RouteManagerConfig * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static void InitAsDefaultInstance()
bool has_subnet_mask() const
static const StaticRoute & default_instance()
RouteCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void Swap(RouteCommand *other)
RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
RouteManagerConfig * New() const final
RouteCommand(RouteCommand &&from) noexcept
void unsafe_arena_set_allocated_new_route(::goby::acomms::protobuf::StaticRoute *new_route)
RouteCommand & operator=(const RouteCommand &from)
::goby::acomms::protobuf::StaticRoute * unsafe_arena_release_new_route()
StaticRoute(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const StaticRoute &from)
RouteManagerConfig & operator=(RouteManagerConfig &&from) noexcept
void set_src(::PROTOBUF_NAMESPACE_ID::int32 value)
static const RouteManagerConfig & default_instance()
void unsafe_arena_set_allocated_route(::goby::acomms::protobuf::StaticRoute *route)
void add_hop(::PROTOBUF_NAMESPACE_ID::int32 value)
void CopyFrom(const RouteManagerConfig &from)
StaticRoute & operator=(StaticRoute &&from) noexcept
RouteManagerConfig(RouteManagerConfig &&from) noexcept
void set_allocated_route(::goby::acomms::protobuf::StaticRoute *route)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_hop()
void set_default_gateway(::PROTOBUF_NAMESPACE_ID::uint32 value)
bool has_default_gateway() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(RouteManagerConfig *other)
void set_allocated_new_route(::goby::acomms::protobuf::StaticRoute *new_route)
::PROTOBUF_NAMESPACE_ID::uint64 time() const
StaticRoute(StaticRoute &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void clear_default_gateway()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
void set_hop(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 src() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::int32 hop(int index) const
Quantity time_with_units() const
RouteManagerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void MergeFrom(const RouteManagerConfig &from)
::goby::acomms::protobuf::StaticRoute * release_new_route()
void UnsafeArenaSwap(RouteManagerConfig *other)
const ::goby::acomms::protobuf::StaticRoute & new_route() const
void UnsafeArenaSwap(StaticRoute *other)
void MergeFrom(const StaticRoute &from)
::goby::acomms::protobuf::StaticRoute * unsafe_arena_release_route()
static const StaticRoute * internal_default_instance()
::goby::acomms::protobuf::StaticRoute * release_route()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
StaticRoute(const StaticRoute &from)
static const RouteCommand & default_instance()
unit< time_dimension, si::system > time
@ value
the parser finished reading a JSON value
StaticRouteDefaultTypeInternal _StaticRoute_default_instance_
RouteCommandDefaultTypeInternal _RouteCommand_default_instance_
RouteManagerConfigDefaultTypeInternal _RouteManagerConfig_default_instance_
constexpr goby::middleware::Group route
The global namespace for the Goby project.
type
Generic JSON types used in JWTs.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)