Goby3 3.3.0
2025.07.10
Loading...
Searching...
No Matches
amac.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/amac.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
34#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>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2famac_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2famac_2eproto;
54namespace goby {
55namespace acomms {
56namespace protobuf {
57class MACUpdate;
58struct MACUpdateDefaultTypeInternal;
59extern MACUpdateDefaultTypeInternal _MACUpdate_default_instance_;
60} // namespace protobuf
61} // namespace acomms
62} // namespace goby
63PROTOBUF_NAMESPACE_OPEN
64template<> ::goby::acomms::protobuf::MACUpdate* Arena::CreateMaybeMessage<::goby::acomms::protobuf::MACUpdate>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace goby {
67namespace acomms {
68namespace protobuf {
69
85
86const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MACUpdate_UpdateType_descriptor();
87template<typename T>
88inline const std::string& MACUpdate_UpdateType_Name(T enum_t_value) {
89 static_assert(::std::is_same<T, MACUpdate_UpdateType>::value ||
90 ::std::is_integral<T>::value,
91 "Incorrect type passed to function MACUpdate_UpdateType_Name.");
92 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
93 MACUpdate_UpdateType_descriptor(), enum_t_value);
94}
96 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACUpdate_UpdateType* value) {
97 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MACUpdate_UpdateType>(
98 MACUpdate_UpdateType_descriptor(), name, value);
99}
108
109const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MACUpdate_CycleState_descriptor();
110template<typename T>
111inline const std::string& MACUpdate_CycleState_Name(T enum_t_value) {
112 static_assert(::std::is_same<T, MACUpdate_CycleState>::value ||
113 ::std::is_integral<T>::value,
114 "Incorrect type passed to function MACUpdate_CycleState_Name.");
115 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
116 MACUpdate_CycleState_descriptor(), enum_t_value);
117}
119 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACUpdate_CycleState* value) {
120 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MACUpdate_CycleState>(
121 MACUpdate_CycleState_descriptor(), name, value);
122}
123// ===================================================================
124
125class MACUpdate final :
126 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.MACUpdate) */ {
127 public:
128 inline MACUpdate() : MACUpdate(nullptr) {}
129 ~MACUpdate() override;
130 explicit PROTOBUF_CONSTEXPR MACUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
131
132 MACUpdate(const MACUpdate& from);
133 MACUpdate(MACUpdate&& from) noexcept
134 : MACUpdate() {
135 *this = ::std::move(from);
136 }
137
138 inline MACUpdate& operator=(const MACUpdate& from) {
139 CopyFrom(from);
140 return *this;
141 }
142 inline MACUpdate& operator=(MACUpdate&& from) noexcept {
143 if (this == &from) return *this;
144 if (GetOwningArena() == from.GetOwningArena()
145 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
146 && GetOwningArena() != nullptr
147 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
148 ) {
149 InternalSwap(&from);
150 } else {
151 CopyFrom(from);
152 }
153 return *this;
154 }
155
156 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
157 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
158 }
159 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
160 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
161 }
162
163 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
164 return GetDescriptor();
165 }
166 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
167 return default_instance().GetMetadata().descriptor;
168 }
169 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
170 return default_instance().GetMetadata().reflection;
171 }
172 static const MACUpdate& default_instance() {
174 }
175 static inline const MACUpdate* internal_default_instance() {
176 return reinterpret_cast<const MACUpdate*>(
178 }
179 static constexpr int kIndexInFileMessages =
180 0;
181
182 friend void swap(MACUpdate& a, MACUpdate& b) {
183 a.Swap(&b);
184 }
185 inline void Swap(MACUpdate* other) {
186 if (other == this) return;
187 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
188 if (GetOwningArena() != nullptr &&
189 GetOwningArena() == other->GetOwningArena()) {
190 #else // PROTOBUF_FORCE_COPY_IN_SWAP
191 if (GetOwningArena() == other->GetOwningArena()) {
192 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
193 InternalSwap(other);
194 } else {
195 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
196 }
197 }
199 if (other == this) return;
200 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
201 InternalSwap(other);
202 }
203
204 // implements Message ----------------------------------------------
205
206 MACUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
207 return CreateMaybeMessage<MACUpdate>(arena);
208 }
209 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
210 void CopyFrom(const MACUpdate& from);
211 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
212 void MergeFrom( const MACUpdate& from) {
213 MACUpdate::MergeImpl(*this, from);
214 }
215 private:
216 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
217 public:
218 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
219 bool IsInitialized() const final;
220
221 size_t ByteSizeLong() const final;
222 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
224 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
225 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
226
227 private:
228 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
229 void SharedDtor();
230 void SetCachedSize(int size) const final;
231 void InternalSwap(MACUpdate* other);
232
233 private:
234 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
235 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
236 return "goby.acomms.protobuf.MACUpdate";
237 }
238 protected:
239 explicit MACUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
240 bool is_message_owned = false);
241 public:
242
243 static const ClassData _class_data_;
244 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
245
246 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
247
248 // nested types ----------------------------------------------------
249
251 static constexpr UpdateType NO_CHANGE =
253 static constexpr UpdateType ASSIGN =
255 static constexpr UpdateType PUSH_BACK =
257 static constexpr UpdateType PUSH_FRONT =
259 static constexpr UpdateType POP_BACK =
261 static constexpr UpdateType POP_FRONT =
263 static constexpr UpdateType INSERT =
265 static constexpr UpdateType ERASE =
267 static constexpr UpdateType CLEAR =
269 static inline bool UpdateType_IsValid(int value) {
270 return MACUpdate_UpdateType_IsValid(value);
271 }
272 static constexpr UpdateType UpdateType_MIN =
274 static constexpr UpdateType UpdateType_MAX =
276 static constexpr int UpdateType_ARRAYSIZE =
278 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
282 template<typename T>
283 static inline const std::string& UpdateType_Name(T enum_t_value) {
284 static_assert(::std::is_same<T, UpdateType>::value ||
285 ::std::is_integral<T>::value,
286 "Incorrect type passed to function UpdateType_Name.");
287 return MACUpdate_UpdateType_Name(enum_t_value);
288 }
289 static inline bool UpdateType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
290 UpdateType* value) {
291 return MACUpdate_UpdateType_Parse(name, value);
292 }
293
295 static constexpr CycleState STOPPED =
297 static constexpr CycleState STARTED =
299 static inline bool CycleState_IsValid(int value) {
300 return MACUpdate_CycleState_IsValid(value);
301 }
302 static constexpr CycleState CycleState_MIN =
304 static constexpr CycleState CycleState_MAX =
306 static constexpr int CycleState_ARRAYSIZE =
308 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
312 template<typename T>
313 static inline const std::string& CycleState_Name(T enum_t_value) {
314 static_assert(::std::is_same<T, CycleState>::value ||
315 ::std::is_integral<T>::value,
316 "Incorrect type passed to function CycleState_Name.");
317 return MACUpdate_CycleState_Name(enum_t_value);
318 }
319 static inline bool CycleState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
320 CycleState* value) {
321 return MACUpdate_CycleState_Parse(name, value);
322 }
323
324 // accessors -------------------------------------------------------
325
326 enum : int {
334 };
335 // repeated .goby.acomms.protobuf.ModemTransmission slot = 4 [(.dccl.field) = {
336 int slot_size() const;
337 private:
338 int _internal_slot_size() const;
339 public:
342 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
343 mutable_slot();
344 private:
345 const ::goby::acomms::protobuf::ModemTransmission& _internal_slot(int index) const;
347 public:
348 const ::goby::acomms::protobuf::ModemTransmission& slot(int index) const;
350 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
351 slot() const;
352
353 // required int32 src = 1 [(.dccl.field) = {
354 bool has_src() const;
355 private:
356 bool _internal_has_src() const;
357 public:
358 void clear_src();
359 int32_t src() const;
360 void set_src(int32_t value);
361 private:
362 int32_t _internal_src() const;
363 void _internal_set_src(int32_t value);
364 public:
365
366 // required int32 dest = 2 [(.dccl.field) = {
367 bool has_dest() const;
368 private:
369 bool _internal_has_dest() const;
370 public:
371 void clear_dest();
372 int32_t dest() const;
373 void set_dest(int32_t value);
374 private:
375 int32_t _internal_dest() const;
376 void _internal_set_dest(int32_t value);
377 public:
378
379 // optional .goby.acomms.protobuf.MACUpdate.UpdateType update_type = 3 [default = NO_CHANGE];
380 bool has_update_type() const;
381 private:
382 bool _internal_has_update_type() const;
383 public:
384 void clear_update_type();
387 private:
388 ::goby::acomms::protobuf::MACUpdate_UpdateType _internal_update_type() const;
389 void _internal_set_update_type(::goby::acomms::protobuf::MACUpdate_UpdateType value);
390 public:
391
392 // optional int32 first_iterator = 5 [default = 0, (.dccl.field) = {
393 bool has_first_iterator() const;
394 private:
395 bool _internal_has_first_iterator() const;
396 public:
398 int32_t first_iterator() const;
399 void set_first_iterator(int32_t value);
400 private:
401 int32_t _internal_first_iterator() const;
402 void _internal_set_first_iterator(int32_t value);
403 public:
404
405 // optional int32 second_iterator = 6 [default = -1, (.dccl.field) = {
406 bool has_second_iterator() const;
407 private:
408 bool _internal_has_second_iterator() const;
409 public:
411 int32_t second_iterator() const;
412 void set_second_iterator(int32_t value);
413 private:
414 int32_t _internal_second_iterator() const;
415 void _internal_set_second_iterator(int32_t value);
416 public:
417
418 // optional .goby.acomms.protobuf.MACUpdate.CycleState cycle_state = 7 [default = STARTED, (.dccl.field) = {
419 bool has_cycle_state() const;
420 private:
421 bool _internal_has_cycle_state() const;
422 public:
423 void clear_cycle_state();
426 private:
427 ::goby::acomms::protobuf::MACUpdate_CycleState _internal_cycle_state() const;
428 void _internal_set_cycle_state(::goby::acomms::protobuf::MACUpdate_CycleState value);
429 public:
430
432 // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.MACUpdate)
433 private:
434 class _Internal;
435
436 // helper for ByteSizeLong()
437 size_t RequiredFieldsByteSizeFallback() const;
438
439 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
440 typedef void InternalArenaConstructable_;
441 typedef void DestructorSkippable_;
442 struct Impl_ {
443 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
444 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
445 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > slot_;
446 int32_t src_;
447 int32_t dest_;
448 int update_type_;
449 int32_t first_iterator_;
450 int32_t second_iterator_;
451 int cycle_state_;
452 };
453 union { Impl_ _impl_; };
454 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2famac_2eproto;
455};
456// ===================================================================
457
458
459// ===================================================================
460
461#ifdef __GNUC__
462 #pragma GCC diagnostic push
463 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
464#endif // __GNUC__
465// MACUpdate
466
467// required int32 src = 1 [(.dccl.field) = {
468inline bool MACUpdate::_internal_has_src() const {
469 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
470 return value;
471}
472inline bool MACUpdate::has_src() const {
473 return _internal_has_src();
474}
475inline void MACUpdate::clear_src() {
476 _impl_.src_ = 0;
477 _impl_._has_bits_[0] &= ~0x00000001u;
478}
479inline int32_t MACUpdate::_internal_src() const {
480 return _impl_.src_;
481}
482inline int32_t MACUpdate::src() const {
483 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.src)
484 return _internal_src();
485}
486inline void MACUpdate::_internal_set_src(int32_t value) {
487 _impl_._has_bits_[0] |= 0x00000001u;
488 _impl_.src_ = value;
489}
490inline void MACUpdate::set_src(int32_t value) {
491 _internal_set_src(value);
492 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.src)
493}
494
495// required int32 dest = 2 [(.dccl.field) = {
496inline bool MACUpdate::_internal_has_dest() const {
497 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
498 return value;
499}
500inline bool MACUpdate::has_dest() const {
501 return _internal_has_dest();
502}
504 _impl_.dest_ = 0;
505 _impl_._has_bits_[0] &= ~0x00000002u;
506}
507inline int32_t MACUpdate::_internal_dest() const {
508 return _impl_.dest_;
509}
510inline int32_t MACUpdate::dest() const {
511 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.dest)
512 return _internal_dest();
513}
514inline void MACUpdate::_internal_set_dest(int32_t value) {
515 _impl_._has_bits_[0] |= 0x00000002u;
516 _impl_.dest_ = value;
517}
518inline void MACUpdate::set_dest(int32_t value) {
519 _internal_set_dest(value);
520 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.dest)
521}
522
523// optional .goby.acomms.protobuf.MACUpdate.UpdateType update_type = 3 [default = NO_CHANGE];
524inline bool MACUpdate::_internal_has_update_type() const {
525 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
526 return value;
527}
528inline bool MACUpdate::has_update_type() const {
529 return _internal_has_update_type();
530}
532 _impl_.update_type_ = 0;
533 _impl_._has_bits_[0] &= ~0x00000004u;
534}
535inline ::goby::acomms::protobuf::MACUpdate_UpdateType MACUpdate::_internal_update_type() const {
536 return static_cast< ::goby::acomms::protobuf::MACUpdate_UpdateType >(_impl_.update_type_);
537}
538inline ::goby::acomms::protobuf::MACUpdate_UpdateType MACUpdate::update_type() const {
539 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.update_type)
540 return _internal_update_type();
541}
542inline void MACUpdate::_internal_set_update_type(::goby::acomms::protobuf::MACUpdate_UpdateType value) {
544 _impl_._has_bits_[0] |= 0x00000004u;
545 _impl_.update_type_ = value;
546}
548 _internal_set_update_type(value);
549 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.update_type)
550}
551
552// repeated .goby.acomms.protobuf.ModemTransmission slot = 4 [(.dccl.field) = {
553inline int MACUpdate::_internal_slot_size() const {
554 return _impl_.slot_.size();
555}
556inline int MACUpdate::slot_size() const {
557 return _internal_slot_size();
558}
559inline ::goby::acomms::protobuf::ModemTransmission* MACUpdate::mutable_slot(int index) {
560 // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.MACUpdate.slot)
561 return _impl_.slot_.Mutable(index);
562}
563inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
565 // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.MACUpdate.slot)
566 return &_impl_.slot_;
567}
568inline const ::goby::acomms::protobuf::ModemTransmission& MACUpdate::_internal_slot(int index) const {
569 return _impl_.slot_.Get(index);
570}
571inline const ::goby::acomms::protobuf::ModemTransmission& MACUpdate::slot(int index) const {
572 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.slot)
573 return _internal_slot(index);
574}
575inline ::goby::acomms::protobuf::ModemTransmission* MACUpdate::_internal_add_slot() {
576 return _impl_.slot_.Add();
577}
578inline ::goby::acomms::protobuf::ModemTransmission* MACUpdate::add_slot() {
579 ::goby::acomms::protobuf::ModemTransmission* _add = _internal_add_slot();
580 // @@protoc_insertion_point(field_add:goby.acomms.protobuf.MACUpdate.slot)
581 return _add;
582}
583inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
585 // @@protoc_insertion_point(field_list:goby.acomms.protobuf.MACUpdate.slot)
586 return _impl_.slot_;
587}
588
589// optional int32 first_iterator = 5 [default = 0, (.dccl.field) = {
590inline bool MACUpdate::_internal_has_first_iterator() const {
591 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
592 return value;
593}
594inline bool MACUpdate::has_first_iterator() const {
595 return _internal_has_first_iterator();
596}
598 _impl_.first_iterator_ = 0;
599 _impl_._has_bits_[0] &= ~0x00000008u;
600}
601inline int32_t MACUpdate::_internal_first_iterator() const {
602 return _impl_.first_iterator_;
603}
604inline int32_t MACUpdate::first_iterator() const {
605 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.first_iterator)
606 return _internal_first_iterator();
607}
608inline void MACUpdate::_internal_set_first_iterator(int32_t value) {
609 _impl_._has_bits_[0] |= 0x00000008u;
610 _impl_.first_iterator_ = value;
611}
612inline void MACUpdate::set_first_iterator(int32_t value) {
613 _internal_set_first_iterator(value);
614 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.first_iterator)
615}
616
617// optional int32 second_iterator = 6 [default = -1, (.dccl.field) = {
618inline bool MACUpdate::_internal_has_second_iterator() const {
619 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
620 return value;
621}
623 return _internal_has_second_iterator();
624}
626 _impl_.second_iterator_ = -1;
627 _impl_._has_bits_[0] &= ~0x00000010u;
628}
629inline int32_t MACUpdate::_internal_second_iterator() const {
630 return _impl_.second_iterator_;
631}
632inline int32_t MACUpdate::second_iterator() const {
633 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.second_iterator)
634 return _internal_second_iterator();
635}
636inline void MACUpdate::_internal_set_second_iterator(int32_t value) {
637 _impl_._has_bits_[0] |= 0x00000010u;
638 _impl_.second_iterator_ = value;
639}
640inline void MACUpdate::set_second_iterator(int32_t value) {
641 _internal_set_second_iterator(value);
642 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.second_iterator)
643}
644
645// optional .goby.acomms.protobuf.MACUpdate.CycleState cycle_state = 7 [default = STARTED, (.dccl.field) = {
646inline bool MACUpdate::_internal_has_cycle_state() const {
647 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
648 return value;
649}
650inline bool MACUpdate::has_cycle_state() const {
651 return _internal_has_cycle_state();
652}
654 _impl_.cycle_state_ = 2;
655 _impl_._has_bits_[0] &= ~0x00000020u;
656}
657inline ::goby::acomms::protobuf::MACUpdate_CycleState MACUpdate::_internal_cycle_state() const {
658 return static_cast< ::goby::acomms::protobuf::MACUpdate_CycleState >(_impl_.cycle_state_);
659}
660inline ::goby::acomms::protobuf::MACUpdate_CycleState MACUpdate::cycle_state() const {
661 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACUpdate.cycle_state)
662 return _internal_cycle_state();
663}
664inline void MACUpdate::_internal_set_cycle_state(::goby::acomms::protobuf::MACUpdate_CycleState value) {
666 _impl_._has_bits_[0] |= 0x00000020u;
667 _impl_.cycle_state_ = value;
668}
670 _internal_set_cycle_state(value);
671 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACUpdate.cycle_state)
672}
673
674#ifdef __GNUC__
675 #pragma GCC diagnostic pop
676#endif // __GNUC__
677
678// @@protoc_insertion_point(namespace_scope)
679
680} // namespace protobuf
681} // namespace acomms
682} // namespace goby
683
684PROTOBUF_NAMESPACE_OPEN
685
686template <> struct is_proto_enum< ::goby::acomms::protobuf::MACUpdate_UpdateType> : ::std::true_type {};
687template <>
689 return ::goby::acomms::protobuf::MACUpdate_UpdateType_descriptor();
690}
691template <> struct is_proto_enum< ::goby::acomms::protobuf::MACUpdate_CycleState> : ::std::true_type {};
692template <>
694 return ::goby::acomms::protobuf::MACUpdate_CycleState_descriptor();
695}
696
697PROTOBUF_NAMESPACE_CLOSE
698
699// @@protoc_insertion_point(global_scope)
700
701#include <google/protobuf/port_undef.inc>
702#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::protobuf::MACUpdate_UpdateType >()
Definition amac.pb.h:688
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::protobuf::MACUpdate_CycleState >()
Definition amac.pb.h:693
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2famac_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition amac.pb.h:169
friend void swap(MACUpdate &a, MACUpdate &b)
Definition amac.pb.h:182
void UnsafeArenaSwap(MACUpdate *other)
Definition amac.pb.h:198
static bool CycleState_IsValid(int value)
Definition amac.pb.h:299
void MergeFrom(const MACUpdate &from)
Definition amac.pb.h:212
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition amac.pb.h:156
static constexpr UpdateType UpdateType_MAX
Definition amac.pb.h:274
static constexpr UpdateType CLEAR
Definition amac.pb.h:267
static const std::string & UpdateType_Name(T enum_t_value)
Definition amac.pb.h:283
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition amac.pb.h:166
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static bool UpdateType_IsValid(int value)
Definition amac.pb.h:269
void set_second_iterator(int32_t value)
Definition amac.pb.h:640
void set_update_type(::goby::acomms::protobuf::MACUpdate_UpdateType value)
Definition amac.pb.h:547
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition amac.pb.h:163
void Swap(MACUpdate *other)
Definition amac.pb.h:185
static constexpr CycleState CycleState_MAX
Definition amac.pb.h:304
MACUpdate(MACUpdate &&from) noexcept
Definition amac.pb.h:133
int32_t second_iterator() const
Definition amac.pb.h:632
static constexpr int CycleState_ARRAYSIZE
Definition amac.pb.h:306
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & slot() const
Definition amac.pb.h:584
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_slot()
Definition amac.pb.h:564
static constexpr CycleState STOPPED
Definition amac.pb.h:295
bool IsInitialized() const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * UpdateType_descriptor()
Definition amac.pb.h:279
static constexpr int UpdateType_ARRAYSIZE
Definition amac.pb.h:276
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR MACUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_cycle_state(::goby::acomms::protobuf::MACUpdate_CycleState value)
Definition amac.pb.h:669
void CopyFrom(const MACUpdate &from)
MACUpdate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition amac.pb.h:206
static constexpr UpdateType POP_BACK
Definition amac.pb.h:259
static constexpr UpdateType INSERT
Definition amac.pb.h:263
void set_src(int32_t value)
Definition amac.pb.h:490
static const MACUpdate & default_instance()
Definition amac.pb.h:172
void set_first_iterator(int32_t value)
Definition amac.pb.h:612
static const std::string & CycleState_Name(T enum_t_value)
Definition amac.pb.h:313
static constexpr UpdateType PUSH_BACK
Definition amac.pb.h:255
MACUpdate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_dest(int32_t value)
Definition amac.pb.h:518
::goby::acomms::protobuf::MACUpdate_UpdateType update_type() const
Definition amac.pb.h:538
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CycleState_descriptor()
Definition amac.pb.h:309
static constexpr UpdateType UpdateType_MIN
Definition amac.pb.h:272
static constexpr UpdateType POP_FRONT
Definition amac.pb.h:261
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr CycleState STARTED
Definition amac.pb.h:297
static const MACUpdate * internal_default_instance()
Definition amac.pb.h:175
::goby::acomms::protobuf::ModemTransmission * add_slot()
Definition amac.pb.h:578
static constexpr CycleState CycleState_MIN
Definition amac.pb.h:302
static constexpr UpdateType ERASE
Definition amac.pb.h:265
size_t ByteSizeLong() const final
static constexpr int kIndexInFileMessages
Definition amac.pb.h:179
static constexpr UpdateType PUSH_FRONT
Definition amac.pb.h:257
static constexpr UpdateType ASSIGN
Definition amac.pb.h:253
::goby::acomms::protobuf::MACUpdate_CycleState cycle_state() const
Definition amac.pb.h:660
MACUpdate & operator=(MACUpdate &&from) noexcept
Definition amac.pb.h:142
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition amac.pb.h:159
static const ClassData _class_data_
Definition amac.pb.h:243
MACUpdate_CycleState CycleState
Definition amac.pb.h:294
int GetCachedSize() const final
Definition amac.pb.h:225
static constexpr UpdateType NO_CHANGE
Definition amac.pb.h:251
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
MACUpdate(const MACUpdate &from)
MACUpdate & operator=(const MACUpdate &from)
Definition amac.pb.h:138
static bool CycleState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CycleState *value)
Definition amac.pb.h:319
static bool UpdateType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UpdateType *value)
Definition amac.pb.h:289
constexpr MACUpdate_UpdateType MACUpdate_UpdateType_UpdateType_MIN
Definition amac.pb.h:82
const std::string & MACUpdate_CycleState_Name(T enum_t_value)
Definition amac.pb.h:111
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MACUpdate_UpdateType_descriptor()
const std::string & MACUpdate_UpdateType_Name(T enum_t_value)
Definition amac.pb.h:88
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MACUpdate_CycleState_descriptor()
bool MACUpdate_CycleState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACUpdate_CycleState *value)
Definition amac.pb.h:118
constexpr int MACUpdate_UpdateType_UpdateType_ARRAYSIZE
Definition amac.pb.h:84
constexpr int MACUpdate_CycleState_CycleState_ARRAYSIZE
Definition amac.pb.h:107
bool MACUpdate_UpdateType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACUpdate_UpdateType *value)
Definition amac.pb.h:95
constexpr MACUpdate_UpdateType MACUpdate_UpdateType_UpdateType_MAX
Definition amac.pb.h:83
MACUpdateDefaultTypeInternal _MACUpdate_default_instance_
constexpr MACUpdate_CycleState MACUpdate_CycleState_CycleState_MIN
Definition amac.pb.h:105
constexpr MACUpdate_CycleState MACUpdate_CycleState_CycleState_MAX
Definition amac.pb.h:106
bool MACUpdate_CycleState_IsValid(int value)
bool MACUpdate_UpdateType_IsValid(int value)
The global namespace for the Goby project.