JaiaBot  1.19.0
JaiaBot micro-AUV software
modem_message_extensions.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/modem_message_extensions.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.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>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include "goby/acomms/protobuf/modem_message.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_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
43 PROTOBUF_NAMESPACE_OPEN
44 namespace internal {
45 class AnyMetadata;
46 } // namespace internal
47 PROTOBUF_NAMESPACE_CLOSE
48 
49 // Internal implementation detail -- do not use these members.
51  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
60 };
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
62 namespace jaiabot {
63 namespace protobuf {
64 class HubInfo;
65 class HubInfoDefaultTypeInternal;
66 extern HubInfoDefaultTypeInternal _HubInfo_default_instance_;
67 class Transmission;
68 class TransmissionDefaultTypeInternal;
69 extern TransmissionDefaultTypeInternal _Transmission_default_instance_;
70 } // namespace protobuf
71 } // namespace jaiabot
72 PROTOBUF_NAMESPACE_OPEN
73 template<> ::jaiabot::protobuf::HubInfo* Arena::CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(Arena*);
74 template<> ::jaiabot::protobuf::Transmission* Arena::CreateMaybeMessage<::jaiabot::protobuf::Transmission>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace jaiabot {
77 namespace protobuf {
78 
79 // ===================================================================
80 
81 class HubInfo PROTOBUF_FINAL :
82  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.HubInfo) */ {
83  public:
84  inline HubInfo() : HubInfo(nullptr) {};
85  virtual ~HubInfo();
86 
87  HubInfo(const HubInfo& from);
88  HubInfo(HubInfo&& from) noexcept
89  : HubInfo() {
90  *this = ::std::move(from);
91  }
92 
93  inline HubInfo& operator=(const HubInfo& from) {
94  CopyFrom(from);
95  return *this;
96  }
97  inline HubInfo& operator=(HubInfo&& from) noexcept {
98  if (GetArena() == from.GetArena()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105 
106  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108  }
109  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return GetMetadataStatic().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return GetMetadataStatic().reflection;
121  }
122  static const HubInfo& default_instance();
123 
124  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
125  static inline const HubInfo* internal_default_instance() {
126  return reinterpret_cast<const HubInfo*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  friend void swap(HubInfo& a, HubInfo& b) {
133  a.Swap(&b);
134  }
135  inline void Swap(HubInfo* other) {
136  if (other == this) return;
137  if (GetArena() == other->GetArena()) {
138  InternalSwap(other);
139  } else {
140  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141  }
142  }
143  void UnsafeArenaSwap(HubInfo* other) {
144  if (other == this) return;
145  GOOGLE_DCHECK(GetArena() == other->GetArena());
146  InternalSwap(other);
147  }
148 
149  // implements Message ----------------------------------------------
150 
151  inline HubInfo* New() const final {
152  return CreateMaybeMessage<HubInfo>(nullptr);
153  }
154 
155  HubInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
156  return CreateMaybeMessage<HubInfo>(arena);
157  }
158  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
159  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
160  void CopyFrom(const HubInfo& from);
161  void MergeFrom(const HubInfo& from);
162  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
163  bool IsInitialized() const final;
164 
165  size_t ByteSizeLong() const final;
166  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
167  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
168  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169  int GetCachedSize() const final { return _cached_size_.Get(); }
170 
171  private:
172  inline void SharedCtor();
173  inline void SharedDtor();
174  void SetCachedSize(int size) const final;
175  void InternalSwap(HubInfo* other);
176  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178  return "jaiabot.protobuf.HubInfo";
179  }
180  protected:
181  explicit HubInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  private:
183  static void ArenaDtor(void* object);
184  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185  public:
186 
187  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
188  private:
189  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
190  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto);
192  }
193 
194  public:
195 
196  // nested types ----------------------------------------------------
197 
198  // accessors -------------------------------------------------------
199 
200  enum : int {
201  kHubIdFieldNumber = 1,
202  kModemIdFieldNumber = 2,
203  kChangedFieldNumber = 3,
204  };
205  // optional int32 hub_id = 1;
206  bool has_hub_id() const;
207  private:
208  bool _internal_has_hub_id() const;
209  public:
210  void clear_hub_id();
211  ::PROTOBUF_NAMESPACE_ID::int32 hub_id() const;
212  void set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
213  private:
214  ::PROTOBUF_NAMESPACE_ID::int32 _internal_hub_id() const;
215  void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
216  public:
217 
218  // optional int32 modem_id = 2;
219  bool has_modem_id() const;
220  private:
221  bool _internal_has_modem_id() const;
222  public:
224  ::PROTOBUF_NAMESPACE_ID::int32 modem_id() const;
225  void set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
226  private:
227  ::PROTOBUF_NAMESPACE_ID::int32 _internal_modem_id() const;
228  void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
229  public:
230 
231  // optional bool changed = 3 [default = false];
232  bool has_changed() const;
233  private:
234  bool _internal_has_changed() const;
235  public:
237  bool changed() const;
238  void set_changed(bool value);
239  private:
240  bool _internal_changed() const;
241  void _internal_set_changed(bool value);
242  public:
243 
244  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.HubInfo)
245  private:
246  class _Internal;
247 
248  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
249  typedef void InternalArenaConstructable_;
250  typedef void DestructorSkippable_;
251  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
252  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253  ::PROTOBUF_NAMESPACE_ID::int32 hub_id_;
254  ::PROTOBUF_NAMESPACE_ID::int32 modem_id_;
255  bool changed_;
256  friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
257 };
258 // -------------------------------------------------------------------
259 
260 class Transmission PROTOBUF_FINAL :
261  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Transmission) */ {
262  public:
263  inline Transmission() : Transmission(nullptr) {};
264  virtual ~Transmission();
265 
266  Transmission(const Transmission& from);
267  Transmission(Transmission&& from) noexcept
268  : Transmission() {
269  *this = ::std::move(from);
270  }
271 
272  inline Transmission& operator=(const Transmission& from) {
273  CopyFrom(from);
274  return *this;
275  }
276  inline Transmission& operator=(Transmission&& from) noexcept {
277  if (GetArena() == from.GetArena()) {
278  if (this != &from) InternalSwap(&from);
279  } else {
280  CopyFrom(from);
281  }
282  return *this;
283  }
284 
285  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
286  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
287  }
288  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
289  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
290  }
291 
292  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
293  return GetDescriptor();
294  }
295  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
296  return GetMetadataStatic().descriptor;
297  }
298  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
299  return GetMetadataStatic().reflection;
300  }
301  static const Transmission& default_instance();
302 
303  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
304  static inline const Transmission* internal_default_instance() {
305  return reinterpret_cast<const Transmission*>(
307  }
308  static constexpr int kIndexInFileMessages =
309  1;
310 
311  friend void swap(Transmission& a, Transmission& b) {
312  a.Swap(&b);
313  }
314  inline void Swap(Transmission* other) {
315  if (other == this) return;
316  if (GetArena() == other->GetArena()) {
317  InternalSwap(other);
318  } else {
319  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
320  }
321  }
322  void UnsafeArenaSwap(Transmission* other) {
323  if (other == this) return;
324  GOOGLE_DCHECK(GetArena() == other->GetArena());
325  InternalSwap(other);
326  }
327 
328  // implements Message ----------------------------------------------
329 
330  inline Transmission* New() const final {
331  return CreateMaybeMessage<Transmission>(nullptr);
332  }
333 
334  Transmission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
335  return CreateMaybeMessage<Transmission>(arena);
336  }
337  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
338  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
339  void CopyFrom(const Transmission& from);
340  void MergeFrom(const Transmission& from);
341  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
342  bool IsInitialized() const final;
343 
344  size_t ByteSizeLong() const final;
345  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
346  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
347  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
348  int GetCachedSize() const final { return _cached_size_.Get(); }
349 
350  private:
351  inline void SharedCtor();
352  inline void SharedDtor();
353  void SetCachedSize(int size) const final;
354  void InternalSwap(Transmission* other);
355  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
356  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
357  return "jaiabot.protobuf.Transmission";
358  }
359  protected:
360  explicit Transmission(::PROTOBUF_NAMESPACE_ID::Arena* arena);
361  private:
362  static void ArenaDtor(void* object);
363  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
364  public:
365 
366  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
367  private:
368  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
369  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto);
371  }
372 
373  public:
374 
375  // nested types ----------------------------------------------------
376 
377  // accessors -------------------------------------------------------
378 
379  enum : int {
380  kHubFieldNumber = 1,
381  };
382  // optional .jaiabot.protobuf.HubInfo hub = 1;
383  bool has_hub() const;
384  private:
385  bool _internal_has_hub() const;
386  public:
387  void clear_hub();
388  const ::jaiabot::protobuf::HubInfo& hub() const;
389  ::jaiabot::protobuf::HubInfo* release_hub();
390  ::jaiabot::protobuf::HubInfo* mutable_hub();
391  void set_allocated_hub(::jaiabot::protobuf::HubInfo* hub);
392  private:
393  const ::jaiabot::protobuf::HubInfo& _internal_hub() const;
394  ::jaiabot::protobuf::HubInfo* _internal_mutable_hub();
395  public:
397  ::jaiabot::protobuf::HubInfo* hub);
398  ::jaiabot::protobuf::HubInfo* unsafe_arena_release_hub();
399 
400  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Transmission)
401  private:
402  class _Internal;
403 
404  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
405  typedef void InternalArenaConstructable_;
406  typedef void DestructorSkippable_;
407  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
408  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
409  ::jaiabot::protobuf::HubInfo* hub_;
410  friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
411 };
412 // ===================================================================
413 
414 static const int kTransmissionFieldNumber = 1500;
415 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
416  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::Transmission >, 11, false >
418 
419 // ===================================================================
420 
421 #ifdef __GNUC__
422  #pragma GCC diagnostic push
423  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
424 #endif // __GNUC__
425 // HubInfo
426 
427 // optional int32 hub_id = 1;
428 inline bool HubInfo::_internal_has_hub_id() const {
429  bool value = (_has_bits_[0] & 0x00000001u) != 0;
430  return value;
431 }
432 inline bool HubInfo::has_hub_id() const {
433  return _internal_has_hub_id();
434 }
435 inline void HubInfo::clear_hub_id() {
436  hub_id_ = 0;
437  _has_bits_[0] &= ~0x00000001u;
438 }
439 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::_internal_hub_id() const {
440  return hub_id_;
441 }
442 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::hub_id() const {
443  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubInfo.hub_id)
444  return _internal_hub_id();
445 }
446 inline void HubInfo::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
447  _has_bits_[0] |= 0x00000001u;
448  hub_id_ = value;
449 }
450 inline void HubInfo::set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
451  _internal_set_hub_id(value);
452  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubInfo.hub_id)
453 }
454 
455 // optional int32 modem_id = 2;
456 inline bool HubInfo::_internal_has_modem_id() const {
457  bool value = (_has_bits_[0] & 0x00000002u) != 0;
458  return value;
459 }
460 inline bool HubInfo::has_modem_id() const {
461  return _internal_has_modem_id();
462 }
463 inline void HubInfo::clear_modem_id() {
464  modem_id_ = 0;
465  _has_bits_[0] &= ~0x00000002u;
466 }
467 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::_internal_modem_id() const {
468  return modem_id_;
469 }
470 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::modem_id() const {
471  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubInfo.modem_id)
472  return _internal_modem_id();
473 }
474 inline void HubInfo::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
475  _has_bits_[0] |= 0x00000002u;
476  modem_id_ = value;
477 }
478 inline void HubInfo::set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
479  _internal_set_modem_id(value);
480  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubInfo.modem_id)
481 }
482 
483 // optional bool changed = 3 [default = false];
484 inline bool HubInfo::_internal_has_changed() const {
485  bool value = (_has_bits_[0] & 0x00000004u) != 0;
486  return value;
487 }
488 inline bool HubInfo::has_changed() const {
489  return _internal_has_changed();
490 }
491 inline void HubInfo::clear_changed() {
492  changed_ = false;
493  _has_bits_[0] &= ~0x00000004u;
494 }
495 inline bool HubInfo::_internal_changed() const {
496  return changed_;
497 }
498 inline bool HubInfo::changed() const {
499  // @@protoc_insertion_point(field_get:jaiabot.protobuf.HubInfo.changed)
500  return _internal_changed();
501 }
502 inline void HubInfo::_internal_set_changed(bool value) {
503  _has_bits_[0] |= 0x00000004u;
504  changed_ = value;
505 }
506 inline void HubInfo::set_changed(bool value) {
507  _internal_set_changed(value);
508  // @@protoc_insertion_point(field_set:jaiabot.protobuf.HubInfo.changed)
509 }
510 
511 // -------------------------------------------------------------------
512 
513 // Transmission
514 
515 // optional .jaiabot.protobuf.HubInfo hub = 1;
516 inline bool Transmission::_internal_has_hub() const {
517  bool value = (_has_bits_[0] & 0x00000001u) != 0;
518  PROTOBUF_ASSUME(!value || hub_ != nullptr);
519  return value;
520 }
521 inline bool Transmission::has_hub() const {
522  return _internal_has_hub();
523 }
524 inline void Transmission::clear_hub() {
525  if (hub_ != nullptr) hub_->Clear();
526  _has_bits_[0] &= ~0x00000001u;
527 }
528 inline const ::jaiabot::protobuf::HubInfo& Transmission::_internal_hub() const {
529  const ::jaiabot::protobuf::HubInfo* p = hub_;
530  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::HubInfo*>(
532 }
533 inline const ::jaiabot::protobuf::HubInfo& Transmission::hub() const {
534  // @@protoc_insertion_point(field_get:jaiabot.protobuf.Transmission.hub)
535  return _internal_hub();
536 }
537 inline void Transmission::unsafe_arena_set_allocated_hub(
538  ::jaiabot::protobuf::HubInfo* hub) {
539  if (GetArena() == nullptr) {
540  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_);
541  }
542  hub_ = hub;
543  if (hub) {
544  _has_bits_[0] |= 0x00000001u;
545  } else {
546  _has_bits_[0] &= ~0x00000001u;
547  }
548  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Transmission.hub)
549 }
550 inline ::jaiabot::protobuf::HubInfo* Transmission::release_hub() {
551  auto temp = unsafe_arena_release_hub();
552  if (GetArena() != nullptr) {
553  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
554  }
555  return temp;
556 }
557 inline ::jaiabot::protobuf::HubInfo* Transmission::unsafe_arena_release_hub() {
558  // @@protoc_insertion_point(field_release:jaiabot.protobuf.Transmission.hub)
559  _has_bits_[0] &= ~0x00000001u;
560  ::jaiabot::protobuf::HubInfo* temp = hub_;
561  hub_ = nullptr;
562  return temp;
563 }
564 inline ::jaiabot::protobuf::HubInfo* Transmission::_internal_mutable_hub() {
565  _has_bits_[0] |= 0x00000001u;
566  if (hub_ == nullptr) {
567  auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(GetArena());
568  hub_ = p;
569  }
570  return hub_;
571 }
572 inline ::jaiabot::protobuf::HubInfo* Transmission::mutable_hub() {
573  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Transmission.hub)
574  return _internal_mutable_hub();
575 }
576 inline void Transmission::set_allocated_hub(::jaiabot::protobuf::HubInfo* hub) {
577  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
578  if (message_arena == nullptr) {
579  delete hub_;
580  }
581  if (hub) {
582  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
583  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(hub);
584  if (message_arena != submessage_arena) {
585  hub = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
586  message_arena, hub, submessage_arena);
587  }
588  _has_bits_[0] |= 0x00000001u;
589  } else {
590  _has_bits_[0] &= ~0x00000001u;
591  }
592  hub_ = hub;
593  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Transmission.hub)
594 }
595 
596 #ifdef __GNUC__
597  #pragma GCC diagnostic pop
598 #endif // __GNUC__
599 // -------------------------------------------------------------------
600 
601 
602 // @@protoc_insertion_point(namespace_scope)
603 
604 } // namespace protobuf
605 } // namespace jaiabot
606 
607 // @@protoc_insertion_point(global_scope)
608 
609 #include <google/protobuf/port_undef.inc>
610 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
::PROTOBUF_NAMESPACE_ID::int32 hub_id() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::int32 modem_id() const
Transmission(const Transmission &from)
static const Transmission * internal_default_instance()
static const HubInfo & default_instance()
void set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const HubInfo &from)
friend void swap(HubInfo &a, HubInfo &b)
void set_allocated_hub(::jaiabot::protobuf::HubInfo *hub)
HubInfo(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const HubInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Transmission &from)
void set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::jaiabot::protobuf::HubInfo & hub() const
Transmission & operator=(const Transmission &from)
void unsafe_arena_set_allocated_hub(::jaiabot::protobuf::HubInfo *hub)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
HubInfo * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const HubInfo * internal_default_instance()
HubInfo & operator=(HubInfo &&from) noexcept
static const Transmission & default_instance()
void CopyFrom(const Transmission &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
HubInfo & operator=(const HubInfo &from)
::jaiabot::protobuf::HubInfo * mutable_hub()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Transmission & operator=(Transmission &&from) noexcept
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Transmission(Transmission &&from) noexcept
::jaiabot::protobuf::HubInfo * unsafe_arena_release_hub()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(Transmission &a, Transmission &b)
HubInfo(const HubInfo &from)
::jaiabot::protobuf::HubInfo * release_hub()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
HubInfoDefaultTypeInternal _HubInfo_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::Transmission >, 11, false > transmission
TransmissionDefaultTypeInternal _Transmission_default_instance_
static const int kTransmissionFieldNumber
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)