Goby3  3.1.5
2024.05.14
intermodule.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/middleware/protobuf/intermodule.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_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>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto;
65 namespace goby {
66 namespace middleware {
67 namespace intermodule {
68 namespace protobuf {
69 class Subscription;
70 class SubscriptionDefaultTypeInternal;
71 extern SubscriptionDefaultTypeInternal _Subscription_default_instance_;
72 } // namespace protobuf
73 } // namespace intermodule
74 } // namespace middleware
75 } // namespace goby
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::goby::middleware::intermodule::protobuf::Subscription* Arena::CreateMaybeMessage<::goby::middleware::intermodule::protobuf::Subscription>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace goby {
80 namespace middleware {
81 namespace intermodule {
82 namespace protobuf {
83 
84 enum Subscription_Action : int {
88 };
93 
94 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Subscription_Action_descriptor();
95 template<typename T>
96 inline const std::string& Subscription_Action_Name(T enum_t_value) {
97  static_assert(::std::is_same<T, Subscription_Action>::value ||
98  ::std::is_integral<T>::value,
99  "Incorrect type passed to function Subscription_Action_Name.");
100  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
101  Subscription_Action_descriptor(), enum_t_value);
102 }
104  const std::string& name, Subscription_Action* value) {
105  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Subscription_Action>(
106  Subscription_Action_descriptor(), name, value);
107 }
108 // ===================================================================
109 
110 class Subscription PROTOBUF_FINAL :
111  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.intermodule.protobuf.Subscription) */ {
112  public:
113  inline Subscription() : Subscription(nullptr) {};
114  virtual ~Subscription();
115 
116  Subscription(const Subscription& from);
117  Subscription(Subscription&& from) noexcept
118  : Subscription() {
119  *this = ::std::move(from);
120  }
121 
122  inline Subscription& operator=(const Subscription& from) {
123  CopyFrom(from);
124  return *this;
125  }
126  inline Subscription& operator=(Subscription&& from) noexcept {
127  if (GetArena() == from.GetArena()) {
128  if (this != &from) InternalSwap(&from);
129  } else {
130  CopyFrom(from);
131  }
132  return *this;
133  }
134 
135  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
136  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
137  }
138  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
139  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
140  }
141 
142  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
143  return GetDescriptor();
144  }
145  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
146  return GetMetadataStatic().descriptor;
147  }
148  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
149  return GetMetadataStatic().reflection;
150  }
151  static const Subscription& default_instance();
152 
153  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
154  static inline const Subscription* internal_default_instance() {
155  return reinterpret_cast<const Subscription*>(
157  }
158  static constexpr int kIndexInFileMessages =
159  0;
160 
161  friend void swap(Subscription& a, Subscription& b) {
162  a.Swap(&b);
163  }
164  inline void Swap(Subscription* other) {
165  if (other == this) return;
166  if (GetArena() == other->GetArena()) {
167  InternalSwap(other);
168  } else {
169  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
170  }
171  }
172  void UnsafeArenaSwap(Subscription* other) {
173  if (other == this) return;
174  GOOGLE_DCHECK(GetArena() == other->GetArena());
175  InternalSwap(other);
176  }
177 
178  // implements Message ----------------------------------------------
179 
180  inline Subscription* New() const final {
181  return CreateMaybeMessage<Subscription>(nullptr);
182  }
183 
184  Subscription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
185  return CreateMaybeMessage<Subscription>(arena);
186  }
187  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
188  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
189  void CopyFrom(const Subscription& from);
190  void MergeFrom(const Subscription& from);
191  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
192  bool IsInitialized() const final;
193 
194  size_t ByteSizeLong() const final;
195  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
196  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
197  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
198  int GetCachedSize() const final { return _cached_size_.Get(); }
199 
200  private:
201  inline void SharedCtor();
202  inline void SharedDtor();
203  void SetCachedSize(int size) const final;
204  void InternalSwap(Subscription* other);
205  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207  return "goby.middleware.intermodule.protobuf.Subscription";
208  }
209  protected:
210  explicit Subscription(::PROTOBUF_NAMESPACE_ID::Arena* arena);
211  private:
212  static void ArenaDtor(void* object);
213  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
214  public:
215 
216  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
217  private:
218  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
219  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto);
221  }
222 
223  public:
224 
225  // nested types ----------------------------------------------------
226 
228  static constexpr Action SUBSCRIBE =
230  static constexpr Action UNSUBSCRIBE =
232  static constexpr Action UNSUBSCRIBE_ALL =
234  static inline bool Action_IsValid(int value) {
235  return Subscription_Action_IsValid(value);
236  }
237  static constexpr Action Action_MIN =
239  static constexpr Action Action_MAX =
241  static constexpr int Action_ARRAYSIZE =
243  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
246  }
247  template<typename T>
248  static inline const std::string& Action_Name(T enum_t_value) {
249  static_assert(::std::is_same<T, Action>::value ||
250  ::std::is_integral<T>::value,
251  "Incorrect type passed to function Action_Name.");
252  return Subscription_Action_Name(enum_t_value);
253  }
254  static inline bool Action_Parse(const std::string& name,
255  Action* value) {
256  return Subscription_Action_Parse(name, value);
257  }
258 
259  // accessors -------------------------------------------------------
260 
261  enum : int {
262  kIdFieldNumber = 1,
263  kKeyFieldNumber = 2,
264  kActionFieldNumber = 5,
265  };
266  // required string id = 1;
267  bool has_id() const;
268  private:
269  bool _internal_has_id() const;
270  public:
271  void clear_id();
272  const std::string& id() const;
273  void set_id(const std::string& value);
274  void set_id(std::string&& value);
275  void set_id(const char* value);
276  void set_id(const char* value, size_t size);
277  std::string* mutable_id();
278  std::string* release_id();
279  void set_allocated_id(std::string* id);
280  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
281  " string fields are deprecated and will be removed in a"
282  " future release.")
283  std::string* unsafe_arena_release_id();
284  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
285  " string fields are deprecated and will be removed in a"
286  " future release.")
287  void unsafe_arena_set_allocated_id(
288  std::string* id);
289  private:
290  const std::string& _internal_id() const;
291  void _internal_set_id(const std::string& value);
292  std::string* _internal_mutable_id();
293  public:
294 
295  // optional .goby.middleware.protobuf.SerializerTransporterKey key = 2;
296  bool has_key() const;
297  private:
298  bool _internal_has_key() const;
299  public:
300  void clear_key();
301  const ::goby::middleware::protobuf::SerializerTransporterKey& key() const;
302  ::goby::middleware::protobuf::SerializerTransporterKey* release_key();
303  ::goby::middleware::protobuf::SerializerTransporterKey* mutable_key();
304  void set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey* key);
305  private:
306  const ::goby::middleware::protobuf::SerializerTransporterKey& _internal_key() const;
307  ::goby::middleware::protobuf::SerializerTransporterKey* _internal_mutable_key();
308  public:
309  void unsafe_arena_set_allocated_key(
310  ::goby::middleware::protobuf::SerializerTransporterKey* key);
311  ::goby::middleware::protobuf::SerializerTransporterKey* unsafe_arena_release_key();
312 
313  // required .goby.middleware.intermodule.protobuf.Subscription.Action action = 5;
314  bool has_action() const;
315  private:
316  bool _internal_has_action() const;
317  public:
318  void clear_action();
319  ::goby::middleware::intermodule::protobuf::Subscription_Action action() const;
320  void set_action(::goby::middleware::intermodule::protobuf::Subscription_Action value);
321  private:
322  ::goby::middleware::intermodule::protobuf::Subscription_Action _internal_action() const;
323  void _internal_set_action(::goby::middleware::intermodule::protobuf::Subscription_Action value);
324  public:
325 
326  // @@protoc_insertion_point(class_scope:goby.middleware.intermodule.protobuf.Subscription)
327  private:
328  class _Internal;
329 
330  // helper for ByteSizeLong()
331  size_t RequiredFieldsByteSizeFallback() const;
332 
333  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
334  typedef void InternalArenaConstructable_;
335  typedef void DestructorSkippable_;
336  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
337  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
338  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
339  ::goby::middleware::protobuf::SerializerTransporterKey* key_;
340  int action_;
342 };
343 // ===================================================================
344 
345 
346 // ===================================================================
347 
348 #ifdef __GNUC__
349  #pragma GCC diagnostic push
350  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
351 #endif // __GNUC__
352 // Subscription
353 
354 // required string id = 1;
355 inline bool Subscription::_internal_has_id() const {
356  bool value = (_has_bits_[0] & 0x00000001u) != 0;
357  return value;
358 }
359 inline bool Subscription::has_id() const {
360  return _internal_has_id();
361 }
362 inline void Subscription::clear_id() {
363  id_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
364  _has_bits_[0] &= ~0x00000001u;
365 }
366 inline const std::string& Subscription::id() const {
367  // @@protoc_insertion_point(field_get:goby.middleware.intermodule.protobuf.Subscription.id)
368  return _internal_id();
369 }
370 inline void Subscription::set_id(const std::string& value) {
371  _internal_set_id(value);
372  // @@protoc_insertion_point(field_set:goby.middleware.intermodule.protobuf.Subscription.id)
373 }
374 inline std::string* Subscription::mutable_id() {
375  // @@protoc_insertion_point(field_mutable:goby.middleware.intermodule.protobuf.Subscription.id)
376  return _internal_mutable_id();
377 }
378 inline const std::string& Subscription::_internal_id() const {
379  return id_.Get();
380 }
381 inline void Subscription::_internal_set_id(const std::string& value) {
382  _has_bits_[0] |= 0x00000001u;
383  id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
384 }
385 inline void Subscription::set_id(std::string&& value) {
386  _has_bits_[0] |= 0x00000001u;
387  id_.Set(
388  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
389  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.intermodule.protobuf.Subscription.id)
390 }
391 inline void Subscription::set_id(const char* value) {
392  GOOGLE_DCHECK(value != nullptr);
393  _has_bits_[0] |= 0x00000001u;
394  id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
395  GetArena());
396  // @@protoc_insertion_point(field_set_char:goby.middleware.intermodule.protobuf.Subscription.id)
397 }
398 inline void Subscription::set_id(const char* value,
399  size_t size) {
400  _has_bits_[0] |= 0x00000001u;
402  reinterpret_cast<const char*>(value), size), GetArena());
403  // @@protoc_insertion_point(field_set_pointer:goby.middleware.intermodule.protobuf.Subscription.id)
404 }
405 inline std::string* Subscription::_internal_mutable_id() {
406  _has_bits_[0] |= 0x00000001u;
407  return id_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
408 }
409 inline std::string* Subscription::release_id() {
410  // @@protoc_insertion_point(field_release:goby.middleware.intermodule.protobuf.Subscription.id)
411  if (!_internal_has_id()) {
412  return nullptr;
413  }
414  _has_bits_[0] &= ~0x00000001u;
415  return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
416 }
417 inline void Subscription::set_allocated_id(std::string* id) {
418  if (id != nullptr) {
419  _has_bits_[0] |= 0x00000001u;
420  } else {
421  _has_bits_[0] &= ~0x00000001u;
422  }
424  GetArena());
425  // @@protoc_insertion_point(field_set_allocated:goby.middleware.intermodule.protobuf.Subscription.id)
426 }
427 inline std::string* Subscription::unsafe_arena_release_id() {
428  // @@protoc_insertion_point(field_unsafe_arena_release:goby.middleware.intermodule.protobuf.Subscription.id)
429  GOOGLE_DCHECK(GetArena() != nullptr);
430  _has_bits_[0] &= ~0x00000001u;
431  return id_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
432  GetArena());
433 }
434 inline void Subscription::unsafe_arena_set_allocated_id(
435  std::string* id) {
436  GOOGLE_DCHECK(GetArena() != nullptr);
437  if (id != nullptr) {
438  _has_bits_[0] |= 0x00000001u;
439  } else {
440  _has_bits_[0] &= ~0x00000001u;
441  }
442  id_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
443  id, GetArena());
444  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.intermodule.protobuf.Subscription.id)
445 }
446 
447 // optional .goby.middleware.protobuf.SerializerTransporterKey key = 2;
448 inline bool Subscription::_internal_has_key() const {
449  bool value = (_has_bits_[0] & 0x00000002u) != 0;
450  PROTOBUF_ASSUME(!value || key_ != nullptr);
451  return value;
452 }
453 inline bool Subscription::has_key() const {
454  return _internal_has_key();
455 }
456 inline const ::goby::middleware::protobuf::SerializerTransporterKey& Subscription::_internal_key() const {
457  const ::goby::middleware::protobuf::SerializerTransporterKey* p = key_;
458  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::SerializerTransporterKey*>(
460 }
461 inline const ::goby::middleware::protobuf::SerializerTransporterKey& Subscription::key() const {
462  // @@protoc_insertion_point(field_get:goby.middleware.intermodule.protobuf.Subscription.key)
463  return _internal_key();
464 }
465 inline void Subscription::unsafe_arena_set_allocated_key(
466  ::goby::middleware::protobuf::SerializerTransporterKey* key) {
467  if (GetArena() == nullptr) {
468  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
469  }
470  key_ = key;
471  if (key) {
472  _has_bits_[0] |= 0x00000002u;
473  } else {
474  _has_bits_[0] &= ~0x00000002u;
475  }
476  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.intermodule.protobuf.Subscription.key)
477 }
478 inline ::goby::middleware::protobuf::SerializerTransporterKey* Subscription::release_key() {
479  auto temp = unsafe_arena_release_key();
480  if (GetArena() != nullptr) {
481  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
482  }
483  return temp;
484 }
485 inline ::goby::middleware::protobuf::SerializerTransporterKey* Subscription::unsafe_arena_release_key() {
486  // @@protoc_insertion_point(field_release:goby.middleware.intermodule.protobuf.Subscription.key)
487  _has_bits_[0] &= ~0x00000002u;
488  ::goby::middleware::protobuf::SerializerTransporterKey* temp = key_;
489  key_ = nullptr;
490  return temp;
491 }
492 inline ::goby::middleware::protobuf::SerializerTransporterKey* Subscription::_internal_mutable_key() {
493  _has_bits_[0] |= 0x00000002u;
494  if (key_ == nullptr) {
495  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey>(GetArena());
496  key_ = p;
497  }
498  return key_;
499 }
500 inline ::goby::middleware::protobuf::SerializerTransporterKey* Subscription::mutable_key() {
501  // @@protoc_insertion_point(field_mutable:goby.middleware.intermodule.protobuf.Subscription.key)
502  return _internal_mutable_key();
503 }
504 inline void Subscription::set_allocated_key(::goby::middleware::protobuf::SerializerTransporterKey* key) {
505  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
506  if (message_arena == nullptr) {
507  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_);
508  }
509  if (key) {
510  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
511  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key)->GetArena();
512  if (message_arena != submessage_arena) {
513  key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
514  message_arena, key, submessage_arena);
515  }
516  _has_bits_[0] |= 0x00000002u;
517  } else {
518  _has_bits_[0] &= ~0x00000002u;
519  }
520  key_ = key;
521  // @@protoc_insertion_point(field_set_allocated:goby.middleware.intermodule.protobuf.Subscription.key)
522 }
523 
524 // required .goby.middleware.intermodule.protobuf.Subscription.Action action = 5;
525 inline bool Subscription::_internal_has_action() const {
526  bool value = (_has_bits_[0] & 0x00000004u) != 0;
527  return value;
528 }
529 inline bool Subscription::has_action() const {
530  return _internal_has_action();
531 }
532 inline void Subscription::clear_action() {
533  action_ = 1;
534  _has_bits_[0] &= ~0x00000004u;
535 }
536 inline ::goby::middleware::intermodule::protobuf::Subscription_Action Subscription::_internal_action() const {
537  return static_cast< ::goby::middleware::intermodule::protobuf::Subscription_Action >(action_);
538 }
540  // @@protoc_insertion_point(field_get:goby.middleware.intermodule.protobuf.Subscription.action)
541  return _internal_action();
542 }
543 inline void Subscription::_internal_set_action(::goby::middleware::intermodule::protobuf::Subscription_Action value) {
545  _has_bits_[0] |= 0x00000004u;
546  action_ = value;
547 }
548 inline void Subscription::set_action(::goby::middleware::intermodule::protobuf::Subscription_Action value) {
549  _internal_set_action(value);
550  // @@protoc_insertion_point(field_set:goby.middleware.intermodule.protobuf.Subscription.action)
551 }
552 
553 #ifdef __GNUC__
554  #pragma GCC diagnostic pop
555 #endif // __GNUC__
556 
557 // @@protoc_insertion_point(namespace_scope)
558 
559 } // namespace protobuf
560 } // namespace intermodule
561 } // namespace middleware
562 } // namespace goby
563 
564 PROTOBUF_NAMESPACE_OPEN
565 
566 template <> struct is_proto_enum< ::goby::middleware::intermodule::protobuf::Subscription_Action> : ::std::true_type {};
567 template <>
568 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::intermodule::protobuf::Subscription_Action>() {
570 }
571 
572 PROTOBUF_NAMESPACE_CLOSE
573 
574 // @@protoc_insertion_point(global_scope)
575 
576 #include <google/protobuf/port_undef.inc>
577 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
Subscription(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Subscription & operator=(const Subscription &from)
Subscription & operator=(Subscription &&from) noexcept
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static bool Action_Parse(const std::string &name, Action *value)
friend void swap(Subscription &a, Subscription &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Subscription * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_id(const char *value, size_t size)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Action_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const std::string & Action_Name(T enum_t_value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
@ value
the parser finished reading a JSON value
@ key
the parser read a key of a value in an object
SubscriptionDefaultTypeInternal _Subscription_default_instance_
constexpr Subscription_Action Subscription_Action_Action_MIN
const std::string & Subscription_Action_Name(T enum_t_value)
constexpr Subscription_Action Subscription_Action_Action_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Subscription_Action_descriptor()
bool Subscription_Action_Parse(const std::string &name, Subscription_Action *value)
SerializerTransporterKeyDefaultTypeInternal _SerializerTransporterKey_default_instance_
The global namespace for the Goby project.
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)