Goby3  3.1.5
2024.05.14
test.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/acomms/queue5/test.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_2ftest_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/unknown_field_set.h>
35 #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_2ftest_2facomms_2fqueue5_2ftest_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[1]
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[];
60 };
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto;
62 namespace goby {
63 namespace test {
64 namespace acomms {
65 namespace protobuf {
66 class GobyMessage;
67 class GobyMessageDefaultTypeInternal;
68 extern GobyMessageDefaultTypeInternal _GobyMessage_default_instance_;
69 } // namespace protobuf
70 } // namespace acomms
71 } // namespace test
72 } // namespace goby
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::goby::test::acomms::protobuf::GobyMessage* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::GobyMessage>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace goby {
77 namespace test {
78 namespace acomms {
79 namespace protobuf {
80 
81 // ===================================================================
82 
83 class GobyMessage PROTOBUF_FINAL :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.GobyMessage) */ {
85  public:
86  inline GobyMessage() : GobyMessage(nullptr) {};
87  virtual ~GobyMessage();
88 
89  GobyMessage(const GobyMessage& from);
90  GobyMessage(GobyMessage&& from) noexcept
91  : GobyMessage() {
92  *this = ::std::move(from);
93  }
94 
95  inline GobyMessage& operator=(const GobyMessage& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline GobyMessage& operator=(GobyMessage&& from) noexcept {
100  if (GetArena() == from.GetArena()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107 
108  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
109  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110  }
111  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
112  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113  }
114 
115  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
116  return GetDescriptor();
117  }
118  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
119  return GetMetadataStatic().descriptor;
120  }
121  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
122  return GetMetadataStatic().reflection;
123  }
124  static const GobyMessage& default_instance();
125 
126  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
127  static inline const GobyMessage* internal_default_instance() {
128  return reinterpret_cast<const GobyMessage*>(
130  }
131  static constexpr int kIndexInFileMessages =
132  0;
133 
134  friend void swap(GobyMessage& a, GobyMessage& b) {
135  a.Swap(&b);
136  }
137  inline void Swap(GobyMessage* other) {
138  if (other == this) return;
139  if (GetArena() == other->GetArena()) {
140  InternalSwap(other);
141  } else {
142  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143  }
144  }
145  void UnsafeArenaSwap(GobyMessage* other) {
146  if (other == this) return;
147  GOOGLE_DCHECK(GetArena() == other->GetArena());
148  InternalSwap(other);
149  }
150 
151  // implements Message ----------------------------------------------
152 
153  inline GobyMessage* New() const final {
154  return CreateMaybeMessage<GobyMessage>(nullptr);
155  }
156 
157  GobyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
158  return CreateMaybeMessage<GobyMessage>(arena);
159  }
160  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
161  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
162  void CopyFrom(const GobyMessage& from);
163  void MergeFrom(const GobyMessage& from);
164  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
165  bool IsInitialized() const final;
166 
167  size_t ByteSizeLong() const final;
168  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
169  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
170  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
171  int GetCachedSize() const final { return _cached_size_.Get(); }
172 
173  private:
174  inline void SharedCtor();
175  inline void SharedDtor();
176  void SetCachedSize(int size) const final;
177  void InternalSwap(GobyMessage* other);
178  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180  return "goby.test.acomms.protobuf.GobyMessage";
181  }
182  protected:
183  explicit GobyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184  private:
185  static void ArenaDtor(void* object);
186  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187  public:
188 
189  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
190  private:
191  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
192  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto);
193  return ::descriptor_table_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto.file_level_metadata[kIndexInFileMessages];
194  }
195 
196  public:
197 
198  // nested types ----------------------------------------------------
199 
200  // accessors -------------------------------------------------------
201 
202  enum : int {
203  kTelegramFieldNumber = 1,
204  };
205  // required int32 telegram = 1 [(.dccl.field) = {
206  bool has_telegram() const;
207  private:
208  bool _internal_has_telegram() const;
209  public:
213  private:
214  ::PROTOBUF_NAMESPACE_ID::int32 _internal_telegram() const;
215  void _internal_set_telegram(::PROTOBUF_NAMESPACE_ID::int32 value);
216  public:
217 
218  enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 32 };
219  // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.GobyMessage)
220  private:
221  class _Internal;
222 
223  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
224  typedef void InternalArenaConstructable_;
225  typedef void DestructorSkippable_;
226  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
227  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
229  friend struct ::TableStruct_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto;
230 };
231 // ===================================================================
232 
233 
234 // ===================================================================
235 
236 #ifdef __GNUC__
237  #pragma GCC diagnostic push
238  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
239 #endif // __GNUC__
240 // GobyMessage
241 
242 // required int32 telegram = 1 [(.dccl.field) = {
243 inline bool GobyMessage::_internal_has_telegram() const {
244  bool value = (_has_bits_[0] & 0x00000001u) != 0;
245  return value;
246 }
247 inline bool GobyMessage::has_telegram() const {
248  return _internal_has_telegram();
249 }
250 inline void GobyMessage::clear_telegram() {
251  telegram_ = 0;
252  _has_bits_[0] &= ~0x00000001u;
253 }
254 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyMessage::_internal_telegram() const {
255  return telegram_;
256 }
257 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyMessage::telegram() const {
258  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.telegram)
259  return _internal_telegram();
260 }
261 inline void GobyMessage::_internal_set_telegram(::PROTOBUF_NAMESPACE_ID::int32 value) {
262  _has_bits_[0] |= 0x00000001u;
263  telegram_ = value;
264 }
265 inline void GobyMessage::set_telegram(::PROTOBUF_NAMESPACE_ID::int32 value) {
266  _internal_set_telegram(value);
267  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.telegram)
268 }
269 
270 #ifdef __GNUC__
271  #pragma GCC diagnostic pop
272 #endif // __GNUC__
273 
274 // @@protoc_insertion_point(namespace_scope)
275 
276 } // namespace protobuf
277 } // namespace acomms
278 } // namespace test
279 } // namespace goby
280 
281 // @@protoc_insertion_point(global_scope)
282 
283 #include <google/protobuf/port_undef.inc>
284 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto
GobyMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:157
void MergeFrom(const GobyMessage &from)
void set_telegram(::PROTOBUF_NAMESPACE_ID::int32 value)
static const GobyMessage * internal_default_instance()
Definition: test.pb.h:127
static const GobyMessage & default_instance()
void UnsafeArenaSwap(GobyMessage *other)
Definition: test.pb.h:145
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
GobyMessage(GobyMessage &&from) noexcept
Definition: test.pb.h:90
friend void swap(GobyMessage &a, GobyMessage &b)
Definition: test.pb.h:134
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::int32 telegram() const
GobyMessage & operator=(const GobyMessage &from)
Definition: test.pb.h:95
GobyMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: test.pb.h:121
GobyMessage & operator=(GobyMessage &&from) noexcept
Definition: test.pb.h:99
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:108
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:111
void CopyFrom(const GobyMessage &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: test.pb.h:115
GobyMessage * New() const final
Definition: test.pb.h:153
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: test.pb.h:118
@ value
the parser finished reading a JSON value
GobyMessageDefaultTypeInternal _GobyMessage_default_instance_
Definition: test.pb.h:67
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: test.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: test.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)