Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
amac_config.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_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_5fconfig_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"
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>
41
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto;
57namespace goby {
58namespace acomms {
59namespace protobuf {
60class MACConfig;
61struct MACConfigDefaultTypeInternal;
62extern MACConfigDefaultTypeInternal _MACConfig_default_instance_;
63} // namespace protobuf
64} // namespace acomms
65} // namespace goby
66PROTOBUF_NAMESPACE_OPEN
67template<> ::goby::acomms::protobuf::MACConfig* Arena::CreateMaybeMessage<::goby::acomms::protobuf::MACConfig>(Arena*);
68PROTOBUF_NAMESPACE_CLOSE
69namespace goby {
70namespace acomms {
71namespace protobuf {
72
81
82const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MACConfig_MACRefTime_descriptor();
83template<typename T>
84inline const std::string& MACConfig_MACRefTime_Name(T enum_t_value) {
85 static_assert(::std::is_same<T, MACConfig_MACRefTime>::value ||
86 ::std::is_integral<T>::value,
87 "Incorrect type passed to function MACConfig_MACRefTime_Name.");
88 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
89 MACConfig_MACRefTime_descriptor(), enum_t_value);
90}
92 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACConfig_MACRefTime* value) {
93 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MACConfig_MACRefTime>(
94 MACConfig_MACRefTime_descriptor(), name, value);
95}
101bool MACType_IsValid(int value);
104constexpr int MACType_ARRAYSIZE = MACType_MAX + 1;
105
106const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MACType_descriptor();
107template<typename T>
108inline const std::string& MACType_Name(T enum_t_value) {
109 static_assert(::std::is_same<T, MACType>::value ||
110 ::std::is_integral<T>::value,
111 "Incorrect type passed to function MACType_Name.");
112 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
113 MACType_descriptor(), enum_t_value);
114}
115inline bool MACType_Parse(
116 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACType* value) {
117 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MACType>(
118 MACType_descriptor(), name, value);
119}
120// ===================================================================
121
122class MACConfig final :
123 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.MACConfig) */ {
124 public:
125 inline MACConfig() : MACConfig(nullptr) {}
126 ~MACConfig() override;
127 explicit PROTOBUF_CONSTEXPR MACConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
128
129 MACConfig(const MACConfig& from);
130 MACConfig(MACConfig&& from) noexcept
131 : MACConfig() {
132 *this = ::std::move(from);
133 }
134
135 inline MACConfig& operator=(const MACConfig& from) {
136 CopyFrom(from);
137 return *this;
138 }
139 inline MACConfig& operator=(MACConfig&& from) noexcept {
140 if (this == &from) return *this;
141 if (GetOwningArena() == from.GetOwningArena()
142 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
143 && GetOwningArena() != nullptr
144 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
145 ) {
146 InternalSwap(&from);
147 } else {
148 CopyFrom(from);
149 }
150 return *this;
151 }
152
153 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
154 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
155 }
156 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
157 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
158 }
159
160 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
161 return GetDescriptor();
162 }
163 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
164 return default_instance().GetMetadata().descriptor;
165 }
166 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
167 return default_instance().GetMetadata().reflection;
168 }
169 static const MACConfig& default_instance() {
171 }
172 static inline const MACConfig* internal_default_instance() {
173 return reinterpret_cast<const MACConfig*>(
175 }
176 static constexpr int kIndexInFileMessages =
177 0;
178
179 friend void swap(MACConfig& a, MACConfig& b) {
180 a.Swap(&b);
181 }
182 inline void Swap(MACConfig* other) {
183 if (other == this) return;
184 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
185 if (GetOwningArena() != nullptr &&
186 GetOwningArena() == other->GetOwningArena()) {
187 #else // PROTOBUF_FORCE_COPY_IN_SWAP
188 if (GetOwningArena() == other->GetOwningArena()) {
189 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
190 InternalSwap(other);
191 } else {
192 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
193 }
194 }
196 if (other == this) return;
197 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
198 InternalSwap(other);
199 }
200
201 // implements Message ----------------------------------------------
202
203 MACConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
204 return CreateMaybeMessage<MACConfig>(arena);
205 }
206 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
207 void CopyFrom(const MACConfig& from);
208 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
209 void MergeFrom( const MACConfig& from) {
210 MACConfig::MergeImpl(*this, from);
211 }
212 private:
213 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
214 public:
215 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
216 bool IsInitialized() const final;
217
218 size_t ByteSizeLong() const final;
219 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
221 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
222 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
223
224 private:
225 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
226 void SharedDtor();
227 void SetCachedSize(int size) const final;
228 void InternalSwap(MACConfig* other);
229
230 private:
231 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
232 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
233 return "goby.acomms.protobuf.MACConfig";
234 }
235 protected:
236 explicit MACConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
237 bool is_message_owned = false);
238 public:
239
240 static const ClassData _class_data_;
241 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
242
243 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
244
245 // nested types ----------------------------------------------------
246
250 static constexpr MACRefTime REFERENCE_FIXED =
252 static inline bool MACRefTime_IsValid(int value) {
253 return MACConfig_MACRefTime_IsValid(value);
254 }
255 static constexpr MACRefTime MACRefTime_MIN =
257 static constexpr MACRefTime MACRefTime_MAX =
259 static constexpr int MACRefTime_ARRAYSIZE =
261 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
265 template<typename T>
266 static inline const std::string& MACRefTime_Name(T enum_t_value) {
267 static_assert(::std::is_same<T, MACRefTime>::value ||
268 ::std::is_integral<T>::value,
269 "Incorrect type passed to function MACRefTime_Name.");
270 return MACConfig_MACRefTime_Name(enum_t_value);
271 }
272 static inline bool MACRefTime_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
273 MACRefTime* value) {
274 return MACConfig_MACRefTime_Parse(name, value);
275 }
276
277 // accessors -------------------------------------------------------
278
279 enum : int {
286 };
287 // repeated .goby.acomms.protobuf.ModemTransmission slot = 3 [(.goby.field) = {
288 int slot_size() const;
289 private:
290 int _internal_slot_size() const;
291 public:
294 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
295 mutable_slot();
296 private:
297 const ::goby::acomms::protobuf::ModemTransmission& _internal_slot(int index) const;
299 public:
300 const ::goby::acomms::protobuf::ModemTransmission& slot(int index) const;
302 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
303 slot() const;
304
305 // optional int32 modem_id = 1 [(.goby.field) = {
306 bool has_modem_id() const;
307 private:
308 bool _internal_has_modem_id() const;
309 public:
310 void clear_modem_id();
311 int32_t modem_id() const;
312 void set_modem_id(int32_t value);
313 private:
314 int32_t _internal_modem_id() const;
315 void _internal_set_modem_id(int32_t value);
316 public:
317
318 // optional int32 fixed_ref_time = 6 [(.goby.field) = {
319 bool has_fixed_ref_time() const;
320 private:
321 bool _internal_has_fixed_ref_time() const;
322 public:
324 int32_t fixed_ref_time() const;
325 void set_fixed_ref_time(int32_t value);
326 private:
327 int32_t _internal_fixed_ref_time() const;
328 void _internal_set_fixed_ref_time(int32_t value);
329 public:
330
331 // optional .goby.acomms.protobuf.MACConfig.MACRefTime ref_time_type = 5 [default = REFERENCE_START_OF_DAY];
332 bool has_ref_time_type() const;
333 private:
334 bool _internal_has_ref_time_type() const;
335 public:
336 void clear_ref_time_type();
339 private:
340 ::goby::acomms::protobuf::MACConfig_MACRefTime _internal_ref_time_type() const;
341 void _internal_set_ref_time_type(::goby::acomms::protobuf::MACConfig_MACRefTime value);
342 public:
343
344 // optional .goby.acomms.protobuf.MACType type = 2 [default = MAC_NONE, (.goby.field) = {
345 bool has_type() const;
346 private:
347 bool _internal_has_type() const;
348 public:
349 void clear_type();
352 private:
353 ::goby::acomms::protobuf::MACType _internal_type() const;
354 void _internal_set_type(::goby::acomms::protobuf::MACType value);
355 public:
356
357 // optional bool start_cycle_in_middle = 4 [default = true, (.goby.field) = {
358 bool has_start_cycle_in_middle() const;
359 private:
360 bool _internal_has_start_cycle_in_middle() const;
361 public:
363 bool start_cycle_in_middle() const;
364 void set_start_cycle_in_middle(bool value);
365 private:
366 bool _internal_start_cycle_in_middle() const;
367 void _internal_set_start_cycle_in_middle(bool value);
368 public:
369
370 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type fixed_ref_time_dimension;
371
372 typedef boost::units::unit<fixed_ref_time_dimension,boost::units::si::system> fixed_ref_time_unit;
373
374 template<typename Quantity >
375 void set_fixed_ref_time_with_units(Quantity value_w_units)
376 { set_fixed_ref_time(boost::units::quantity<fixed_ref_time_unit,google::protobuf::int32 >(value_w_units).value() ); };
377
378 template<typename Quantity >
380 { return Quantity(fixed_ref_time() * fixed_ref_time_unit()); };
381
382 boost::units::quantity< fixed_ref_time_unit,google::protobuf::int32 > fixed_ref_time_with_units() const
383 { return fixed_ref_time_with_units<boost::units::quantity< fixed_ref_time_unit,google::protobuf::int32 > >(); };
384
385 // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.MACConfig)
386 private:
387 class _Internal;
388
389 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
390 typedef void InternalArenaConstructable_;
391 typedef void DestructorSkippable_;
392 struct Impl_ {
393 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
394 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
395 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > slot_;
396 int32_t modem_id_;
397 int32_t fixed_ref_time_;
398 int ref_time_type_;
399 int type_;
400 bool start_cycle_in_middle_;
401 };
402 union { Impl_ _impl_; };
403 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto;
404};
405// ===================================================================
406
407
408// ===================================================================
409
410#ifdef __GNUC__
411 #pragma GCC diagnostic push
412 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
413#endif // __GNUC__
414// MACConfig
415
416// optional int32 modem_id = 1 [(.goby.field) = {
417inline bool MACConfig::_internal_has_modem_id() const {
418 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
419 return value;
420}
421inline bool MACConfig::has_modem_id() const {
422 return _internal_has_modem_id();
423}
425 _impl_.modem_id_ = 0;
426 _impl_._has_bits_[0] &= ~0x00000001u;
427}
428inline int32_t MACConfig::_internal_modem_id() const {
429 return _impl_.modem_id_;
430}
431inline int32_t MACConfig::modem_id() const {
432 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.modem_id)
433 return _internal_modem_id();
434}
435inline void MACConfig::_internal_set_modem_id(int32_t value) {
436 _impl_._has_bits_[0] |= 0x00000001u;
437 _impl_.modem_id_ = value;
438}
439inline void MACConfig::set_modem_id(int32_t value) {
440 _internal_set_modem_id(value);
441 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACConfig.modem_id)
442}
443
444// optional .goby.acomms.protobuf.MACType type = 2 [default = MAC_NONE, (.goby.field) = {
445inline bool MACConfig::_internal_has_type() const {
446 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
447 return value;
448}
449inline bool MACConfig::has_type() const {
450 return _internal_has_type();
451}
453 _impl_.type_ = 1;
454 _impl_._has_bits_[0] &= ~0x00000008u;
455}
456inline ::goby::acomms::protobuf::MACType MACConfig::_internal_type() const {
457 return static_cast< ::goby::acomms::protobuf::MACType >(_impl_.type_);
458}
459inline ::goby::acomms::protobuf::MACType MACConfig::type() const {
460 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.type)
461 return _internal_type();
462}
463inline void MACConfig::_internal_set_type(::goby::acomms::protobuf::MACType value) {
465 _impl_._has_bits_[0] |= 0x00000008u;
466 _impl_.type_ = value;
467}
469 _internal_set_type(value);
470 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACConfig.type)
471}
472
473// repeated .goby.acomms.protobuf.ModemTransmission slot = 3 [(.goby.field) = {
474inline int MACConfig::_internal_slot_size() const {
475 return _impl_.slot_.size();
476}
477inline int MACConfig::slot_size() const {
478 return _internal_slot_size();
479}
480inline ::goby::acomms::protobuf::ModemTransmission* MACConfig::mutable_slot(int index) {
481 // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.MACConfig.slot)
482 return _impl_.slot_.Mutable(index);
483}
484inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
486 // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.MACConfig.slot)
487 return &_impl_.slot_;
488}
489inline const ::goby::acomms::protobuf::ModemTransmission& MACConfig::_internal_slot(int index) const {
490 return _impl_.slot_.Get(index);
491}
492inline const ::goby::acomms::protobuf::ModemTransmission& MACConfig::slot(int index) const {
493 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.slot)
494 return _internal_slot(index);
495}
496inline ::goby::acomms::protobuf::ModemTransmission* MACConfig::_internal_add_slot() {
497 return _impl_.slot_.Add();
498}
499inline ::goby::acomms::protobuf::ModemTransmission* MACConfig::add_slot() {
500 ::goby::acomms::protobuf::ModemTransmission* _add = _internal_add_slot();
501 // @@protoc_insertion_point(field_add:goby.acomms.protobuf.MACConfig.slot)
502 return _add;
503}
504inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
506 // @@protoc_insertion_point(field_list:goby.acomms.protobuf.MACConfig.slot)
507 return _impl_.slot_;
508}
509
510// optional bool start_cycle_in_middle = 4 [default = true, (.goby.field) = {
511inline bool MACConfig::_internal_has_start_cycle_in_middle() const {
512 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
513 return value;
514}
516 return _internal_has_start_cycle_in_middle();
517}
519 _impl_.start_cycle_in_middle_ = true;
520 _impl_._has_bits_[0] &= ~0x00000010u;
521}
522inline bool MACConfig::_internal_start_cycle_in_middle() const {
523 return _impl_.start_cycle_in_middle_;
524}
526 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.start_cycle_in_middle)
527 return _internal_start_cycle_in_middle();
528}
529inline void MACConfig::_internal_set_start_cycle_in_middle(bool value) {
530 _impl_._has_bits_[0] |= 0x00000010u;
531 _impl_.start_cycle_in_middle_ = value;
532}
534 _internal_set_start_cycle_in_middle(value);
535 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACConfig.start_cycle_in_middle)
536}
537
538// optional .goby.acomms.protobuf.MACConfig.MACRefTime ref_time_type = 5 [default = REFERENCE_START_OF_DAY];
539inline bool MACConfig::_internal_has_ref_time_type() const {
540 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
541 return value;
542}
543inline bool MACConfig::has_ref_time_type() const {
544 return _internal_has_ref_time_type();
545}
547 _impl_.ref_time_type_ = 1;
548 _impl_._has_bits_[0] &= ~0x00000004u;
549}
550inline ::goby::acomms::protobuf::MACConfig_MACRefTime MACConfig::_internal_ref_time_type() const {
551 return static_cast< ::goby::acomms::protobuf::MACConfig_MACRefTime >(_impl_.ref_time_type_);
552}
553inline ::goby::acomms::protobuf::MACConfig_MACRefTime MACConfig::ref_time_type() const {
554 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.ref_time_type)
555 return _internal_ref_time_type();
556}
557inline void MACConfig::_internal_set_ref_time_type(::goby::acomms::protobuf::MACConfig_MACRefTime value) {
559 _impl_._has_bits_[0] |= 0x00000004u;
560 _impl_.ref_time_type_ = value;
561}
563 _internal_set_ref_time_type(value);
564 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACConfig.ref_time_type)
565}
566
567// optional int32 fixed_ref_time = 6 [(.goby.field) = {
568inline bool MACConfig::_internal_has_fixed_ref_time() const {
569 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
570 return value;
571}
572inline bool MACConfig::has_fixed_ref_time() const {
573 return _internal_has_fixed_ref_time();
574}
576 _impl_.fixed_ref_time_ = 0;
577 _impl_._has_bits_[0] &= ~0x00000002u;
578}
579inline int32_t MACConfig::_internal_fixed_ref_time() const {
580 return _impl_.fixed_ref_time_;
581}
582inline int32_t MACConfig::fixed_ref_time() const {
583 // @@protoc_insertion_point(field_get:goby.acomms.protobuf.MACConfig.fixed_ref_time)
584 return _internal_fixed_ref_time();
585}
586inline void MACConfig::_internal_set_fixed_ref_time(int32_t value) {
587 _impl_._has_bits_[0] |= 0x00000002u;
588 _impl_.fixed_ref_time_ = value;
589}
590inline void MACConfig::set_fixed_ref_time(int32_t value) {
591 _internal_set_fixed_ref_time(value);
592 // @@protoc_insertion_point(field_set:goby.acomms.protobuf.MACConfig.fixed_ref_time)
593}
594
595#ifdef __GNUC__
596 #pragma GCC diagnostic pop
597#endif // __GNUC__
598
599// @@protoc_insertion_point(namespace_scope)
600
601} // namespace protobuf
602} // namespace acomms
603} // namespace goby
604
605PROTOBUF_NAMESPACE_OPEN
606
607template <> struct is_proto_enum< ::goby::acomms::protobuf::MACConfig_MACRefTime> : ::std::true_type {};
608template <>
610 return ::goby::acomms::protobuf::MACConfig_MACRefTime_descriptor();
611}
612template <> struct is_proto_enum< ::goby::acomms::protobuf::MACType> : ::std::true_type {};
613template <>
615 return ::goby::acomms::protobuf::MACType_descriptor();
616}
617
618PROTOBUF_NAMESPACE_CLOSE
619
620// @@protoc_insertion_point(global_scope)
621
622#include <google/protobuf/port_undef.inc>
623#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::protobuf::MACConfig_MACRefTime >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2famac_5fconfig_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::protobuf::MACType >()
::goby::acomms::protobuf::MACConfig_MACRefTime ref_time_type() const
void set_ref_time_type(::goby::acomms::protobuf::MACConfig_MACRefTime value)
size_t ByteSizeLong() const final
void UnsafeArenaSwap(MACConfig *other)
static constexpr MACRefTime REFERENCE_FIXED
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type fixed_ref_time_dimension
PROTOBUF_CONSTEXPR MACConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & slot() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const MACConfig & default_instance()
void MergeFrom(const MACConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static bool MACRefTime_IsValid(int value)
void set_fixed_ref_time(int32_t value)
bool IsInitialized() const final
static constexpr int kIndexInFileMessages
MACConfig & operator=(MACConfig &&from) noexcept
MACConfig(MACConfig &&from) noexcept
static constexpr int MACRefTime_ARRAYSIZE
static const MACConfig * internal_default_instance()
void CopyFrom(const MACConfig &from)
static constexpr MACRefTime REFERENCE_START_OF_DAY
static constexpr MACRefTime MACRefTime_MIN
boost::units::unit< fixed_ref_time_dimension, boost::units::si::system > fixed_ref_time_unit
boost::units::quantity< fixed_ref_time_unit, google::protobuf::int32 > fixed_ref_time_with_units() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static bool MACRefTime_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACRefTime *value)
MACConfig & operator=(const MACConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(MACConfig &a, MACConfig &b)
MACConfig(const MACConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
MACConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_type(::goby::acomms::protobuf::MACType value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::goby::acomms::protobuf::ModemTransmission * add_slot()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MACRefTime_descriptor()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_slot()
static constexpr MACRefTime MACRefTime_MAX
void set_fixed_ref_time_with_units(Quantity value_w_units)
static const ClassData _class_data_
MACConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::goby::acomms::protobuf::MACType type() const
static const std::string & MACRefTime_Name(T enum_t_value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
constexpr MACType MACType_MAX
constexpr MACConfig_MACRefTime MACConfig_MACRefTime_MACRefTime_MIN
const std::string & MACConfig_MACRefTime_Name(T enum_t_value)
bool MACConfig_MACRefTime_IsValid(int value)
bool MACType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACType *value)
bool MACType_IsValid(int value)
constexpr int MACConfig_MACRefTime_MACRefTime_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MACConfig_MACRefTime_descriptor()
const std::string & MACType_Name(T enum_t_value)
MACConfigDefaultTypeInternal _MACConfig_default_instance_
constexpr int MACType_ARRAYSIZE
bool MACConfig_MACRefTime_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MACConfig_MACRefTime *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MACType_descriptor()
constexpr MACConfig_MACRefTime MACConfig_MACRefTime_MACRefTime_MAX
constexpr MACType MACType_MIN
The global namespace for the Goby project.