Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
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/queue6/test.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_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/unknown_field_set.h>
33#include "dccl/option_extensions.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto;
52namespace goby {
53namespace test {
54namespace acomms {
55namespace protobuf {
56class GobyMessage;
57struct GobyMessageDefaultTypeInternal;
58extern GobyMessageDefaultTypeInternal _GobyMessage_default_instance_;
59} // namespace protobuf
60} // namespace acomms
61} // namespace test
62} // namespace goby
63PROTOBUF_NAMESPACE_OPEN
64template<> ::goby::test::acomms::protobuf::GobyMessage* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::GobyMessage>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace goby {
67namespace test {
68namespace acomms {
69namespace protobuf {
70
71// ===================================================================
72
73class GobyMessage final :
74 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.GobyMessage) */ {
75 public:
76 inline GobyMessage() : GobyMessage(nullptr) {}
77 ~GobyMessage() override;
78 explicit PROTOBUF_CONSTEXPR GobyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79
81 GobyMessage(GobyMessage&& from) noexcept
82 : GobyMessage() {
83 *this = ::std::move(from);
84 }
85
86 inline GobyMessage& operator=(const GobyMessage& from) {
87 CopyFrom(from);
88 return *this;
89 }
90 inline GobyMessage& operator=(GobyMessage&& from) noexcept {
91 if (this == &from) return *this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() != nullptr
95 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
96 ) {
97 InternalSwap(&from);
98 } else {
99 CopyFrom(from);
100 }
101 return *this;
102 }
103
104 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 }
107 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 }
110
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return default_instance().GetMetadata().descriptor;
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return default_instance().GetMetadata().reflection;
119 }
122 }
123 static inline const GobyMessage* internal_default_instance() {
124 return reinterpret_cast<const GobyMessage*>(
126 }
127 static constexpr int kIndexInFileMessages =
128 0;
129
130 friend void swap(GobyMessage& a, GobyMessage& b) {
131 a.Swap(&b);
132 }
133 inline void Swap(GobyMessage* other) {
134 if (other == this) return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() != nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
138 #else // PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() == other->GetOwningArena()) {
140 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
141 InternalSwap(other);
142 } else {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144 }
145 }
147 if (other == this) return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 GobyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
155 return CreateMaybeMessage<GobyMessage>(arena);
156 }
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 void CopyFrom(const GobyMessage& from);
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 void MergeFrom( const GobyMessage& from) {
161 GobyMessage::MergeImpl(*this, from);
162 }
163 private:
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 public:
166 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167 bool IsInitialized() const final;
168
169 size_t ByteSizeLong() const final;
170 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
174
175 private:
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
177 void SharedDtor();
178 void SetCachedSize(int size) const final;
179 void InternalSwap(GobyMessage* other);
180
181 private:
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.test.acomms.protobuf.GobyMessage";
185 }
186 protected:
187 explicit GobyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned = false);
189 public:
190
191 static const ClassData _class_data_;
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
193
194 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195
196 // nested types ----------------------------------------------------
197
198 // accessors -------------------------------------------------------
199
200 enum : int {
203 };
204 // required int32 dest = 1 [(.dccl.field) = {
205 bool has_dest() const;
206 private:
207 bool _internal_has_dest() const;
208 public:
209 void clear_dest();
210 int32_t dest() const;
211 void set_dest(int32_t value);
212 private:
213 int32_t _internal_dest() const;
214 void _internal_set_dest(int32_t value);
215 public:
216
217 // required int32 telegram = 2 [(.dccl.field) = {
218 bool has_telegram() const;
219 private:
220 bool _internal_has_telegram() const;
221 public:
223 int32_t telegram() const;
224 void set_telegram(int32_t value);
225 private:
226 int32_t _internal_telegram() const;
227 void _internal_set_telegram(int32_t value);
228 public:
229
231 // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.GobyMessage)
232 private:
233 class _Internal;
234
235 // helper for ByteSizeLong()
236 size_t RequiredFieldsByteSizeFallback() const;
237
238 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
239 typedef void InternalArenaConstructable_;
240 typedef void DestructorSkippable_;
241 struct Impl_ {
242 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
243 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
244 int32_t dest_;
245 int32_t telegram_;
246 };
247 union { Impl_ _impl_; };
248 friend struct ::TableStruct_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto;
249};
250// ===================================================================
251
252
253// ===================================================================
254
255#ifdef __GNUC__
256 #pragma GCC diagnostic push
257 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
258#endif // __GNUC__
259// GobyMessage
260
261// required int32 dest = 1 [(.dccl.field) = {
262inline bool GobyMessage::_internal_has_dest() const {
263 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
264 return value;
265}
266inline bool GobyMessage::has_dest() const {
267 return _internal_has_dest();
268}
270 _impl_.dest_ = 0;
271 _impl_._has_bits_[0] &= ~0x00000001u;
272}
273inline int32_t GobyMessage::_internal_dest() const {
274 return _impl_.dest_;
275}
276inline int32_t GobyMessage::dest() const {
277 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.dest)
278 return _internal_dest();
279}
280inline void GobyMessage::_internal_set_dest(int32_t value) {
281 _impl_._has_bits_[0] |= 0x00000001u;
282 _impl_.dest_ = value;
283}
284inline void GobyMessage::set_dest(int32_t value) {
285 _internal_set_dest(value);
286 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.dest)
287}
288
289// required int32 telegram = 2 [(.dccl.field) = {
290inline bool GobyMessage::_internal_has_telegram() const {
291 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
292 return value;
293}
294inline bool GobyMessage::has_telegram() const {
295 return _internal_has_telegram();
296}
297inline void GobyMessage::clear_telegram() {
298 _impl_.telegram_ = 0;
299 _impl_._has_bits_[0] &= ~0x00000002u;
300}
301inline int32_t GobyMessage::_internal_telegram() const {
302 return _impl_.telegram_;
303}
304inline int32_t GobyMessage::telegram() const {
305 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.telegram)
306 return _internal_telegram();
307}
308inline void GobyMessage::_internal_set_telegram(int32_t value) {
309 _impl_._has_bits_[0] |= 0x00000002u;
310 _impl_.telegram_ = value;
311}
312inline void GobyMessage::set_telegram(int32_t value) {
313 _internal_set_telegram(value);
314 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.telegram)
315}
316
317#ifdef __GNUC__
318 #pragma GCC diagnostic pop
319#endif // __GNUC__
320
321// @@protoc_insertion_point(namespace_scope)
322
323} // namespace protobuf
324} // namespace acomms
325} // namespace test
326} // namespace goby
327
328// @@protoc_insertion_point(global_scope)
329
330#include <google/protobuf/port_undef.inc>
331#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:104
GobyMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const GobyMessage * internal_default_instance()
Definition test.pb.h:124
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:111
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:115
static const GobyMessage & default_instance()
Definition test.pb.h:121
GobyMessage(GobyMessage &&from) noexcept
Definition test.pb.h:81
void Swap(GobyMessage *other)
Definition test.pb.h:133
GobyMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:154
friend void swap(GobyMessage &a, GobyMessage &b)
Definition test.pb.h:130
GobyMessage(const GobyMessage &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void UnsafeArenaSwap(GobyMessage *other)
Definition test.pb.h:146
void set_telegram(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:117
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:107
void MergeFrom(const GobyMessage &from)
Definition test.pb.h:160
PROTOBUF_CONSTEXPR GobyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
GobyMessage & operator=(const GobyMessage &from)
Definition test.pb.h:86
GobyMessage & operator=(GobyMessage &&from) noexcept
Definition test.pb.h:90
static constexpr int kIndexInFileMessages
Definition test.pb.h:128
void CopyFrom(const GobyMessage &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
Definition test.pb.h:192
GobyMessageDefaultTypeInternal _GobyMessage_default_instance_
Definition test.pb.h:58
The global namespace for the Goby project.