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/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 < 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_2fqueue5_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_2fqueue5_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 {
202 };
203 // required int32 telegram = 1 [(.dccl.field) = {
204 bool has_telegram() const;
205 private:
206 bool _internal_has_telegram() const;
207 public:
209 int32_t telegram() const;
210 void set_telegram(int32_t value);
211 private:
212 int32_t _internal_telegram() const;
213 void _internal_set_telegram(int32_t value);
214 public:
215
217 // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.GobyMessage)
218 private:
219 class _Internal;
220
221 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
222 typedef void InternalArenaConstructable_;
223 typedef void DestructorSkippable_;
224 struct Impl_ {
225 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
226 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
227 int32_t telegram_;
228 };
229 union { Impl_ _impl_; };
230 friend struct ::TableStruct_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto;
231};
232// ===================================================================
233
234
235// ===================================================================
236
237#ifdef __GNUC__
238 #pragma GCC diagnostic push
239 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
240#endif // __GNUC__
241// GobyMessage
242
243// required int32 telegram = 1 [(.dccl.field) = {
244inline bool GobyMessage::_internal_has_telegram() const {
245 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
246 return value;
247}
248inline bool GobyMessage::has_telegram() const {
249 return _internal_has_telegram();
250}
251inline void GobyMessage::clear_telegram() {
252 _impl_.telegram_ = 0;
253 _impl_._has_bits_[0] &= ~0x00000001u;
254}
255inline int32_t GobyMessage::_internal_telegram() const {
256 return _impl_.telegram_;
257}
258inline int32_t GobyMessage::telegram() const {
259 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.telegram)
260 return _internal_telegram();
261}
262inline void GobyMessage::_internal_set_telegram(int32_t value) {
263 _impl_._has_bits_[0] |= 0x00000001u;
264 _impl_.telegram_ = value;
265}
266inline void GobyMessage::set_telegram(int32_t value) {
267 _internal_set_telegram(value);
268 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.telegram)
269}
270
271#ifdef __GNUC__
272 #pragma GCC diagnostic pop
273#endif // __GNUC__
274
275// @@protoc_insertion_point(namespace_scope)
276
277} // namespace protobuf
278} // namespace acomms
279} // namespace test
280} // namespace goby
281
282// @@protoc_insertion_point(global_scope)
283
284#include <google/protobuf/port_undef.inc>
285#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
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.