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/dccl1/test.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl1_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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
34#include "dccl/option_extensions.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto;
53namespace goby {
54namespace test {
55namespace acomms {
56namespace protobuf {
57class EmbeddedMsg1;
58struct EmbeddedMsg1DefaultTypeInternal;
59extern EmbeddedMsg1DefaultTypeInternal _EmbeddedMsg1_default_instance_;
60class EmbeddedMsg2;
61struct EmbeddedMsg2DefaultTypeInternal;
62extern EmbeddedMsg2DefaultTypeInternal _EmbeddedMsg2_default_instance_;
63class TestMsg;
64struct TestMsgDefaultTypeInternal;
65extern TestMsgDefaultTypeInternal _TestMsg_default_instance_;
66} // namespace protobuf
67} // namespace acomms
68} // namespace test
69} // namespace goby
70PROTOBUF_NAMESPACE_OPEN
71template<> ::goby::test::acomms::protobuf::EmbeddedMsg1* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::EmbeddedMsg1>(Arena*);
72template<> ::goby::test::acomms::protobuf::EmbeddedMsg2* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::EmbeddedMsg2>(Arena*);
73template<> ::goby::test::acomms::protobuf::TestMsg* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::TestMsg>(Arena*);
74PROTOBUF_NAMESPACE_CLOSE
75namespace goby {
76namespace test {
77namespace acomms {
78namespace protobuf {
79
80enum Enum1 : int {
81 ENUM_A = 1,
82 ENUM_B = 2,
83 ENUM_C = 3
84};
85bool Enum1_IsValid(int value);
88constexpr int Enum1_ARRAYSIZE = Enum1_MAX + 1;
89
90const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Enum1_descriptor();
91template<typename T>
92inline const std::string& Enum1_Name(T enum_t_value) {
93 static_assert(::std::is_same<T, Enum1>::value ||
94 ::std::is_integral<T>::value,
95 "Incorrect type passed to function Enum1_Name.");
96 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
97 Enum1_descriptor(), enum_t_value);
98}
99inline bool Enum1_Parse(
100 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Enum1* value) {
101 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Enum1>(
102 Enum1_descriptor(), name, value);
103}
104// ===================================================================
105
106class EmbeddedMsg1 final :
107 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.EmbeddedMsg1) */ {
108 public:
109 inline EmbeddedMsg1() : EmbeddedMsg1(nullptr) {}
110 ~EmbeddedMsg1() override;
111 explicit PROTOBUF_CONSTEXPR EmbeddedMsg1(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
112
114 EmbeddedMsg1(EmbeddedMsg1&& from) noexcept
115 : EmbeddedMsg1() {
116 *this = ::std::move(from);
117 }
118
119 inline EmbeddedMsg1& operator=(const EmbeddedMsg1& from) {
120 CopyFrom(from);
121 return *this;
122 }
123 inline EmbeddedMsg1& operator=(EmbeddedMsg1&& from) noexcept {
124 if (this == &from) return *this;
125 if (GetOwningArena() == from.GetOwningArena()
126 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
127 && GetOwningArena() != nullptr
128 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
129 ) {
130 InternalSwap(&from);
131 } else {
132 CopyFrom(from);
133 }
134 return *this;
135 }
136
137 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
138 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
139 }
140 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
141 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
142 }
143
144 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
145 return GetDescriptor();
146 }
147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
148 return default_instance().GetMetadata().descriptor;
149 }
150 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
151 return default_instance().GetMetadata().reflection;
152 }
155 }
157 return reinterpret_cast<const EmbeddedMsg1*>(
159 }
160 static constexpr int kIndexInFileMessages =
161 0;
162
163 friend void swap(EmbeddedMsg1& a, EmbeddedMsg1& b) {
164 a.Swap(&b);
165 }
166 inline void Swap(EmbeddedMsg1* other) {
167 if (other == this) return;
168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
169 if (GetOwningArena() != nullptr &&
170 GetOwningArena() == other->GetOwningArena()) {
171 #else // PROTOBUF_FORCE_COPY_IN_SWAP
172 if (GetOwningArena() == other->GetOwningArena()) {
173 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
174 InternalSwap(other);
175 } else {
176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
177 }
178 }
180 if (other == this) return;
181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
182 InternalSwap(other);
183 }
184
185 // implements Message ----------------------------------------------
186
187 EmbeddedMsg1* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
188 return CreateMaybeMessage<EmbeddedMsg1>(arena);
189 }
190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
191 void CopyFrom(const EmbeddedMsg1& from);
192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
193 void MergeFrom( const EmbeddedMsg1& from) {
194 EmbeddedMsg1::MergeImpl(*this, from);
195 }
196 private:
197 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
198 public:
199 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
200 bool IsInitialized() const final;
201
202 size_t ByteSizeLong() const final;
203 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
205 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
206 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
207
208 private:
209 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
210 void SharedDtor();
211 void SetCachedSize(int size) const final;
212 void InternalSwap(EmbeddedMsg1* other);
213
214 private:
215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
217 return "goby.test.acomms.protobuf.EmbeddedMsg1";
218 }
219 protected:
220 explicit EmbeddedMsg1(::PROTOBUF_NAMESPACE_ID::Arena* arena,
221 bool is_message_owned = false);
222 public:
223
224 static const ClassData _class_data_;
225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
226
227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228
229 // nested types ----------------------------------------------------
230
231 // accessors -------------------------------------------------------
232
233 enum : int {
236 };
237 // optional .goby.test.acomms.protobuf.EmbeddedMsg2 msg = 2;
238 bool has_msg() const;
239 private:
240 bool _internal_has_msg() const;
241 public:
242 void clear_msg();
243 const ::goby::test::acomms::protobuf::EmbeddedMsg2& msg() const;
244 PROTOBUF_NODISCARD ::goby::test::acomms::protobuf::EmbeddedMsg2* release_msg();
247 private:
248 const ::goby::test::acomms::protobuf::EmbeddedMsg2& _internal_msg() const;
249 ::goby::test::acomms::protobuf::EmbeddedMsg2* _internal_mutable_msg();
250 public:
254
255 // optional double val = 1 [(.dccl.field) = {
256 bool has_val() const;
257 private:
258 bool _internal_has_val() const;
259 public:
260 void clear_val();
261 double val() const;
262 void set_val(double value);
263 private:
264 double _internal_val() const;
265 void _internal_set_val(double value);
266 public:
267
268 // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.EmbeddedMsg1)
269 private:
270 class _Internal;
271
272 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
273 typedef void InternalArenaConstructable_;
274 typedef void DestructorSkippable_;
275 struct Impl_ {
276 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
277 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
279 double val_;
280 };
281 union { Impl_ _impl_; };
282 friend struct ::TableStruct_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto;
283};
284// -------------------------------------------------------------------
285
286class EmbeddedMsg2 final :
287 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.EmbeddedMsg2) */ {
288 public:
289 inline EmbeddedMsg2() : EmbeddedMsg2(nullptr) {}
290 ~EmbeddedMsg2() override;
291 explicit PROTOBUF_CONSTEXPR EmbeddedMsg2(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
292
294 EmbeddedMsg2(EmbeddedMsg2&& from) noexcept
295 : EmbeddedMsg2() {
296 *this = ::std::move(from);
297 }
298
299 inline EmbeddedMsg2& operator=(const EmbeddedMsg2& from) {
300 CopyFrom(from);
301 return *this;
302 }
303 inline EmbeddedMsg2& operator=(EmbeddedMsg2&& from) noexcept {
304 if (this == &from) return *this;
305 if (GetOwningArena() == from.GetOwningArena()
306 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
307 && GetOwningArena() != nullptr
308 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
309 ) {
310 InternalSwap(&from);
311 } else {
312 CopyFrom(from);
313 }
314 return *this;
315 }
316
317 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
318 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
319 }
320 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
321 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
322 }
323
324 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
325 return GetDescriptor();
326 }
327 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
328 return default_instance().GetMetadata().descriptor;
329 }
330 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
331 return default_instance().GetMetadata().reflection;
332 }
334 return *internal_default_instance();
335 }
337 return reinterpret_cast<const EmbeddedMsg2*>(
339 }
340 static constexpr int kIndexInFileMessages =
341 1;
342
343 friend void swap(EmbeddedMsg2& a, EmbeddedMsg2& b) {
344 a.Swap(&b);
345 }
346 inline void Swap(EmbeddedMsg2* other) {
347 if (other == this) return;
348 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
349 if (GetOwningArena() != nullptr &&
350 GetOwningArena() == other->GetOwningArena()) {
351 #else // PROTOBUF_FORCE_COPY_IN_SWAP
352 if (GetOwningArena() == other->GetOwningArena()) {
353 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
354 InternalSwap(other);
355 } else {
356 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
357 }
358 }
360 if (other == this) return;
361 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
362 InternalSwap(other);
363 }
364
365 // implements Message ----------------------------------------------
366
367 EmbeddedMsg2* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
368 return CreateMaybeMessage<EmbeddedMsg2>(arena);
369 }
370 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
371 void CopyFrom(const EmbeddedMsg2& from);
372 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
373 void MergeFrom( const EmbeddedMsg2& from) {
374 EmbeddedMsg2::MergeImpl(*this, from);
375 }
376 private:
377 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
378 public:
379 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
380 bool IsInitialized() const final;
381
382 size_t ByteSizeLong() const final;
383 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
384 uint8_t* _InternalSerialize(
385 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
386 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
387
388 private:
389 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
390 void SharedDtor();
391 void SetCachedSize(int size) const final;
392 void InternalSwap(EmbeddedMsg2* other);
393
394 private:
395 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
396 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
397 return "goby.test.acomms.protobuf.EmbeddedMsg2";
398 }
399 protected:
400 explicit EmbeddedMsg2(::PROTOBUF_NAMESPACE_ID::Arena* arena,
401 bool is_message_owned = false);
402 public:
403
404 static const ClassData _class_data_;
405 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
406
407 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
408
409 // nested types ----------------------------------------------------
410
411 // accessors -------------------------------------------------------
412
413 enum : int {
414 kSvalFieldNumber = 2,
415 kValFieldNumber = 1,
416 kEnumDefaultFieldNumber = 3,
417 };
418 // optional string sval = 2 [(.dccl.field) = {
419 bool has_sval() const;
420 private:
421 bool _internal_has_sval() const;
422 public:
423 void clear_sval();
424 const std::string& sval() const;
425 template <typename ArgT0 = const std::string&, typename... ArgT>
426 void set_sval(ArgT0&& arg0, ArgT... args);
427 std::string* mutable_sval();
428 PROTOBUF_NODISCARD std::string* release_sval();
429 void set_allocated_sval(std::string* sval);
430 private:
431 const std::string& _internal_sval() const;
432 inline PROTOBUF_ALWAYS_INLINE void _internal_set_sval(const std::string& value);
433 std::string* _internal_mutable_sval();
434 public:
435
436 // optional double val = 1 [(.dccl.field) = {
437 bool has_val() const;
438 private:
439 bool _internal_has_val() const;
440 public:
441 void clear_val();
442 double val() const;
443 void set_val(double value);
444 private:
445 double _internal_val() const;
446 void _internal_set_val(double value);
447 public:
448
449 // optional .goby.test.acomms.protobuf.Enum1 enum_default = 3;
450 bool has_enum_default() const;
451 private:
452 bool _internal_has_enum_default() const;
453 public:
454 void clear_enum_default();
455 ::goby::test::acomms::protobuf::Enum1 enum_default() const;
456 void set_enum_default(::goby::test::acomms::protobuf::Enum1 value);
457 private:
458 ::goby::test::acomms::protobuf::Enum1 _internal_enum_default() const;
459 void _internal_set_enum_default(::goby::test::acomms::protobuf::Enum1 value);
460 public:
461
462 // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.EmbeddedMsg2)
463 private:
464 class _Internal;
465
466 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
467 typedef void InternalArenaConstructable_;
468 typedef void DestructorSkippable_;
469 struct Impl_ {
470 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
471 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
472 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sval_;
473 double val_;
474 int enum_default_;
475 };
476 union { Impl_ _impl_; };
477 friend struct ::TableStruct_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto;
478};
479// -------------------------------------------------------------------
480
481class TestMsg final :
482 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.TestMsg) */ {
483 public:
484 inline TestMsg() : TestMsg(nullptr) {}
485 ~TestMsg() override;
486 explicit PROTOBUF_CONSTEXPR TestMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
487
488 TestMsg(const TestMsg& from);
489 TestMsg(TestMsg&& from) noexcept
490 : TestMsg() {
491 *this = ::std::move(from);
492 }
493
494 inline TestMsg& operator=(const TestMsg& from) {
495 CopyFrom(from);
496 return *this;
497 }
498 inline TestMsg& operator=(TestMsg&& from) noexcept {
499 if (this == &from) return *this;
500 if (GetOwningArena() == from.GetOwningArena()
501 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
502 && GetOwningArena() != nullptr
503 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
504 ) {
505 InternalSwap(&from);
506 } else {
507 CopyFrom(from);
508 }
509 return *this;
510 }
511
512 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
513 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
514 }
515 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
516 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
517 }
518
519 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
520 return GetDescriptor();
521 }
522 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
523 return default_instance().GetMetadata().descriptor;
524 }
525 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
526 return default_instance().GetMetadata().reflection;
527 }
528 static const TestMsg& default_instance() {
529 return *internal_default_instance();
530 }
531 static inline const TestMsg* internal_default_instance() {
532 return reinterpret_cast<const TestMsg*>(
534 }
535 static constexpr int kIndexInFileMessages =
536 2;
537
538 friend void swap(TestMsg& a, TestMsg& b) {
539 a.Swap(&b);
540 }
541 inline void Swap(TestMsg* other) {
542 if (other == this) return;
543 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
544 if (GetOwningArena() != nullptr &&
545 GetOwningArena() == other->GetOwningArena()) {
546 #else // PROTOBUF_FORCE_COPY_IN_SWAP
547 if (GetOwningArena() == other->GetOwningArena()) {
548 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
549 InternalSwap(other);
550 } else {
551 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
552 }
553 }
555 if (other == this) return;
556 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
557 InternalSwap(other);
558 }
559
560 // implements Message ----------------------------------------------
561
562 TestMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
563 return CreateMaybeMessage<TestMsg>(arena);
564 }
565 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
566 void CopyFrom(const TestMsg& from);
567 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
568 void MergeFrom( const TestMsg& from) {
569 TestMsg::MergeImpl(*this, from);
570 }
571 private:
572 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
573 public:
574 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
575 bool IsInitialized() const final;
576
577 size_t ByteSizeLong() const final;
578 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
579 uint8_t* _InternalSerialize(
580 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
581 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
582
583 private:
584 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
585 void SharedDtor();
586 void SetCachedSize(int size) const final;
587 void InternalSwap(TestMsg* other);
588
589 private:
590 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
591 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
592 return "goby.test.acomms.protobuf.TestMsg";
593 }
594 protected:
595 explicit TestMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
596 bool is_message_owned = false);
597 public:
598
599 static const ClassData _class_data_;
600 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
601
602 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
603
604 // nested types ----------------------------------------------------
605
606 // accessors -------------------------------------------------------
607
608 enum : int {
609 kDoubleDefaultRepeatFieldNumber = 101,
610 kFloatDefaultRepeatFieldNumber = 102,
611 kInt32DefaultRepeatFieldNumber = 103,
612 kInt64DefaultRepeatFieldNumber = 104,
613 kUint32DefaultRepeatFieldNumber = 105,
614 kUint64DefaultRepeatFieldNumber = 106,
615 kSint32DefaultRepeatFieldNumber = 107,
616 kSint64DefaultRepeatFieldNumber = 108,
617 kFixed32DefaultRepeatFieldNumber = 109,
618 kFixed64DefaultRepeatFieldNumber = 110,
619 kSfixed32DefaultRepeatFieldNumber = 111,
620 kSfixed64DefaultRepeatFieldNumber = 112,
621 kBoolDefaultRepeatFieldNumber = 113,
622 kStringDefaultRepeatFieldNumber = 114,
623 kBytesDefaultRepeatFieldNumber = 115,
624 kEnumDefaultRepeatFieldNumber = 116,
625 kMsgDefaultRepeatFieldNumber = 117,
626 kStringDefaultOptionalFieldNumber = 14,
627 kBytesDefaultOptionalFieldNumber = 15,
628 kStringDefaultRequiredFieldNumber = 34,
629 kBytesDefaultRequiredFieldNumber = 35,
630 kMsgDefaultOptionalFieldNumber = 17,
631 kMsgDefaultRequiredFieldNumber = 37,
632 kDoubleDefaultOptionalFieldNumber = 1,
633 kFloatDefaultOptionalFieldNumber = 2,
634 kInt32DefaultOptionalFieldNumber = 3,
635 kInt64DefaultOptionalFieldNumber = 4,
636 kUint64DefaultOptionalFieldNumber = 6,
637 kUint32DefaultOptionalFieldNumber = 5,
638 kSint32DefaultOptionalFieldNumber = 7,
639 kSint64DefaultOptionalFieldNumber = 8,
640 kFixed64DefaultOptionalFieldNumber = 10,
641 kFixed32DefaultOptionalFieldNumber = 9,
642 kSfixed32DefaultOptionalFieldNumber = 11,
643 kSfixed64DefaultOptionalFieldNumber = 12,
644 kDoubleDefaultRequiredFieldNumber = 21,
645 kFloatDefaultRequiredFieldNumber = 22,
646 kInt32DefaultRequiredFieldNumber = 23,
647 kBoolDefaultOptionalFieldNumber = 13,
648 kBoolDefaultRequiredFieldNumber = 33,
649 kUint32DefaultRequiredFieldNumber = 25,
650 kInt64DefaultRequiredFieldNumber = 24,
651 kUint64DefaultRequiredFieldNumber = 26,
652 kSint64DefaultRequiredFieldNumber = 28,
653 kSint32DefaultRequiredFieldNumber = 27,
654 kFixed32DefaultRequiredFieldNumber = 29,
655 kFixed64DefaultRequiredFieldNumber = 30,
656 kSfixed64DefaultRequiredFieldNumber = 32,
657 kSfixed32DefaultRequiredFieldNumber = 31,
658 kEnumDefaultOptionalFieldNumber = 16,
659 kEnumDefaultRequiredFieldNumber = 36,
660 };
661 // repeated double double_default_repeat = 101 [(.dccl.field) = {
662 int double_default_repeat_size() const;
663 private:
664 int _internal_double_default_repeat_size() const;
665 public:
666 void clear_double_default_repeat();
667 private:
668 double _internal_double_default_repeat(int index) const;
669 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
670 _internal_double_default_repeat() const;
671 void _internal_add_double_default_repeat(double value);
672 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
673 _internal_mutable_double_default_repeat();
674 public:
675 double double_default_repeat(int index) const;
676 void set_double_default_repeat(int index, double value);
677 void add_double_default_repeat(double value);
678 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
679 double_default_repeat() const;
680 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
681 mutable_double_default_repeat();
682
683 // repeated float float_default_repeat = 102 [(.dccl.field) = {
684 int float_default_repeat_size() const;
685 private:
686 int _internal_float_default_repeat_size() const;
687 public:
688 void clear_float_default_repeat();
689 private:
690 float _internal_float_default_repeat(int index) const;
691 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
692 _internal_float_default_repeat() const;
693 void _internal_add_float_default_repeat(float value);
694 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
695 _internal_mutable_float_default_repeat();
696 public:
697 float float_default_repeat(int index) const;
698 void set_float_default_repeat(int index, float value);
699 void add_float_default_repeat(float value);
700 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
701 float_default_repeat() const;
702 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
703 mutable_float_default_repeat();
704
705 // repeated int32 int32_default_repeat = 103 [(.dccl.field) = {
706 int int32_default_repeat_size() const;
707 private:
708 int _internal_int32_default_repeat_size() const;
709 public:
710 void clear_int32_default_repeat();
711 private:
712 int32_t _internal_int32_default_repeat(int index) const;
713 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
714 _internal_int32_default_repeat() const;
715 void _internal_add_int32_default_repeat(int32_t value);
716 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
717 _internal_mutable_int32_default_repeat();
718 public:
719 int32_t int32_default_repeat(int index) const;
720 void set_int32_default_repeat(int index, int32_t value);
721 void add_int32_default_repeat(int32_t value);
722 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
723 int32_default_repeat() const;
724 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
725 mutable_int32_default_repeat();
726
727 // repeated int64 int64_default_repeat = 104 [(.dccl.field) = {
728 int int64_default_repeat_size() const;
729 private:
730 int _internal_int64_default_repeat_size() const;
731 public:
732 void clear_int64_default_repeat();
733 private:
734 int64_t _internal_int64_default_repeat(int index) const;
735 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
736 _internal_int64_default_repeat() const;
737 void _internal_add_int64_default_repeat(int64_t value);
738 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
739 _internal_mutable_int64_default_repeat();
740 public:
741 int64_t int64_default_repeat(int index) const;
742 void set_int64_default_repeat(int index, int64_t value);
743 void add_int64_default_repeat(int64_t value);
744 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
745 int64_default_repeat() const;
746 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
747 mutable_int64_default_repeat();
748
749 // repeated uint32 uint32_default_repeat = 105 [(.dccl.field) = {
750 int uint32_default_repeat_size() const;
751 private:
752 int _internal_uint32_default_repeat_size() const;
753 public:
754 void clear_uint32_default_repeat();
755 private:
756 uint32_t _internal_uint32_default_repeat(int index) const;
757 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
758 _internal_uint32_default_repeat() const;
759 void _internal_add_uint32_default_repeat(uint32_t value);
760 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
761 _internal_mutable_uint32_default_repeat();
762 public:
763 uint32_t uint32_default_repeat(int index) const;
764 void set_uint32_default_repeat(int index, uint32_t value);
765 void add_uint32_default_repeat(uint32_t value);
766 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
767 uint32_default_repeat() const;
768 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
769 mutable_uint32_default_repeat();
770
771 // repeated uint64 uint64_default_repeat = 106 [(.dccl.field) = {
772 int uint64_default_repeat_size() const;
773 private:
774 int _internal_uint64_default_repeat_size() const;
775 public:
776 void clear_uint64_default_repeat();
777 private:
778 uint64_t _internal_uint64_default_repeat(int index) const;
779 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
780 _internal_uint64_default_repeat() const;
781 void _internal_add_uint64_default_repeat(uint64_t value);
782 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
783 _internal_mutable_uint64_default_repeat();
784 public:
785 uint64_t uint64_default_repeat(int index) const;
786 void set_uint64_default_repeat(int index, uint64_t value);
787 void add_uint64_default_repeat(uint64_t value);
788 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
789 uint64_default_repeat() const;
790 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
791 mutable_uint64_default_repeat();
792
793 // repeated sint32 sint32_default_repeat = 107 [(.dccl.field) = {
794 int sint32_default_repeat_size() const;
795 private:
796 int _internal_sint32_default_repeat_size() const;
797 public:
798 void clear_sint32_default_repeat();
799 private:
800 int32_t _internal_sint32_default_repeat(int index) const;
801 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
802 _internal_sint32_default_repeat() const;
803 void _internal_add_sint32_default_repeat(int32_t value);
804 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
805 _internal_mutable_sint32_default_repeat();
806 public:
807 int32_t sint32_default_repeat(int index) const;
808 void set_sint32_default_repeat(int index, int32_t value);
809 void add_sint32_default_repeat(int32_t value);
810 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
811 sint32_default_repeat() const;
812 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
813 mutable_sint32_default_repeat();
814
815 // repeated sint64 sint64_default_repeat = 108 [(.dccl.field) = {
816 int sint64_default_repeat_size() const;
817 private:
818 int _internal_sint64_default_repeat_size() const;
819 public:
820 void clear_sint64_default_repeat();
821 private:
822 int64_t _internal_sint64_default_repeat(int index) const;
823 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
824 _internal_sint64_default_repeat() const;
825 void _internal_add_sint64_default_repeat(int64_t value);
826 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
827 _internal_mutable_sint64_default_repeat();
828 public:
829 int64_t sint64_default_repeat(int index) const;
830 void set_sint64_default_repeat(int index, int64_t value);
831 void add_sint64_default_repeat(int64_t value);
832 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
833 sint64_default_repeat() const;
834 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
835 mutable_sint64_default_repeat();
836
837 // repeated fixed32 fixed32_default_repeat = 109 [(.dccl.field) = {
838 int fixed32_default_repeat_size() const;
839 private:
840 int _internal_fixed32_default_repeat_size() const;
841 public:
842 void clear_fixed32_default_repeat();
843 private:
844 uint32_t _internal_fixed32_default_repeat(int index) const;
845 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
846 _internal_fixed32_default_repeat() const;
847 void _internal_add_fixed32_default_repeat(uint32_t value);
848 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
849 _internal_mutable_fixed32_default_repeat();
850 public:
851 uint32_t fixed32_default_repeat(int index) const;
852 void set_fixed32_default_repeat(int index, uint32_t value);
853 void add_fixed32_default_repeat(uint32_t value);
854 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
855 fixed32_default_repeat() const;
856 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
857 mutable_fixed32_default_repeat();
858
859 // repeated fixed64 fixed64_default_repeat = 110 [(.dccl.field) = {
860 int fixed64_default_repeat_size() const;
861 private:
862 int _internal_fixed64_default_repeat_size() const;
863 public:
864 void clear_fixed64_default_repeat();
865 private:
866 uint64_t _internal_fixed64_default_repeat(int index) const;
867 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
868 _internal_fixed64_default_repeat() const;
869 void _internal_add_fixed64_default_repeat(uint64_t value);
870 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
871 _internal_mutable_fixed64_default_repeat();
872 public:
873 uint64_t fixed64_default_repeat(int index) const;
874 void set_fixed64_default_repeat(int index, uint64_t value);
875 void add_fixed64_default_repeat(uint64_t value);
876 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
877 fixed64_default_repeat() const;
878 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
879 mutable_fixed64_default_repeat();
880
881 // repeated sfixed32 sfixed32_default_repeat = 111 [(.dccl.field) = {
882 int sfixed32_default_repeat_size() const;
883 private:
884 int _internal_sfixed32_default_repeat_size() const;
885 public:
886 void clear_sfixed32_default_repeat();
887 private:
888 int32_t _internal_sfixed32_default_repeat(int index) const;
889 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
890 _internal_sfixed32_default_repeat() const;
891 void _internal_add_sfixed32_default_repeat(int32_t value);
892 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
893 _internal_mutable_sfixed32_default_repeat();
894 public:
895 int32_t sfixed32_default_repeat(int index) const;
896 void set_sfixed32_default_repeat(int index, int32_t value);
897 void add_sfixed32_default_repeat(int32_t value);
898 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
899 sfixed32_default_repeat() const;
900 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
901 mutable_sfixed32_default_repeat();
902
903 // repeated sfixed64 sfixed64_default_repeat = 112 [(.dccl.field) = {
904 int sfixed64_default_repeat_size() const;
905 private:
906 int _internal_sfixed64_default_repeat_size() const;
907 public:
908 void clear_sfixed64_default_repeat();
909 private:
910 int64_t _internal_sfixed64_default_repeat(int index) const;
911 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
912 _internal_sfixed64_default_repeat() const;
913 void _internal_add_sfixed64_default_repeat(int64_t value);
914 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
915 _internal_mutable_sfixed64_default_repeat();
916 public:
917 int64_t sfixed64_default_repeat(int index) const;
918 void set_sfixed64_default_repeat(int index, int64_t value);
919 void add_sfixed64_default_repeat(int64_t value);
920 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
921 sfixed64_default_repeat() const;
922 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
923 mutable_sfixed64_default_repeat();
924
925 // repeated bool bool_default_repeat = 113 [(.dccl.field) = {
926 int bool_default_repeat_size() const;
927 private:
928 int _internal_bool_default_repeat_size() const;
929 public:
930 void clear_bool_default_repeat();
931 private:
932 bool _internal_bool_default_repeat(int index) const;
933 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
934 _internal_bool_default_repeat() const;
935 void _internal_add_bool_default_repeat(bool value);
936 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
937 _internal_mutable_bool_default_repeat();
938 public:
939 bool bool_default_repeat(int index) const;
940 void set_bool_default_repeat(int index, bool value);
941 void add_bool_default_repeat(bool value);
942 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
943 bool_default_repeat() const;
944 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
945 mutable_bool_default_repeat();
946
947 // repeated string string_default_repeat = 114 [(.dccl.field) = {
948 int string_default_repeat_size() const;
949 private:
950 int _internal_string_default_repeat_size() const;
951 public:
952 void clear_string_default_repeat();
953 const std::string& string_default_repeat(int index) const;
954 std::string* mutable_string_default_repeat(int index);
955 void set_string_default_repeat(int index, const std::string& value);
956 void set_string_default_repeat(int index, std::string&& value);
957 void set_string_default_repeat(int index, const char* value);
958 void set_string_default_repeat(int index, const char* value, size_t size);
959 std::string* add_string_default_repeat();
960 void add_string_default_repeat(const std::string& value);
961 void add_string_default_repeat(std::string&& value);
962 void add_string_default_repeat(const char* value);
963 void add_string_default_repeat(const char* value, size_t size);
964 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_default_repeat() const;
965 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_default_repeat();
966 private:
967 const std::string& _internal_string_default_repeat(int index) const;
968 std::string* _internal_add_string_default_repeat();
969 public:
970
971 // repeated bytes bytes_default_repeat = 115 [(.dccl.field) = {
972 int bytes_default_repeat_size() const;
973 private:
974 int _internal_bytes_default_repeat_size() const;
975 public:
976 void clear_bytes_default_repeat();
977 const std::string& bytes_default_repeat(int index) const;
978 std::string* mutable_bytes_default_repeat(int index);
979 void set_bytes_default_repeat(int index, const std::string& value);
980 void set_bytes_default_repeat(int index, std::string&& value);
981 void set_bytes_default_repeat(int index, const char* value);
982 void set_bytes_default_repeat(int index, const void* value, size_t size);
983 std::string* add_bytes_default_repeat();
984 void add_bytes_default_repeat(const std::string& value);
985 void add_bytes_default_repeat(std::string&& value);
986 void add_bytes_default_repeat(const char* value);
987 void add_bytes_default_repeat(const void* value, size_t size);
988 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& bytes_default_repeat() const;
989 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_bytes_default_repeat();
990 private:
991 const std::string& _internal_bytes_default_repeat(int index) const;
992 std::string* _internal_add_bytes_default_repeat();
993 public:
994
995 // repeated .goby.test.acomms.protobuf.Enum1 enum_default_repeat = 116 [(.dccl.field) = {
996 int enum_default_repeat_size() const;
997 private:
998 int _internal_enum_default_repeat_size() const;
999 public:
1000 void clear_enum_default_repeat();
1001 private:
1002 ::goby::test::acomms::protobuf::Enum1 _internal_enum_default_repeat(int index) const;
1003 void _internal_add_enum_default_repeat(::goby::test::acomms::protobuf::Enum1 value);
1004 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_enum_default_repeat();
1005 public:
1006 ::goby::test::acomms::protobuf::Enum1 enum_default_repeat(int index) const;
1007 void set_enum_default_repeat(int index, ::goby::test::acomms::protobuf::Enum1 value);
1008 void add_enum_default_repeat(::goby::test::acomms::protobuf::Enum1 value);
1009 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& enum_default_repeat() const;
1010 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_enum_default_repeat();
1011
1012 // repeated .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_repeat = 117 [(.dccl.field) = {
1013 int msg_default_repeat_size() const;
1014 private:
1015 int _internal_msg_default_repeat_size() const;
1016 public:
1017 void clear_msg_default_repeat();
1018 ::goby::test::acomms::protobuf::EmbeddedMsg1* mutable_msg_default_repeat(int index);
1019 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::test::acomms::protobuf::EmbeddedMsg1 >*
1020 mutable_msg_default_repeat();
1021 private:
1022 const ::goby::test::acomms::protobuf::EmbeddedMsg1& _internal_msg_default_repeat(int index) const;
1023 ::goby::test::acomms::protobuf::EmbeddedMsg1* _internal_add_msg_default_repeat();
1024 public:
1025 const ::goby::test::acomms::protobuf::EmbeddedMsg1& msg_default_repeat(int index) const;
1026 ::goby::test::acomms::protobuf::EmbeddedMsg1* add_msg_default_repeat();
1027 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::test::acomms::protobuf::EmbeddedMsg1 >&
1028 msg_default_repeat() const;
1029
1030 // optional string string_default_optional = 14 [(.dccl.field) = {
1031 bool has_string_default_optional() const;
1032 private:
1033 bool _internal_has_string_default_optional() const;
1034 public:
1035 void clear_string_default_optional();
1036 const std::string& string_default_optional() const;
1037 template <typename ArgT0 = const std::string&, typename... ArgT>
1038 void set_string_default_optional(ArgT0&& arg0, ArgT... args);
1039 std::string* mutable_string_default_optional();
1040 PROTOBUF_NODISCARD std::string* release_string_default_optional();
1041 void set_allocated_string_default_optional(std::string* string_default_optional);
1042 private:
1043 const std::string& _internal_string_default_optional() const;
1044 inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_default_optional(const std::string& value);
1045 std::string* _internal_mutable_string_default_optional();
1046 public:
1047
1048 // optional bytes bytes_default_optional = 15 [(.dccl.field) = {
1049 bool has_bytes_default_optional() const;
1050 private:
1051 bool _internal_has_bytes_default_optional() const;
1052 public:
1053 void clear_bytes_default_optional();
1054 const std::string& bytes_default_optional() const;
1055 template <typename ArgT0 = const std::string&, typename... ArgT>
1056 void set_bytes_default_optional(ArgT0&& arg0, ArgT... args);
1057 std::string* mutable_bytes_default_optional();
1058 PROTOBUF_NODISCARD std::string* release_bytes_default_optional();
1059 void set_allocated_bytes_default_optional(std::string* bytes_default_optional);
1060 private:
1061 const std::string& _internal_bytes_default_optional() const;
1062 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bytes_default_optional(const std::string& value);
1063 std::string* _internal_mutable_bytes_default_optional();
1064 public:
1065
1066 // required string string_default_required = 34 [(.dccl.field) = {
1067 bool has_string_default_required() const;
1068 private:
1069 bool _internal_has_string_default_required() const;
1070 public:
1071 void clear_string_default_required();
1072 const std::string& string_default_required() const;
1073 template <typename ArgT0 = const std::string&, typename... ArgT>
1074 void set_string_default_required(ArgT0&& arg0, ArgT... args);
1075 std::string* mutable_string_default_required();
1076 PROTOBUF_NODISCARD std::string* release_string_default_required();
1077 void set_allocated_string_default_required(std::string* string_default_required);
1078 private:
1079 const std::string& _internal_string_default_required() const;
1080 inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_default_required(const std::string& value);
1081 std::string* _internal_mutable_string_default_required();
1082 public:
1083
1084 // required bytes bytes_default_required = 35 [(.dccl.field) = {
1085 bool has_bytes_default_required() const;
1086 private:
1087 bool _internal_has_bytes_default_required() const;
1088 public:
1089 void clear_bytes_default_required();
1090 const std::string& bytes_default_required() const;
1091 template <typename ArgT0 = const std::string&, typename... ArgT>
1092 void set_bytes_default_required(ArgT0&& arg0, ArgT... args);
1093 std::string* mutable_bytes_default_required();
1094 PROTOBUF_NODISCARD std::string* release_bytes_default_required();
1095 void set_allocated_bytes_default_required(std::string* bytes_default_required);
1096 private:
1097 const std::string& _internal_bytes_default_required() const;
1098 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bytes_default_required(const std::string& value);
1099 std::string* _internal_mutable_bytes_default_required();
1100 public:
1101
1102 // optional .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_optional = 17;
1103 bool has_msg_default_optional() const;
1104 private:
1105 bool _internal_has_msg_default_optional() const;
1106 public:
1107 void clear_msg_default_optional();
1108 const ::goby::test::acomms::protobuf::EmbeddedMsg1& msg_default_optional() const;
1109 PROTOBUF_NODISCARD ::goby::test::acomms::protobuf::EmbeddedMsg1* release_msg_default_optional();
1110 ::goby::test::acomms::protobuf::EmbeddedMsg1* mutable_msg_default_optional();
1111 void set_allocated_msg_default_optional(::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_optional);
1112 private:
1113 const ::goby::test::acomms::protobuf::EmbeddedMsg1& _internal_msg_default_optional() const;
1114 ::goby::test::acomms::protobuf::EmbeddedMsg1* _internal_mutable_msg_default_optional();
1115 public:
1116 void unsafe_arena_set_allocated_msg_default_optional(
1117 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_optional);
1118 ::goby::test::acomms::protobuf::EmbeddedMsg1* unsafe_arena_release_msg_default_optional();
1119
1120 // required .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_required = 37;
1121 bool has_msg_default_required() const;
1122 private:
1123 bool _internal_has_msg_default_required() const;
1124 public:
1125 void clear_msg_default_required();
1126 const ::goby::test::acomms::protobuf::EmbeddedMsg1& msg_default_required() const;
1127 PROTOBUF_NODISCARD ::goby::test::acomms::protobuf::EmbeddedMsg1* release_msg_default_required();
1128 ::goby::test::acomms::protobuf::EmbeddedMsg1* mutable_msg_default_required();
1129 void set_allocated_msg_default_required(::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_required);
1130 private:
1131 const ::goby::test::acomms::protobuf::EmbeddedMsg1& _internal_msg_default_required() const;
1132 ::goby::test::acomms::protobuf::EmbeddedMsg1* _internal_mutable_msg_default_required();
1133 public:
1134 void unsafe_arena_set_allocated_msg_default_required(
1135 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_required);
1136 ::goby::test::acomms::protobuf::EmbeddedMsg1* unsafe_arena_release_msg_default_required();
1137
1138 // optional double double_default_optional = 1 [(.dccl.field) = {
1139 bool has_double_default_optional() const;
1140 private:
1141 bool _internal_has_double_default_optional() const;
1142 public:
1143 void clear_double_default_optional();
1144 double double_default_optional() const;
1145 void set_double_default_optional(double value);
1146 private:
1147 double _internal_double_default_optional() const;
1148 void _internal_set_double_default_optional(double value);
1149 public:
1150
1151 // optional float float_default_optional = 2 [(.dccl.field) = {
1152 bool has_float_default_optional() const;
1153 private:
1154 bool _internal_has_float_default_optional() const;
1155 public:
1156 void clear_float_default_optional();
1157 float float_default_optional() const;
1158 void set_float_default_optional(float value);
1159 private:
1160 float _internal_float_default_optional() const;
1161 void _internal_set_float_default_optional(float value);
1162 public:
1163
1164 // optional int32 int32_default_optional = 3 [(.dccl.field) = {
1165 bool has_int32_default_optional() const;
1166 private:
1167 bool _internal_has_int32_default_optional() const;
1168 public:
1169 void clear_int32_default_optional();
1170 int32_t int32_default_optional() const;
1171 void set_int32_default_optional(int32_t value);
1172 private:
1173 int32_t _internal_int32_default_optional() const;
1174 void _internal_set_int32_default_optional(int32_t value);
1175 public:
1176
1177 // optional int64 int64_default_optional = 4 [(.dccl.field) = {
1178 bool has_int64_default_optional() const;
1179 private:
1180 bool _internal_has_int64_default_optional() const;
1181 public:
1182 void clear_int64_default_optional();
1183 int64_t int64_default_optional() const;
1184 void set_int64_default_optional(int64_t value);
1185 private:
1186 int64_t _internal_int64_default_optional() const;
1187 void _internal_set_int64_default_optional(int64_t value);
1188 public:
1189
1190 // optional uint64 uint64_default_optional = 6 [(.dccl.field) = {
1191 bool has_uint64_default_optional() const;
1192 private:
1193 bool _internal_has_uint64_default_optional() const;
1194 public:
1195 void clear_uint64_default_optional();
1196 uint64_t uint64_default_optional() const;
1197 void set_uint64_default_optional(uint64_t value);
1198 private:
1199 uint64_t _internal_uint64_default_optional() const;
1200 void _internal_set_uint64_default_optional(uint64_t value);
1201 public:
1202
1203 // optional uint32 uint32_default_optional = 5 [(.dccl.field) = {
1204 bool has_uint32_default_optional() const;
1205 private:
1206 bool _internal_has_uint32_default_optional() const;
1207 public:
1208 void clear_uint32_default_optional();
1209 uint32_t uint32_default_optional() const;
1210 void set_uint32_default_optional(uint32_t value);
1211 private:
1212 uint32_t _internal_uint32_default_optional() const;
1213 void _internal_set_uint32_default_optional(uint32_t value);
1214 public:
1215
1216 // optional sint32 sint32_default_optional = 7 [(.dccl.field) = {
1217 bool has_sint32_default_optional() const;
1218 private:
1219 bool _internal_has_sint32_default_optional() const;
1220 public:
1221 void clear_sint32_default_optional();
1222 int32_t sint32_default_optional() const;
1223 void set_sint32_default_optional(int32_t value);
1224 private:
1225 int32_t _internal_sint32_default_optional() const;
1226 void _internal_set_sint32_default_optional(int32_t value);
1227 public:
1228
1229 // optional sint64 sint64_default_optional = 8 [(.dccl.field) = {
1230 bool has_sint64_default_optional() const;
1231 private:
1232 bool _internal_has_sint64_default_optional() const;
1233 public:
1234 void clear_sint64_default_optional();
1235 int64_t sint64_default_optional() const;
1236 void set_sint64_default_optional(int64_t value);
1237 private:
1238 int64_t _internal_sint64_default_optional() const;
1239 void _internal_set_sint64_default_optional(int64_t value);
1240 public:
1241
1242 // optional fixed64 fixed64_default_optional = 10 [(.dccl.field) = {
1243 bool has_fixed64_default_optional() const;
1244 private:
1245 bool _internal_has_fixed64_default_optional() const;
1246 public:
1247 void clear_fixed64_default_optional();
1248 uint64_t fixed64_default_optional() const;
1249 void set_fixed64_default_optional(uint64_t value);
1250 private:
1251 uint64_t _internal_fixed64_default_optional() const;
1252 void _internal_set_fixed64_default_optional(uint64_t value);
1253 public:
1254
1255 // optional fixed32 fixed32_default_optional = 9 [(.dccl.field) = {
1256 bool has_fixed32_default_optional() const;
1257 private:
1258 bool _internal_has_fixed32_default_optional() const;
1259 public:
1260 void clear_fixed32_default_optional();
1261 uint32_t fixed32_default_optional() const;
1262 void set_fixed32_default_optional(uint32_t value);
1263 private:
1264 uint32_t _internal_fixed32_default_optional() const;
1265 void _internal_set_fixed32_default_optional(uint32_t value);
1266 public:
1267
1268 // optional sfixed32 sfixed32_default_optional = 11 [(.dccl.field) = {
1269 bool has_sfixed32_default_optional() const;
1270 private:
1271 bool _internal_has_sfixed32_default_optional() const;
1272 public:
1273 void clear_sfixed32_default_optional();
1274 int32_t sfixed32_default_optional() const;
1275 void set_sfixed32_default_optional(int32_t value);
1276 private:
1277 int32_t _internal_sfixed32_default_optional() const;
1278 void _internal_set_sfixed32_default_optional(int32_t value);
1279 public:
1280
1281 // optional sfixed64 sfixed64_default_optional = 12 [(.dccl.field) = {
1282 bool has_sfixed64_default_optional() const;
1283 private:
1284 bool _internal_has_sfixed64_default_optional() const;
1285 public:
1286 void clear_sfixed64_default_optional();
1287 int64_t sfixed64_default_optional() const;
1288 void set_sfixed64_default_optional(int64_t value);
1289 private:
1290 int64_t _internal_sfixed64_default_optional() const;
1291 void _internal_set_sfixed64_default_optional(int64_t value);
1292 public:
1293
1294 // required double double_default_required = 21 [(.dccl.field) = {
1295 bool has_double_default_required() const;
1296 private:
1297 bool _internal_has_double_default_required() const;
1298 public:
1299 void clear_double_default_required();
1300 double double_default_required() const;
1301 void set_double_default_required(double value);
1302 private:
1303 double _internal_double_default_required() const;
1304 void _internal_set_double_default_required(double value);
1305 public:
1306
1307 // required float float_default_required = 22 [(.dccl.field) = {
1308 bool has_float_default_required() const;
1309 private:
1310 bool _internal_has_float_default_required() const;
1311 public:
1312 void clear_float_default_required();
1313 float float_default_required() const;
1314 void set_float_default_required(float value);
1315 private:
1316 float _internal_float_default_required() const;
1317 void _internal_set_float_default_required(float value);
1318 public:
1319
1320 // required int32 int32_default_required = 23 [(.dccl.field) = {
1321 bool has_int32_default_required() const;
1322 private:
1323 bool _internal_has_int32_default_required() const;
1324 public:
1325 void clear_int32_default_required();
1326 int32_t int32_default_required() const;
1327 void set_int32_default_required(int32_t value);
1328 private:
1329 int32_t _internal_int32_default_required() const;
1330 void _internal_set_int32_default_required(int32_t value);
1331 public:
1332
1333 // optional bool bool_default_optional = 13;
1334 bool has_bool_default_optional() const;
1335 private:
1336 bool _internal_has_bool_default_optional() const;
1337 public:
1338 void clear_bool_default_optional();
1339 bool bool_default_optional() const;
1340 void set_bool_default_optional(bool value);
1341 private:
1342 bool _internal_bool_default_optional() const;
1343 void _internal_set_bool_default_optional(bool value);
1344 public:
1345
1346 // required bool bool_default_required = 33;
1347 bool has_bool_default_required() const;
1348 private:
1349 bool _internal_has_bool_default_required() const;
1350 public:
1351 void clear_bool_default_required();
1352 bool bool_default_required() const;
1353 void set_bool_default_required(bool value);
1354 private:
1355 bool _internal_bool_default_required() const;
1356 void _internal_set_bool_default_required(bool value);
1357 public:
1358
1359 // required uint32 uint32_default_required = 25 [(.dccl.field) = {
1360 bool has_uint32_default_required() const;
1361 private:
1362 bool _internal_has_uint32_default_required() const;
1363 public:
1364 void clear_uint32_default_required();
1365 uint32_t uint32_default_required() const;
1366 void set_uint32_default_required(uint32_t value);
1367 private:
1368 uint32_t _internal_uint32_default_required() const;
1369 void _internal_set_uint32_default_required(uint32_t value);
1370 public:
1371
1372 // required int64 int64_default_required = 24 [(.dccl.field) = {
1373 bool has_int64_default_required() const;
1374 private:
1375 bool _internal_has_int64_default_required() const;
1376 public:
1377 void clear_int64_default_required();
1378 int64_t int64_default_required() const;
1379 void set_int64_default_required(int64_t value);
1380 private:
1381 int64_t _internal_int64_default_required() const;
1382 void _internal_set_int64_default_required(int64_t value);
1383 public:
1384
1385 // required uint64 uint64_default_required = 26 [(.dccl.field) = {
1386 bool has_uint64_default_required() const;
1387 private:
1388 bool _internal_has_uint64_default_required() const;
1389 public:
1390 void clear_uint64_default_required();
1391 uint64_t uint64_default_required() const;
1392 void set_uint64_default_required(uint64_t value);
1393 private:
1394 uint64_t _internal_uint64_default_required() const;
1395 void _internal_set_uint64_default_required(uint64_t value);
1396 public:
1397
1398 // required sint64 sint64_default_required = 28 [(.dccl.field) = {
1399 bool has_sint64_default_required() const;
1400 private:
1401 bool _internal_has_sint64_default_required() const;
1402 public:
1403 void clear_sint64_default_required();
1404 int64_t sint64_default_required() const;
1405 void set_sint64_default_required(int64_t value);
1406 private:
1407 int64_t _internal_sint64_default_required() const;
1408 void _internal_set_sint64_default_required(int64_t value);
1409 public:
1410
1411 // required sint32 sint32_default_required = 27 [(.dccl.field) = {
1412 bool has_sint32_default_required() const;
1413 private:
1414 bool _internal_has_sint32_default_required() const;
1415 public:
1416 void clear_sint32_default_required();
1417 int32_t sint32_default_required() const;
1418 void set_sint32_default_required(int32_t value);
1419 private:
1420 int32_t _internal_sint32_default_required() const;
1421 void _internal_set_sint32_default_required(int32_t value);
1422 public:
1423
1424 // required fixed32 fixed32_default_required = 29 [(.dccl.field) = {
1425 bool has_fixed32_default_required() const;
1426 private:
1427 bool _internal_has_fixed32_default_required() const;
1428 public:
1429 void clear_fixed32_default_required();
1430 uint32_t fixed32_default_required() const;
1431 void set_fixed32_default_required(uint32_t value);
1432 private:
1433 uint32_t _internal_fixed32_default_required() const;
1434 void _internal_set_fixed32_default_required(uint32_t value);
1435 public:
1436
1437 // required fixed64 fixed64_default_required = 30 [(.dccl.field) = {
1438 bool has_fixed64_default_required() const;
1439 private:
1440 bool _internal_has_fixed64_default_required() const;
1441 public:
1442 void clear_fixed64_default_required();
1443 uint64_t fixed64_default_required() const;
1444 void set_fixed64_default_required(uint64_t value);
1445 private:
1446 uint64_t _internal_fixed64_default_required() const;
1447 void _internal_set_fixed64_default_required(uint64_t value);
1448 public:
1449
1450 // required sfixed64 sfixed64_default_required = 32 [(.dccl.field) = {
1451 bool has_sfixed64_default_required() const;
1452 private:
1453 bool _internal_has_sfixed64_default_required() const;
1454 public:
1455 void clear_sfixed64_default_required();
1456 int64_t sfixed64_default_required() const;
1457 void set_sfixed64_default_required(int64_t value);
1458 private:
1459 int64_t _internal_sfixed64_default_required() const;
1460 void _internal_set_sfixed64_default_required(int64_t value);
1461 public:
1462
1463 // required sfixed32 sfixed32_default_required = 31 [(.dccl.field) = {
1464 bool has_sfixed32_default_required() const;
1465 private:
1466 bool _internal_has_sfixed32_default_required() const;
1467 public:
1468 void clear_sfixed32_default_required();
1469 int32_t sfixed32_default_required() const;
1470 void set_sfixed32_default_required(int32_t value);
1471 private:
1472 int32_t _internal_sfixed32_default_required() const;
1473 void _internal_set_sfixed32_default_required(int32_t value);
1474 public:
1475
1476 // optional .goby.test.acomms.protobuf.Enum1 enum_default_optional = 16;
1477 bool has_enum_default_optional() const;
1478 private:
1479 bool _internal_has_enum_default_optional() const;
1480 public:
1481 void clear_enum_default_optional();
1482 ::goby::test::acomms::protobuf::Enum1 enum_default_optional() const;
1483 void set_enum_default_optional(::goby::test::acomms::protobuf::Enum1 value);
1484 private:
1485 ::goby::test::acomms::protobuf::Enum1 _internal_enum_default_optional() const;
1486 void _internal_set_enum_default_optional(::goby::test::acomms::protobuf::Enum1 value);
1487 public:
1488
1489 // required .goby.test.acomms.protobuf.Enum1 enum_default_required = 36;
1490 bool has_enum_default_required() const;
1491 private:
1492 bool _internal_has_enum_default_required() const;
1493 public:
1494 void clear_enum_default_required();
1495 ::goby::test::acomms::protobuf::Enum1 enum_default_required() const;
1496 void set_enum_default_required(::goby::test::acomms::protobuf::Enum1 value);
1497 private:
1498 ::goby::test::acomms::protobuf::Enum1 _internal_enum_default_required() const;
1499 void _internal_set_enum_default_required(::goby::test::acomms::protobuf::Enum1 value);
1500 public:
1501
1502 enum DCCLParameters { DCCL_ID = 2, DCCL_MAX_BYTES = 512 };
1503 // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.TestMsg)
1504 private:
1505 class _Internal;
1506
1507 // helper for ByteSizeLong()
1508 size_t RequiredFieldsByteSizeFallback() const;
1509
1510 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1511 typedef void InternalArenaConstructable_;
1512 typedef void DestructorSkippable_;
1513 struct Impl_ {
1514 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
1515 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1516 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > double_default_repeat_;
1517 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_default_repeat_;
1518 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > int32_default_repeat_;
1519 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > int64_default_repeat_;
1520 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > uint32_default_repeat_;
1521 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > uint64_default_repeat_;
1522 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > sint32_default_repeat_;
1523 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > sint64_default_repeat_;
1524 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > fixed32_default_repeat_;
1525 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > fixed64_default_repeat_;
1526 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > sfixed32_default_repeat_;
1527 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > sfixed64_default_repeat_;
1528 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bool_default_repeat_;
1529 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_default_repeat_;
1530 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> bytes_default_repeat_;
1531 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> enum_default_repeat_;
1532 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::test::acomms::protobuf::EmbeddedMsg1 > msg_default_repeat_;
1533 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_default_optional_;
1534 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bytes_default_optional_;
1535 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_default_required_;
1536 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bytes_default_required_;
1537 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_optional_;
1538 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_required_;
1539 double double_default_optional_;
1540 float float_default_optional_;
1541 int32_t int32_default_optional_;
1542 int64_t int64_default_optional_;
1543 uint64_t uint64_default_optional_;
1544 uint32_t uint32_default_optional_;
1545 int32_t sint32_default_optional_;
1546 int64_t sint64_default_optional_;
1547 uint64_t fixed64_default_optional_;
1548 uint32_t fixed32_default_optional_;
1549 int32_t sfixed32_default_optional_;
1550 int64_t sfixed64_default_optional_;
1551 double double_default_required_;
1552 float float_default_required_;
1553 int32_t int32_default_required_;
1554 bool bool_default_optional_;
1555 bool bool_default_required_;
1556 uint32_t uint32_default_required_;
1557 int64_t int64_default_required_;
1558 uint64_t uint64_default_required_;
1559 int64_t sint64_default_required_;
1560 int32_t sint32_default_required_;
1561 uint32_t fixed32_default_required_;
1562 uint64_t fixed64_default_required_;
1563 int64_t sfixed64_default_required_;
1564 int32_t sfixed32_default_required_;
1565 int enum_default_optional_;
1566 int enum_default_required_;
1567 };
1568 union { Impl_ _impl_; };
1569 friend struct ::TableStruct_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto;
1570};
1571// ===================================================================
1572
1573
1574// ===================================================================
1575
1576#ifdef __GNUC__
1577 #pragma GCC diagnostic push
1578 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1579#endif // __GNUC__
1580// EmbeddedMsg1
1581
1582// optional double val = 1 [(.dccl.field) = {
1583inline bool EmbeddedMsg1::_internal_has_val() const {
1584 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1585 return value;
1586}
1587inline bool EmbeddedMsg1::has_val() const {
1588 return _internal_has_val();
1589}
1590inline void EmbeddedMsg1::clear_val() {
1591 _impl_.val_ = 0;
1592 _impl_._has_bits_[0] &= ~0x00000002u;
1593}
1594inline double EmbeddedMsg1::_internal_val() const {
1595 return _impl_.val_;
1596}
1597inline double EmbeddedMsg1::val() const {
1598 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.EmbeddedMsg1.val)
1599 return _internal_val();
1600}
1601inline void EmbeddedMsg1::_internal_set_val(double value) {
1602 _impl_._has_bits_[0] |= 0x00000002u;
1603 _impl_.val_ = value;
1604}
1605inline void EmbeddedMsg1::set_val(double value) {
1606 _internal_set_val(value);
1607 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.EmbeddedMsg1.val)
1608}
1609
1610// optional .goby.test.acomms.protobuf.EmbeddedMsg2 msg = 2;
1611inline bool EmbeddedMsg1::_internal_has_msg() const {
1612 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1613 PROTOBUF_ASSUME(!value || _impl_.msg_ != nullptr);
1614 return value;
1615}
1616inline bool EmbeddedMsg1::has_msg() const {
1617 return _internal_has_msg();
1618}
1619inline void EmbeddedMsg1::clear_msg() {
1620 if (_impl_.msg_ != nullptr) _impl_.msg_->Clear();
1621 _impl_._has_bits_[0] &= ~0x00000001u;
1622}
1623inline const ::goby::test::acomms::protobuf::EmbeddedMsg2& EmbeddedMsg1::_internal_msg() const {
1624 const ::goby::test::acomms::protobuf::EmbeddedMsg2* p = _impl_.msg_;
1625 return p != nullptr ? *p : reinterpret_cast<const ::goby::test::acomms::protobuf::EmbeddedMsg2&>(
1627}
1628inline const ::goby::test::acomms::protobuf::EmbeddedMsg2& EmbeddedMsg1::msg() const {
1629 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.EmbeddedMsg1.msg)
1630 return _internal_msg();
1631}
1632inline void EmbeddedMsg1::unsafe_arena_set_allocated_msg(
1634 if (GetArenaForAllocation() == nullptr) {
1635 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.msg_);
1636 }
1637 _impl_.msg_ = msg;
1638 if (msg) {
1639 _impl_._has_bits_[0] |= 0x00000001u;
1640 } else {
1641 _impl_._has_bits_[0] &= ~0x00000001u;
1642 }
1643 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.acomms.protobuf.EmbeddedMsg1.msg)
1644}
1645inline ::goby::test::acomms::protobuf::EmbeddedMsg2* EmbeddedMsg1::release_msg() {
1646 _impl_._has_bits_[0] &= ~0x00000001u;
1648 _impl_.msg_ = nullptr;
1649#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1650 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1651 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1652 if (GetArenaForAllocation() == nullptr) { delete old; }
1653#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1654 if (GetArenaForAllocation() != nullptr) {
1655 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1656 }
1657#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1658 return temp;
1659}
1660inline ::goby::test::acomms::protobuf::EmbeddedMsg2* EmbeddedMsg1::unsafe_arena_release_msg() {
1661 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.EmbeddedMsg1.msg)
1662 _impl_._has_bits_[0] &= ~0x00000001u;
1664 _impl_.msg_ = nullptr;
1665 return temp;
1666}
1667inline ::goby::test::acomms::protobuf::EmbeddedMsg2* EmbeddedMsg1::_internal_mutable_msg() {
1668 _impl_._has_bits_[0] |= 0x00000001u;
1669 if (_impl_.msg_ == nullptr) {
1671 _impl_.msg_ = p;
1672 }
1673 return _impl_.msg_;
1674}
1675inline ::goby::test::acomms::protobuf::EmbeddedMsg2* EmbeddedMsg1::mutable_msg() {
1676 ::goby::test::acomms::protobuf::EmbeddedMsg2* _msg = _internal_mutable_msg();
1677 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.EmbeddedMsg1.msg)
1678 return _msg;
1679}
1680inline void EmbeddedMsg1::set_allocated_msg(::goby::test::acomms::protobuf::EmbeddedMsg2* msg) {
1681 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1682 if (message_arena == nullptr) {
1683 delete _impl_.msg_;
1684 }
1685 if (msg) {
1686 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1687 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(msg);
1688 if (message_arena != submessage_arena) {
1689 msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1690 message_arena, msg, submessage_arena);
1691 }
1692 _impl_._has_bits_[0] |= 0x00000001u;
1693 } else {
1694 _impl_._has_bits_[0] &= ~0x00000001u;
1695 }
1696 _impl_.msg_ = msg;
1697 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.EmbeddedMsg1.msg)
1698}
1699
1700// -------------------------------------------------------------------
1701
1702// EmbeddedMsg2
1703
1704// optional double val = 1 [(.dccl.field) = {
1705inline bool EmbeddedMsg2::_internal_has_val() const {
1706 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1707 return value;
1708}
1709inline bool EmbeddedMsg2::has_val() const {
1710 return _internal_has_val();
1711}
1712inline void EmbeddedMsg2::clear_val() {
1713 _impl_.val_ = 0;
1714 _impl_._has_bits_[0] &= ~0x00000002u;
1715}
1716inline double EmbeddedMsg2::_internal_val() const {
1717 return _impl_.val_;
1718}
1719inline double EmbeddedMsg2::val() const {
1720 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.EmbeddedMsg2.val)
1721 return _internal_val();
1722}
1723inline void EmbeddedMsg2::_internal_set_val(double value) {
1724 _impl_._has_bits_[0] |= 0x00000002u;
1725 _impl_.val_ = value;
1726}
1727inline void EmbeddedMsg2::set_val(double value) {
1728 _internal_set_val(value);
1729 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.EmbeddedMsg2.val)
1730}
1731
1732// optional string sval = 2 [(.dccl.field) = {
1733inline bool EmbeddedMsg2::_internal_has_sval() const {
1734 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1735 return value;
1736}
1737inline bool EmbeddedMsg2::has_sval() const {
1738 return _internal_has_sval();
1739}
1740inline void EmbeddedMsg2::clear_sval() {
1741 _impl_.sval_.ClearToEmpty();
1742 _impl_._has_bits_[0] &= ~0x00000001u;
1743}
1744inline const std::string& EmbeddedMsg2::sval() const {
1745 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.EmbeddedMsg2.sval)
1746 return _internal_sval();
1747}
1748template <typename ArgT0, typename... ArgT>
1749inline PROTOBUF_ALWAYS_INLINE
1750void EmbeddedMsg2::set_sval(ArgT0&& arg0, ArgT... args) {
1751 _impl_._has_bits_[0] |= 0x00000001u;
1752 _impl_.sval_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1753 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.EmbeddedMsg2.sval)
1754}
1755inline std::string* EmbeddedMsg2::mutable_sval() {
1756 std::string* _s = _internal_mutable_sval();
1757 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.EmbeddedMsg2.sval)
1758 return _s;
1759}
1760inline const std::string& EmbeddedMsg2::_internal_sval() const {
1761 return _impl_.sval_.Get();
1762}
1763inline void EmbeddedMsg2::_internal_set_sval(const std::string& value) {
1764 _impl_._has_bits_[0] |= 0x00000001u;
1765 _impl_.sval_.Set(value, GetArenaForAllocation());
1766}
1767inline std::string* EmbeddedMsg2::_internal_mutable_sval() {
1768 _impl_._has_bits_[0] |= 0x00000001u;
1769 return _impl_.sval_.Mutable(GetArenaForAllocation());
1770}
1771inline std::string* EmbeddedMsg2::release_sval() {
1772 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.EmbeddedMsg2.sval)
1773 if (!_internal_has_sval()) {
1774 return nullptr;
1775 }
1776 _impl_._has_bits_[0] &= ~0x00000001u;
1777 auto* p = _impl_.sval_.Release();
1778#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1779 if (_impl_.sval_.IsDefault()) {
1780 _impl_.sval_.Set("", GetArenaForAllocation());
1781 }
1782#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1783 return p;
1784}
1785inline void EmbeddedMsg2::set_allocated_sval(std::string* sval) {
1786 if (sval != nullptr) {
1787 _impl_._has_bits_[0] |= 0x00000001u;
1788 } else {
1789 _impl_._has_bits_[0] &= ~0x00000001u;
1790 }
1791 _impl_.sval_.SetAllocated(sval, GetArenaForAllocation());
1792#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1793 if (_impl_.sval_.IsDefault()) {
1794 _impl_.sval_.Set("", GetArenaForAllocation());
1795 }
1796#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1797 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.EmbeddedMsg2.sval)
1798}
1799
1800// optional .goby.test.acomms.protobuf.Enum1 enum_default = 3;
1801inline bool EmbeddedMsg2::_internal_has_enum_default() const {
1802 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1803 return value;
1804}
1805inline bool EmbeddedMsg2::has_enum_default() const {
1806 return _internal_has_enum_default();
1807}
1808inline void EmbeddedMsg2::clear_enum_default() {
1809 _impl_.enum_default_ = 1;
1810 _impl_._has_bits_[0] &= ~0x00000004u;
1811}
1812inline ::goby::test::acomms::protobuf::Enum1 EmbeddedMsg2::_internal_enum_default() const {
1813 return static_cast< ::goby::test::acomms::protobuf::Enum1 >(_impl_.enum_default_);
1814}
1815inline ::goby::test::acomms::protobuf::Enum1 EmbeddedMsg2::enum_default() const {
1816 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.EmbeddedMsg2.enum_default)
1817 return _internal_enum_default();
1818}
1819inline void EmbeddedMsg2::_internal_set_enum_default(::goby::test::acomms::protobuf::Enum1 value) {
1821 _impl_._has_bits_[0] |= 0x00000004u;
1822 _impl_.enum_default_ = value;
1823}
1824inline void EmbeddedMsg2::set_enum_default(::goby::test::acomms::protobuf::Enum1 value) {
1825 _internal_set_enum_default(value);
1826 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.EmbeddedMsg2.enum_default)
1827}
1828
1829// -------------------------------------------------------------------
1830
1831// TestMsg
1832
1833// optional double double_default_optional = 1 [(.dccl.field) = {
1834inline bool TestMsg::_internal_has_double_default_optional() const {
1835 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1836 return value;
1837}
1838inline bool TestMsg::has_double_default_optional() const {
1839 return _internal_has_double_default_optional();
1840}
1841inline void TestMsg::clear_double_default_optional() {
1842 _impl_.double_default_optional_ = 0;
1843 _impl_._has_bits_[0] &= ~0x00000040u;
1844}
1845inline double TestMsg::_internal_double_default_optional() const {
1846 return _impl_.double_default_optional_;
1847}
1848inline double TestMsg::double_default_optional() const {
1849 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.double_default_optional)
1850 return _internal_double_default_optional();
1851}
1852inline void TestMsg::_internal_set_double_default_optional(double value) {
1853 _impl_._has_bits_[0] |= 0x00000040u;
1854 _impl_.double_default_optional_ = value;
1855}
1856inline void TestMsg::set_double_default_optional(double value) {
1857 _internal_set_double_default_optional(value);
1858 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.double_default_optional)
1859}
1860
1861// optional float float_default_optional = 2 [(.dccl.field) = {
1862inline bool TestMsg::_internal_has_float_default_optional() const {
1863 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1864 return value;
1865}
1866inline bool TestMsg::has_float_default_optional() const {
1867 return _internal_has_float_default_optional();
1868}
1869inline void TestMsg::clear_float_default_optional() {
1870 _impl_.float_default_optional_ = 0;
1871 _impl_._has_bits_[0] &= ~0x00000080u;
1872}
1873inline float TestMsg::_internal_float_default_optional() const {
1874 return _impl_.float_default_optional_;
1875}
1876inline float TestMsg::float_default_optional() const {
1877 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.float_default_optional)
1878 return _internal_float_default_optional();
1879}
1880inline void TestMsg::_internal_set_float_default_optional(float value) {
1881 _impl_._has_bits_[0] |= 0x00000080u;
1882 _impl_.float_default_optional_ = value;
1883}
1884inline void TestMsg::set_float_default_optional(float value) {
1885 _internal_set_float_default_optional(value);
1886 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.float_default_optional)
1887}
1888
1889// optional int32 int32_default_optional = 3 [(.dccl.field) = {
1890inline bool TestMsg::_internal_has_int32_default_optional() const {
1891 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1892 return value;
1893}
1894inline bool TestMsg::has_int32_default_optional() const {
1895 return _internal_has_int32_default_optional();
1896}
1897inline void TestMsg::clear_int32_default_optional() {
1898 _impl_.int32_default_optional_ = 0;
1899 _impl_._has_bits_[0] &= ~0x00000100u;
1900}
1901inline int32_t TestMsg::_internal_int32_default_optional() const {
1902 return _impl_.int32_default_optional_;
1903}
1904inline int32_t TestMsg::int32_default_optional() const {
1905 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int32_default_optional)
1906 return _internal_int32_default_optional();
1907}
1908inline void TestMsg::_internal_set_int32_default_optional(int32_t value) {
1909 _impl_._has_bits_[0] |= 0x00000100u;
1910 _impl_.int32_default_optional_ = value;
1911}
1912inline void TestMsg::set_int32_default_optional(int32_t value) {
1913 _internal_set_int32_default_optional(value);
1914 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int32_default_optional)
1915}
1916
1917// optional int64 int64_default_optional = 4 [(.dccl.field) = {
1918inline bool TestMsg::_internal_has_int64_default_optional() const {
1919 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1920 return value;
1921}
1922inline bool TestMsg::has_int64_default_optional() const {
1923 return _internal_has_int64_default_optional();
1924}
1925inline void TestMsg::clear_int64_default_optional() {
1926 _impl_.int64_default_optional_ = int64_t{0};
1927 _impl_._has_bits_[0] &= ~0x00000200u;
1928}
1929inline int64_t TestMsg::_internal_int64_default_optional() const {
1930 return _impl_.int64_default_optional_;
1931}
1932inline int64_t TestMsg::int64_default_optional() const {
1933 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int64_default_optional)
1934 return _internal_int64_default_optional();
1935}
1936inline void TestMsg::_internal_set_int64_default_optional(int64_t value) {
1937 _impl_._has_bits_[0] |= 0x00000200u;
1938 _impl_.int64_default_optional_ = value;
1939}
1940inline void TestMsg::set_int64_default_optional(int64_t value) {
1941 _internal_set_int64_default_optional(value);
1942 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int64_default_optional)
1943}
1944
1945// optional uint32 uint32_default_optional = 5 [(.dccl.field) = {
1946inline bool TestMsg::_internal_has_uint32_default_optional() const {
1947 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1948 return value;
1949}
1950inline bool TestMsg::has_uint32_default_optional() const {
1951 return _internal_has_uint32_default_optional();
1952}
1953inline void TestMsg::clear_uint32_default_optional() {
1954 _impl_.uint32_default_optional_ = 0u;
1955 _impl_._has_bits_[0] &= ~0x00000800u;
1956}
1957inline uint32_t TestMsg::_internal_uint32_default_optional() const {
1958 return _impl_.uint32_default_optional_;
1959}
1960inline uint32_t TestMsg::uint32_default_optional() const {
1961 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint32_default_optional)
1962 return _internal_uint32_default_optional();
1963}
1964inline void TestMsg::_internal_set_uint32_default_optional(uint32_t value) {
1965 _impl_._has_bits_[0] |= 0x00000800u;
1966 _impl_.uint32_default_optional_ = value;
1967}
1968inline void TestMsg::set_uint32_default_optional(uint32_t value) {
1969 _internal_set_uint32_default_optional(value);
1970 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint32_default_optional)
1971}
1972
1973// optional uint64 uint64_default_optional = 6 [(.dccl.field) = {
1974inline bool TestMsg::_internal_has_uint64_default_optional() const {
1975 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1976 return value;
1977}
1978inline bool TestMsg::has_uint64_default_optional() const {
1979 return _internal_has_uint64_default_optional();
1980}
1981inline void TestMsg::clear_uint64_default_optional() {
1982 _impl_.uint64_default_optional_ = uint64_t{0u};
1983 _impl_._has_bits_[0] &= ~0x00000400u;
1984}
1985inline uint64_t TestMsg::_internal_uint64_default_optional() const {
1986 return _impl_.uint64_default_optional_;
1987}
1988inline uint64_t TestMsg::uint64_default_optional() const {
1989 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint64_default_optional)
1990 return _internal_uint64_default_optional();
1991}
1992inline void TestMsg::_internal_set_uint64_default_optional(uint64_t value) {
1993 _impl_._has_bits_[0] |= 0x00000400u;
1994 _impl_.uint64_default_optional_ = value;
1995}
1996inline void TestMsg::set_uint64_default_optional(uint64_t value) {
1997 _internal_set_uint64_default_optional(value);
1998 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint64_default_optional)
1999}
2000
2001// optional sint32 sint32_default_optional = 7 [(.dccl.field) = {
2002inline bool TestMsg::_internal_has_sint32_default_optional() const {
2003 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2004 return value;
2005}
2006inline bool TestMsg::has_sint32_default_optional() const {
2007 return _internal_has_sint32_default_optional();
2008}
2009inline void TestMsg::clear_sint32_default_optional() {
2010 _impl_.sint32_default_optional_ = 0;
2011 _impl_._has_bits_[0] &= ~0x00001000u;
2012}
2013inline int32_t TestMsg::_internal_sint32_default_optional() const {
2014 return _impl_.sint32_default_optional_;
2015}
2016inline int32_t TestMsg::sint32_default_optional() const {
2017 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint32_default_optional)
2018 return _internal_sint32_default_optional();
2019}
2020inline void TestMsg::_internal_set_sint32_default_optional(int32_t value) {
2021 _impl_._has_bits_[0] |= 0x00001000u;
2022 _impl_.sint32_default_optional_ = value;
2023}
2024inline void TestMsg::set_sint32_default_optional(int32_t value) {
2025 _internal_set_sint32_default_optional(value);
2026 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint32_default_optional)
2027}
2028
2029// optional sint64 sint64_default_optional = 8 [(.dccl.field) = {
2030inline bool TestMsg::_internal_has_sint64_default_optional() const {
2031 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
2032 return value;
2033}
2034inline bool TestMsg::has_sint64_default_optional() const {
2035 return _internal_has_sint64_default_optional();
2036}
2037inline void TestMsg::clear_sint64_default_optional() {
2038 _impl_.sint64_default_optional_ = int64_t{0};
2039 _impl_._has_bits_[0] &= ~0x00002000u;
2040}
2041inline int64_t TestMsg::_internal_sint64_default_optional() const {
2042 return _impl_.sint64_default_optional_;
2043}
2044inline int64_t TestMsg::sint64_default_optional() const {
2045 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint64_default_optional)
2046 return _internal_sint64_default_optional();
2047}
2048inline void TestMsg::_internal_set_sint64_default_optional(int64_t value) {
2049 _impl_._has_bits_[0] |= 0x00002000u;
2050 _impl_.sint64_default_optional_ = value;
2051}
2052inline void TestMsg::set_sint64_default_optional(int64_t value) {
2053 _internal_set_sint64_default_optional(value);
2054 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint64_default_optional)
2055}
2056
2057// optional fixed32 fixed32_default_optional = 9 [(.dccl.field) = {
2058inline bool TestMsg::_internal_has_fixed32_default_optional() const {
2059 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
2060 return value;
2061}
2062inline bool TestMsg::has_fixed32_default_optional() const {
2063 return _internal_has_fixed32_default_optional();
2064}
2065inline void TestMsg::clear_fixed32_default_optional() {
2066 _impl_.fixed32_default_optional_ = 0u;
2067 _impl_._has_bits_[0] &= ~0x00008000u;
2068}
2069inline uint32_t TestMsg::_internal_fixed32_default_optional() const {
2070 return _impl_.fixed32_default_optional_;
2071}
2072inline uint32_t TestMsg::fixed32_default_optional() const {
2073 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed32_default_optional)
2074 return _internal_fixed32_default_optional();
2075}
2076inline void TestMsg::_internal_set_fixed32_default_optional(uint32_t value) {
2077 _impl_._has_bits_[0] |= 0x00008000u;
2078 _impl_.fixed32_default_optional_ = value;
2079}
2080inline void TestMsg::set_fixed32_default_optional(uint32_t value) {
2081 _internal_set_fixed32_default_optional(value);
2082 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed32_default_optional)
2083}
2084
2085// optional fixed64 fixed64_default_optional = 10 [(.dccl.field) = {
2086inline bool TestMsg::_internal_has_fixed64_default_optional() const {
2087 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2088 return value;
2089}
2090inline bool TestMsg::has_fixed64_default_optional() const {
2091 return _internal_has_fixed64_default_optional();
2092}
2093inline void TestMsg::clear_fixed64_default_optional() {
2094 _impl_.fixed64_default_optional_ = uint64_t{0u};
2095 _impl_._has_bits_[0] &= ~0x00004000u;
2096}
2097inline uint64_t TestMsg::_internal_fixed64_default_optional() const {
2098 return _impl_.fixed64_default_optional_;
2099}
2100inline uint64_t TestMsg::fixed64_default_optional() const {
2101 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed64_default_optional)
2102 return _internal_fixed64_default_optional();
2103}
2104inline void TestMsg::_internal_set_fixed64_default_optional(uint64_t value) {
2105 _impl_._has_bits_[0] |= 0x00004000u;
2106 _impl_.fixed64_default_optional_ = value;
2107}
2108inline void TestMsg::set_fixed64_default_optional(uint64_t value) {
2109 _internal_set_fixed64_default_optional(value);
2110 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed64_default_optional)
2111}
2112
2113// optional sfixed32 sfixed32_default_optional = 11 [(.dccl.field) = {
2114inline bool TestMsg::_internal_has_sfixed32_default_optional() const {
2115 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
2116 return value;
2117}
2118inline bool TestMsg::has_sfixed32_default_optional() const {
2119 return _internal_has_sfixed32_default_optional();
2120}
2121inline void TestMsg::clear_sfixed32_default_optional() {
2122 _impl_.sfixed32_default_optional_ = 0;
2123 _impl_._has_bits_[0] &= ~0x00010000u;
2124}
2125inline int32_t TestMsg::_internal_sfixed32_default_optional() const {
2126 return _impl_.sfixed32_default_optional_;
2127}
2128inline int32_t TestMsg::sfixed32_default_optional() const {
2129 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed32_default_optional)
2130 return _internal_sfixed32_default_optional();
2131}
2132inline void TestMsg::_internal_set_sfixed32_default_optional(int32_t value) {
2133 _impl_._has_bits_[0] |= 0x00010000u;
2134 _impl_.sfixed32_default_optional_ = value;
2135}
2136inline void TestMsg::set_sfixed32_default_optional(int32_t value) {
2137 _internal_set_sfixed32_default_optional(value);
2138 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed32_default_optional)
2139}
2140
2141// optional sfixed64 sfixed64_default_optional = 12 [(.dccl.field) = {
2142inline bool TestMsg::_internal_has_sfixed64_default_optional() const {
2143 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
2144 return value;
2145}
2146inline bool TestMsg::has_sfixed64_default_optional() const {
2147 return _internal_has_sfixed64_default_optional();
2148}
2149inline void TestMsg::clear_sfixed64_default_optional() {
2150 _impl_.sfixed64_default_optional_ = int64_t{0};
2151 _impl_._has_bits_[0] &= ~0x00020000u;
2152}
2153inline int64_t TestMsg::_internal_sfixed64_default_optional() const {
2154 return _impl_.sfixed64_default_optional_;
2155}
2156inline int64_t TestMsg::sfixed64_default_optional() const {
2157 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed64_default_optional)
2158 return _internal_sfixed64_default_optional();
2159}
2160inline void TestMsg::_internal_set_sfixed64_default_optional(int64_t value) {
2161 _impl_._has_bits_[0] |= 0x00020000u;
2162 _impl_.sfixed64_default_optional_ = value;
2163}
2164inline void TestMsg::set_sfixed64_default_optional(int64_t value) {
2165 _internal_set_sfixed64_default_optional(value);
2166 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed64_default_optional)
2167}
2168
2169// optional bool bool_default_optional = 13;
2170inline bool TestMsg::_internal_has_bool_default_optional() const {
2171 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
2172 return value;
2173}
2174inline bool TestMsg::has_bool_default_optional() const {
2175 return _internal_has_bool_default_optional();
2176}
2177inline void TestMsg::clear_bool_default_optional() {
2178 _impl_.bool_default_optional_ = false;
2179 _impl_._has_bits_[0] &= ~0x00200000u;
2180}
2181inline bool TestMsg::_internal_bool_default_optional() const {
2182 return _impl_.bool_default_optional_;
2183}
2184inline bool TestMsg::bool_default_optional() const {
2185 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bool_default_optional)
2186 return _internal_bool_default_optional();
2187}
2188inline void TestMsg::_internal_set_bool_default_optional(bool value) {
2189 _impl_._has_bits_[0] |= 0x00200000u;
2190 _impl_.bool_default_optional_ = value;
2191}
2192inline void TestMsg::set_bool_default_optional(bool value) {
2193 _internal_set_bool_default_optional(value);
2194 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bool_default_optional)
2195}
2196
2197// optional string string_default_optional = 14 [(.dccl.field) = {
2198inline bool TestMsg::_internal_has_string_default_optional() const {
2199 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2200 return value;
2201}
2202inline bool TestMsg::has_string_default_optional() const {
2203 return _internal_has_string_default_optional();
2204}
2205inline void TestMsg::clear_string_default_optional() {
2206 _impl_.string_default_optional_.ClearToEmpty();
2207 _impl_._has_bits_[0] &= ~0x00000001u;
2208}
2209inline const std::string& TestMsg::string_default_optional() const {
2210 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.string_default_optional)
2211 return _internal_string_default_optional();
2212}
2213template <typename ArgT0, typename... ArgT>
2214inline PROTOBUF_ALWAYS_INLINE
2215void TestMsg::set_string_default_optional(ArgT0&& arg0, ArgT... args) {
2216 _impl_._has_bits_[0] |= 0x00000001u;
2217 _impl_.string_default_optional_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2218 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.string_default_optional)
2219}
2220inline std::string* TestMsg::mutable_string_default_optional() {
2221 std::string* _s = _internal_mutable_string_default_optional();
2222 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.string_default_optional)
2223 return _s;
2224}
2225inline const std::string& TestMsg::_internal_string_default_optional() const {
2226 return _impl_.string_default_optional_.Get();
2227}
2228inline void TestMsg::_internal_set_string_default_optional(const std::string& value) {
2229 _impl_._has_bits_[0] |= 0x00000001u;
2230 _impl_.string_default_optional_.Set(value, GetArenaForAllocation());
2231}
2232inline std::string* TestMsg::_internal_mutable_string_default_optional() {
2233 _impl_._has_bits_[0] |= 0x00000001u;
2234 return _impl_.string_default_optional_.Mutable(GetArenaForAllocation());
2235}
2236inline std::string* TestMsg::release_string_default_optional() {
2237 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.string_default_optional)
2238 if (!_internal_has_string_default_optional()) {
2239 return nullptr;
2240 }
2241 _impl_._has_bits_[0] &= ~0x00000001u;
2242 auto* p = _impl_.string_default_optional_.Release();
2243#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2244 if (_impl_.string_default_optional_.IsDefault()) {
2245 _impl_.string_default_optional_.Set("", GetArenaForAllocation());
2246 }
2247#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2248 return p;
2249}
2250inline void TestMsg::set_allocated_string_default_optional(std::string* string_default_optional) {
2251 if (string_default_optional != nullptr) {
2252 _impl_._has_bits_[0] |= 0x00000001u;
2253 } else {
2254 _impl_._has_bits_[0] &= ~0x00000001u;
2255 }
2256 _impl_.string_default_optional_.SetAllocated(string_default_optional, GetArenaForAllocation());
2257#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2258 if (_impl_.string_default_optional_.IsDefault()) {
2259 _impl_.string_default_optional_.Set("", GetArenaForAllocation());
2260 }
2261#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2262 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.string_default_optional)
2263}
2264
2265// optional bytes bytes_default_optional = 15 [(.dccl.field) = {
2266inline bool TestMsg::_internal_has_bytes_default_optional() const {
2267 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2268 return value;
2269}
2270inline bool TestMsg::has_bytes_default_optional() const {
2271 return _internal_has_bytes_default_optional();
2272}
2273inline void TestMsg::clear_bytes_default_optional() {
2274 _impl_.bytes_default_optional_.ClearToEmpty();
2275 _impl_._has_bits_[0] &= ~0x00000002u;
2276}
2277inline const std::string& TestMsg::bytes_default_optional() const {
2278 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bytes_default_optional)
2279 return _internal_bytes_default_optional();
2280}
2281template <typename ArgT0, typename... ArgT>
2282inline PROTOBUF_ALWAYS_INLINE
2283void TestMsg::set_bytes_default_optional(ArgT0&& arg0, ArgT... args) {
2284 _impl_._has_bits_[0] |= 0x00000002u;
2285 _impl_.bytes_default_optional_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2286 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bytes_default_optional)
2287}
2288inline std::string* TestMsg::mutable_bytes_default_optional() {
2289 std::string* _s = _internal_mutable_bytes_default_optional();
2290 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.bytes_default_optional)
2291 return _s;
2292}
2293inline const std::string& TestMsg::_internal_bytes_default_optional() const {
2294 return _impl_.bytes_default_optional_.Get();
2295}
2296inline void TestMsg::_internal_set_bytes_default_optional(const std::string& value) {
2297 _impl_._has_bits_[0] |= 0x00000002u;
2298 _impl_.bytes_default_optional_.Set(value, GetArenaForAllocation());
2299}
2300inline std::string* TestMsg::_internal_mutable_bytes_default_optional() {
2301 _impl_._has_bits_[0] |= 0x00000002u;
2302 return _impl_.bytes_default_optional_.Mutable(GetArenaForAllocation());
2303}
2304inline std::string* TestMsg::release_bytes_default_optional() {
2305 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.bytes_default_optional)
2306 if (!_internal_has_bytes_default_optional()) {
2307 return nullptr;
2308 }
2309 _impl_._has_bits_[0] &= ~0x00000002u;
2310 auto* p = _impl_.bytes_default_optional_.Release();
2311#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2312 if (_impl_.bytes_default_optional_.IsDefault()) {
2313 _impl_.bytes_default_optional_.Set("", GetArenaForAllocation());
2314 }
2315#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2316 return p;
2317}
2318inline void TestMsg::set_allocated_bytes_default_optional(std::string* bytes_default_optional) {
2319 if (bytes_default_optional != nullptr) {
2320 _impl_._has_bits_[0] |= 0x00000002u;
2321 } else {
2322 _impl_._has_bits_[0] &= ~0x00000002u;
2323 }
2324 _impl_.bytes_default_optional_.SetAllocated(bytes_default_optional, GetArenaForAllocation());
2325#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2326 if (_impl_.bytes_default_optional_.IsDefault()) {
2327 _impl_.bytes_default_optional_.Set("", GetArenaForAllocation());
2328 }
2329#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2330 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.bytes_default_optional)
2331}
2332
2333// optional .goby.test.acomms.protobuf.Enum1 enum_default_optional = 16;
2334inline bool TestMsg::_internal_has_enum_default_optional() const {
2335 bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0;
2336 return value;
2337}
2338inline bool TestMsg::has_enum_default_optional() const {
2339 return _internal_has_enum_default_optional();
2340}
2341inline void TestMsg::clear_enum_default_optional() {
2342 _impl_.enum_default_optional_ = 1;
2343 _impl_._has_bits_[1] &= ~0x00000001u;
2344}
2345inline ::goby::test::acomms::protobuf::Enum1 TestMsg::_internal_enum_default_optional() const {
2346 return static_cast< ::goby::test::acomms::protobuf::Enum1 >(_impl_.enum_default_optional_);
2347}
2348inline ::goby::test::acomms::protobuf::Enum1 TestMsg::enum_default_optional() const {
2349 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.enum_default_optional)
2350 return _internal_enum_default_optional();
2351}
2352inline void TestMsg::_internal_set_enum_default_optional(::goby::test::acomms::protobuf::Enum1 value) {
2354 _impl_._has_bits_[1] |= 0x00000001u;
2355 _impl_.enum_default_optional_ = value;
2356}
2357inline void TestMsg::set_enum_default_optional(::goby::test::acomms::protobuf::Enum1 value) {
2358 _internal_set_enum_default_optional(value);
2359 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.enum_default_optional)
2360}
2361
2362// optional .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_optional = 17;
2363inline bool TestMsg::_internal_has_msg_default_optional() const {
2364 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2365 PROTOBUF_ASSUME(!value || _impl_.msg_default_optional_ != nullptr);
2366 return value;
2367}
2368inline bool TestMsg::has_msg_default_optional() const {
2369 return _internal_has_msg_default_optional();
2370}
2371inline void TestMsg::clear_msg_default_optional() {
2372 if (_impl_.msg_default_optional_ != nullptr) _impl_.msg_default_optional_->Clear();
2373 _impl_._has_bits_[0] &= ~0x00000010u;
2374}
2375inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::_internal_msg_default_optional() const {
2376 const ::goby::test::acomms::protobuf::EmbeddedMsg1* p = _impl_.msg_default_optional_;
2377 return p != nullptr ? *p : reinterpret_cast<const ::goby::test::acomms::protobuf::EmbeddedMsg1&>(
2379}
2380inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::msg_default_optional() const {
2381 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.msg_default_optional)
2382 return _internal_msg_default_optional();
2383}
2384inline void TestMsg::unsafe_arena_set_allocated_msg_default_optional(
2385 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_optional) {
2386 if (GetArenaForAllocation() == nullptr) {
2387 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.msg_default_optional_);
2388 }
2389 _impl_.msg_default_optional_ = msg_default_optional;
2390 if (msg_default_optional) {
2391 _impl_._has_bits_[0] |= 0x00000010u;
2392 } else {
2393 _impl_._has_bits_[0] &= ~0x00000010u;
2394 }
2395 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.acomms.protobuf.TestMsg.msg_default_optional)
2396}
2397inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::release_msg_default_optional() {
2398 _impl_._has_bits_[0] &= ~0x00000010u;
2399 ::goby::test::acomms::protobuf::EmbeddedMsg1* temp = _impl_.msg_default_optional_;
2400 _impl_.msg_default_optional_ = nullptr;
2401#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2402 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2403 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2404 if (GetArenaForAllocation() == nullptr) { delete old; }
2405#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2406 if (GetArenaForAllocation() != nullptr) {
2407 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2408 }
2409#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2410 return temp;
2411}
2412inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::unsafe_arena_release_msg_default_optional() {
2413 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.msg_default_optional)
2414 _impl_._has_bits_[0] &= ~0x00000010u;
2415 ::goby::test::acomms::protobuf::EmbeddedMsg1* temp = _impl_.msg_default_optional_;
2416 _impl_.msg_default_optional_ = nullptr;
2417 return temp;
2418}
2419inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::_internal_mutable_msg_default_optional() {
2420 _impl_._has_bits_[0] |= 0x00000010u;
2421 if (_impl_.msg_default_optional_ == nullptr) {
2423 _impl_.msg_default_optional_ = p;
2424 }
2425 return _impl_.msg_default_optional_;
2426}
2427inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::mutable_msg_default_optional() {
2428 ::goby::test::acomms::protobuf::EmbeddedMsg1* _msg = _internal_mutable_msg_default_optional();
2429 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.msg_default_optional)
2430 return _msg;
2431}
2432inline void TestMsg::set_allocated_msg_default_optional(::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_optional) {
2433 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2434 if (message_arena == nullptr) {
2435 delete _impl_.msg_default_optional_;
2436 }
2437 if (msg_default_optional) {
2438 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2439 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(msg_default_optional);
2440 if (message_arena != submessage_arena) {
2441 msg_default_optional = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2442 message_arena, msg_default_optional, submessage_arena);
2443 }
2444 _impl_._has_bits_[0] |= 0x00000010u;
2445 } else {
2446 _impl_._has_bits_[0] &= ~0x00000010u;
2447 }
2448 _impl_.msg_default_optional_ = msg_default_optional;
2449 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.msg_default_optional)
2450}
2451
2452// required double double_default_required = 21 [(.dccl.field) = {
2453inline bool TestMsg::_internal_has_double_default_required() const {
2454 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
2455 return value;
2456}
2457inline bool TestMsg::has_double_default_required() const {
2458 return _internal_has_double_default_required();
2459}
2460inline void TestMsg::clear_double_default_required() {
2461 _impl_.double_default_required_ = 0;
2462 _impl_._has_bits_[0] &= ~0x00040000u;
2463}
2464inline double TestMsg::_internal_double_default_required() const {
2465 return _impl_.double_default_required_;
2466}
2467inline double TestMsg::double_default_required() const {
2468 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.double_default_required)
2469 return _internal_double_default_required();
2470}
2471inline void TestMsg::_internal_set_double_default_required(double value) {
2472 _impl_._has_bits_[0] |= 0x00040000u;
2473 _impl_.double_default_required_ = value;
2474}
2475inline void TestMsg::set_double_default_required(double value) {
2476 _internal_set_double_default_required(value);
2477 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.double_default_required)
2478}
2479
2480// required float float_default_required = 22 [(.dccl.field) = {
2481inline bool TestMsg::_internal_has_float_default_required() const {
2482 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
2483 return value;
2484}
2485inline bool TestMsg::has_float_default_required() const {
2486 return _internal_has_float_default_required();
2487}
2488inline void TestMsg::clear_float_default_required() {
2489 _impl_.float_default_required_ = 0;
2490 _impl_._has_bits_[0] &= ~0x00080000u;
2491}
2492inline float TestMsg::_internal_float_default_required() const {
2493 return _impl_.float_default_required_;
2494}
2495inline float TestMsg::float_default_required() const {
2496 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.float_default_required)
2497 return _internal_float_default_required();
2498}
2499inline void TestMsg::_internal_set_float_default_required(float value) {
2500 _impl_._has_bits_[0] |= 0x00080000u;
2501 _impl_.float_default_required_ = value;
2502}
2503inline void TestMsg::set_float_default_required(float value) {
2504 _internal_set_float_default_required(value);
2505 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.float_default_required)
2506}
2507
2508// required int32 int32_default_required = 23 [(.dccl.field) = {
2509inline bool TestMsg::_internal_has_int32_default_required() const {
2510 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
2511 return value;
2512}
2513inline bool TestMsg::has_int32_default_required() const {
2514 return _internal_has_int32_default_required();
2515}
2516inline void TestMsg::clear_int32_default_required() {
2517 _impl_.int32_default_required_ = 0;
2518 _impl_._has_bits_[0] &= ~0x00100000u;
2519}
2520inline int32_t TestMsg::_internal_int32_default_required() const {
2521 return _impl_.int32_default_required_;
2522}
2523inline int32_t TestMsg::int32_default_required() const {
2524 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int32_default_required)
2525 return _internal_int32_default_required();
2526}
2527inline void TestMsg::_internal_set_int32_default_required(int32_t value) {
2528 _impl_._has_bits_[0] |= 0x00100000u;
2529 _impl_.int32_default_required_ = value;
2530}
2531inline void TestMsg::set_int32_default_required(int32_t value) {
2532 _internal_set_int32_default_required(value);
2533 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int32_default_required)
2534}
2535
2536// required int64 int64_default_required = 24 [(.dccl.field) = {
2537inline bool TestMsg::_internal_has_int64_default_required() const {
2538 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
2539 return value;
2540}
2541inline bool TestMsg::has_int64_default_required() const {
2542 return _internal_has_int64_default_required();
2543}
2544inline void TestMsg::clear_int64_default_required() {
2545 _impl_.int64_default_required_ = int64_t{0};
2546 _impl_._has_bits_[0] &= ~0x01000000u;
2547}
2548inline int64_t TestMsg::_internal_int64_default_required() const {
2549 return _impl_.int64_default_required_;
2550}
2551inline int64_t TestMsg::int64_default_required() const {
2552 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int64_default_required)
2553 return _internal_int64_default_required();
2554}
2555inline void TestMsg::_internal_set_int64_default_required(int64_t value) {
2556 _impl_._has_bits_[0] |= 0x01000000u;
2557 _impl_.int64_default_required_ = value;
2558}
2559inline void TestMsg::set_int64_default_required(int64_t value) {
2560 _internal_set_int64_default_required(value);
2561 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int64_default_required)
2562}
2563
2564// required uint32 uint32_default_required = 25 [(.dccl.field) = {
2565inline bool TestMsg::_internal_has_uint32_default_required() const {
2566 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
2567 return value;
2568}
2569inline bool TestMsg::has_uint32_default_required() const {
2570 return _internal_has_uint32_default_required();
2571}
2572inline void TestMsg::clear_uint32_default_required() {
2573 _impl_.uint32_default_required_ = 0u;
2574 _impl_._has_bits_[0] &= ~0x00800000u;
2575}
2576inline uint32_t TestMsg::_internal_uint32_default_required() const {
2577 return _impl_.uint32_default_required_;
2578}
2579inline uint32_t TestMsg::uint32_default_required() const {
2580 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint32_default_required)
2581 return _internal_uint32_default_required();
2582}
2583inline void TestMsg::_internal_set_uint32_default_required(uint32_t value) {
2584 _impl_._has_bits_[0] |= 0x00800000u;
2585 _impl_.uint32_default_required_ = value;
2586}
2587inline void TestMsg::set_uint32_default_required(uint32_t value) {
2588 _internal_set_uint32_default_required(value);
2589 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint32_default_required)
2590}
2591
2592// required uint64 uint64_default_required = 26 [(.dccl.field) = {
2593inline bool TestMsg::_internal_has_uint64_default_required() const {
2594 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
2595 return value;
2596}
2597inline bool TestMsg::has_uint64_default_required() const {
2598 return _internal_has_uint64_default_required();
2599}
2600inline void TestMsg::clear_uint64_default_required() {
2601 _impl_.uint64_default_required_ = uint64_t{0u};
2602 _impl_._has_bits_[0] &= ~0x02000000u;
2603}
2604inline uint64_t TestMsg::_internal_uint64_default_required() const {
2605 return _impl_.uint64_default_required_;
2606}
2607inline uint64_t TestMsg::uint64_default_required() const {
2608 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint64_default_required)
2609 return _internal_uint64_default_required();
2610}
2611inline void TestMsg::_internal_set_uint64_default_required(uint64_t value) {
2612 _impl_._has_bits_[0] |= 0x02000000u;
2613 _impl_.uint64_default_required_ = value;
2614}
2615inline void TestMsg::set_uint64_default_required(uint64_t value) {
2616 _internal_set_uint64_default_required(value);
2617 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint64_default_required)
2618}
2619
2620// required sint32 sint32_default_required = 27 [(.dccl.field) = {
2621inline bool TestMsg::_internal_has_sint32_default_required() const {
2622 bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0;
2623 return value;
2624}
2625inline bool TestMsg::has_sint32_default_required() const {
2626 return _internal_has_sint32_default_required();
2627}
2628inline void TestMsg::clear_sint32_default_required() {
2629 _impl_.sint32_default_required_ = 0;
2630 _impl_._has_bits_[0] &= ~0x08000000u;
2631}
2632inline int32_t TestMsg::_internal_sint32_default_required() const {
2633 return _impl_.sint32_default_required_;
2634}
2635inline int32_t TestMsg::sint32_default_required() const {
2636 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint32_default_required)
2637 return _internal_sint32_default_required();
2638}
2639inline void TestMsg::_internal_set_sint32_default_required(int32_t value) {
2640 _impl_._has_bits_[0] |= 0x08000000u;
2641 _impl_.sint32_default_required_ = value;
2642}
2643inline void TestMsg::set_sint32_default_required(int32_t value) {
2644 _internal_set_sint32_default_required(value);
2645 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint32_default_required)
2646}
2647
2648// required sint64 sint64_default_required = 28 [(.dccl.field) = {
2649inline bool TestMsg::_internal_has_sint64_default_required() const {
2650 bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
2651 return value;
2652}
2653inline bool TestMsg::has_sint64_default_required() const {
2654 return _internal_has_sint64_default_required();
2655}
2656inline void TestMsg::clear_sint64_default_required() {
2657 _impl_.sint64_default_required_ = int64_t{0};
2658 _impl_._has_bits_[0] &= ~0x04000000u;
2659}
2660inline int64_t TestMsg::_internal_sint64_default_required() const {
2661 return _impl_.sint64_default_required_;
2662}
2663inline int64_t TestMsg::sint64_default_required() const {
2664 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint64_default_required)
2665 return _internal_sint64_default_required();
2666}
2667inline void TestMsg::_internal_set_sint64_default_required(int64_t value) {
2668 _impl_._has_bits_[0] |= 0x04000000u;
2669 _impl_.sint64_default_required_ = value;
2670}
2671inline void TestMsg::set_sint64_default_required(int64_t value) {
2672 _internal_set_sint64_default_required(value);
2673 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint64_default_required)
2674}
2675
2676// required fixed32 fixed32_default_required = 29 [(.dccl.field) = {
2677inline bool TestMsg::_internal_has_fixed32_default_required() const {
2678 bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0;
2679 return value;
2680}
2681inline bool TestMsg::has_fixed32_default_required() const {
2682 return _internal_has_fixed32_default_required();
2683}
2684inline void TestMsg::clear_fixed32_default_required() {
2685 _impl_.fixed32_default_required_ = 0u;
2686 _impl_._has_bits_[0] &= ~0x10000000u;
2687}
2688inline uint32_t TestMsg::_internal_fixed32_default_required() const {
2689 return _impl_.fixed32_default_required_;
2690}
2691inline uint32_t TestMsg::fixed32_default_required() const {
2692 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed32_default_required)
2693 return _internal_fixed32_default_required();
2694}
2695inline void TestMsg::_internal_set_fixed32_default_required(uint32_t value) {
2696 _impl_._has_bits_[0] |= 0x10000000u;
2697 _impl_.fixed32_default_required_ = value;
2698}
2699inline void TestMsg::set_fixed32_default_required(uint32_t value) {
2700 _internal_set_fixed32_default_required(value);
2701 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed32_default_required)
2702}
2703
2704// required fixed64 fixed64_default_required = 30 [(.dccl.field) = {
2705inline bool TestMsg::_internal_has_fixed64_default_required() const {
2706 bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0;
2707 return value;
2708}
2709inline bool TestMsg::has_fixed64_default_required() const {
2710 return _internal_has_fixed64_default_required();
2711}
2712inline void TestMsg::clear_fixed64_default_required() {
2713 _impl_.fixed64_default_required_ = uint64_t{0u};
2714 _impl_._has_bits_[0] &= ~0x20000000u;
2715}
2716inline uint64_t TestMsg::_internal_fixed64_default_required() const {
2717 return _impl_.fixed64_default_required_;
2718}
2719inline uint64_t TestMsg::fixed64_default_required() const {
2720 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed64_default_required)
2721 return _internal_fixed64_default_required();
2722}
2723inline void TestMsg::_internal_set_fixed64_default_required(uint64_t value) {
2724 _impl_._has_bits_[0] |= 0x20000000u;
2725 _impl_.fixed64_default_required_ = value;
2726}
2727inline void TestMsg::set_fixed64_default_required(uint64_t value) {
2728 _internal_set_fixed64_default_required(value);
2729 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed64_default_required)
2730}
2731
2732// required sfixed32 sfixed32_default_required = 31 [(.dccl.field) = {
2733inline bool TestMsg::_internal_has_sfixed32_default_required() const {
2734 bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0;
2735 return value;
2736}
2737inline bool TestMsg::has_sfixed32_default_required() const {
2738 return _internal_has_sfixed32_default_required();
2739}
2740inline void TestMsg::clear_sfixed32_default_required() {
2741 _impl_.sfixed32_default_required_ = 0;
2742 _impl_._has_bits_[0] &= ~0x80000000u;
2743}
2744inline int32_t TestMsg::_internal_sfixed32_default_required() const {
2745 return _impl_.sfixed32_default_required_;
2746}
2747inline int32_t TestMsg::sfixed32_default_required() const {
2748 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed32_default_required)
2749 return _internal_sfixed32_default_required();
2750}
2751inline void TestMsg::_internal_set_sfixed32_default_required(int32_t value) {
2752 _impl_._has_bits_[0] |= 0x80000000u;
2753 _impl_.sfixed32_default_required_ = value;
2754}
2755inline void TestMsg::set_sfixed32_default_required(int32_t value) {
2756 _internal_set_sfixed32_default_required(value);
2757 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed32_default_required)
2758}
2759
2760// required sfixed64 sfixed64_default_required = 32 [(.dccl.field) = {
2761inline bool TestMsg::_internal_has_sfixed64_default_required() const {
2762 bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0;
2763 return value;
2764}
2765inline bool TestMsg::has_sfixed64_default_required() const {
2766 return _internal_has_sfixed64_default_required();
2767}
2768inline void TestMsg::clear_sfixed64_default_required() {
2769 _impl_.sfixed64_default_required_ = int64_t{0};
2770 _impl_._has_bits_[0] &= ~0x40000000u;
2771}
2772inline int64_t TestMsg::_internal_sfixed64_default_required() const {
2773 return _impl_.sfixed64_default_required_;
2774}
2775inline int64_t TestMsg::sfixed64_default_required() const {
2776 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed64_default_required)
2777 return _internal_sfixed64_default_required();
2778}
2779inline void TestMsg::_internal_set_sfixed64_default_required(int64_t value) {
2780 _impl_._has_bits_[0] |= 0x40000000u;
2781 _impl_.sfixed64_default_required_ = value;
2782}
2783inline void TestMsg::set_sfixed64_default_required(int64_t value) {
2784 _internal_set_sfixed64_default_required(value);
2785 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed64_default_required)
2786}
2787
2788// required bool bool_default_required = 33;
2789inline bool TestMsg::_internal_has_bool_default_required() const {
2790 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
2791 return value;
2792}
2793inline bool TestMsg::has_bool_default_required() const {
2794 return _internal_has_bool_default_required();
2795}
2796inline void TestMsg::clear_bool_default_required() {
2797 _impl_.bool_default_required_ = false;
2798 _impl_._has_bits_[0] &= ~0x00400000u;
2799}
2800inline bool TestMsg::_internal_bool_default_required() const {
2801 return _impl_.bool_default_required_;
2802}
2803inline bool TestMsg::bool_default_required() const {
2804 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bool_default_required)
2805 return _internal_bool_default_required();
2806}
2807inline void TestMsg::_internal_set_bool_default_required(bool value) {
2808 _impl_._has_bits_[0] |= 0x00400000u;
2809 _impl_.bool_default_required_ = value;
2810}
2811inline void TestMsg::set_bool_default_required(bool value) {
2812 _internal_set_bool_default_required(value);
2813 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bool_default_required)
2814}
2815
2816// required string string_default_required = 34 [(.dccl.field) = {
2817inline bool TestMsg::_internal_has_string_default_required() const {
2818 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2819 return value;
2820}
2821inline bool TestMsg::has_string_default_required() const {
2822 return _internal_has_string_default_required();
2823}
2824inline void TestMsg::clear_string_default_required() {
2825 _impl_.string_default_required_.ClearToEmpty();
2826 _impl_._has_bits_[0] &= ~0x00000004u;
2827}
2828inline const std::string& TestMsg::string_default_required() const {
2829 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.string_default_required)
2830 return _internal_string_default_required();
2831}
2832template <typename ArgT0, typename... ArgT>
2833inline PROTOBUF_ALWAYS_INLINE
2834void TestMsg::set_string_default_required(ArgT0&& arg0, ArgT... args) {
2835 _impl_._has_bits_[0] |= 0x00000004u;
2836 _impl_.string_default_required_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2837 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.string_default_required)
2838}
2839inline std::string* TestMsg::mutable_string_default_required() {
2840 std::string* _s = _internal_mutable_string_default_required();
2841 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.string_default_required)
2842 return _s;
2843}
2844inline const std::string& TestMsg::_internal_string_default_required() const {
2845 return _impl_.string_default_required_.Get();
2846}
2847inline void TestMsg::_internal_set_string_default_required(const std::string& value) {
2848 _impl_._has_bits_[0] |= 0x00000004u;
2849 _impl_.string_default_required_.Set(value, GetArenaForAllocation());
2850}
2851inline std::string* TestMsg::_internal_mutable_string_default_required() {
2852 _impl_._has_bits_[0] |= 0x00000004u;
2853 return _impl_.string_default_required_.Mutable(GetArenaForAllocation());
2854}
2855inline std::string* TestMsg::release_string_default_required() {
2856 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.string_default_required)
2857 if (!_internal_has_string_default_required()) {
2858 return nullptr;
2859 }
2860 _impl_._has_bits_[0] &= ~0x00000004u;
2861 auto* p = _impl_.string_default_required_.Release();
2862#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2863 if (_impl_.string_default_required_.IsDefault()) {
2864 _impl_.string_default_required_.Set("", GetArenaForAllocation());
2865 }
2866#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2867 return p;
2868}
2869inline void TestMsg::set_allocated_string_default_required(std::string* string_default_required) {
2870 if (string_default_required != nullptr) {
2871 _impl_._has_bits_[0] |= 0x00000004u;
2872 } else {
2873 _impl_._has_bits_[0] &= ~0x00000004u;
2874 }
2875 _impl_.string_default_required_.SetAllocated(string_default_required, GetArenaForAllocation());
2876#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2877 if (_impl_.string_default_required_.IsDefault()) {
2878 _impl_.string_default_required_.Set("", GetArenaForAllocation());
2879 }
2880#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2881 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.string_default_required)
2882}
2883
2884// required bytes bytes_default_required = 35 [(.dccl.field) = {
2885inline bool TestMsg::_internal_has_bytes_default_required() const {
2886 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2887 return value;
2888}
2889inline bool TestMsg::has_bytes_default_required() const {
2890 return _internal_has_bytes_default_required();
2891}
2892inline void TestMsg::clear_bytes_default_required() {
2893 _impl_.bytes_default_required_.ClearToEmpty();
2894 _impl_._has_bits_[0] &= ~0x00000008u;
2895}
2896inline const std::string& TestMsg::bytes_default_required() const {
2897 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bytes_default_required)
2898 return _internal_bytes_default_required();
2899}
2900template <typename ArgT0, typename... ArgT>
2901inline PROTOBUF_ALWAYS_INLINE
2902void TestMsg::set_bytes_default_required(ArgT0&& arg0, ArgT... args) {
2903 _impl_._has_bits_[0] |= 0x00000008u;
2904 _impl_.bytes_default_required_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2905 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bytes_default_required)
2906}
2907inline std::string* TestMsg::mutable_bytes_default_required() {
2908 std::string* _s = _internal_mutable_bytes_default_required();
2909 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.bytes_default_required)
2910 return _s;
2911}
2912inline const std::string& TestMsg::_internal_bytes_default_required() const {
2913 return _impl_.bytes_default_required_.Get();
2914}
2915inline void TestMsg::_internal_set_bytes_default_required(const std::string& value) {
2916 _impl_._has_bits_[0] |= 0x00000008u;
2917 _impl_.bytes_default_required_.Set(value, GetArenaForAllocation());
2918}
2919inline std::string* TestMsg::_internal_mutable_bytes_default_required() {
2920 _impl_._has_bits_[0] |= 0x00000008u;
2921 return _impl_.bytes_default_required_.Mutable(GetArenaForAllocation());
2922}
2923inline std::string* TestMsg::release_bytes_default_required() {
2924 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.bytes_default_required)
2925 if (!_internal_has_bytes_default_required()) {
2926 return nullptr;
2927 }
2928 _impl_._has_bits_[0] &= ~0x00000008u;
2929 auto* p = _impl_.bytes_default_required_.Release();
2930#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2931 if (_impl_.bytes_default_required_.IsDefault()) {
2932 _impl_.bytes_default_required_.Set("", GetArenaForAllocation());
2933 }
2934#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2935 return p;
2936}
2937inline void TestMsg::set_allocated_bytes_default_required(std::string* bytes_default_required) {
2938 if (bytes_default_required != nullptr) {
2939 _impl_._has_bits_[0] |= 0x00000008u;
2940 } else {
2941 _impl_._has_bits_[0] &= ~0x00000008u;
2942 }
2943 _impl_.bytes_default_required_.SetAllocated(bytes_default_required, GetArenaForAllocation());
2944#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2945 if (_impl_.bytes_default_required_.IsDefault()) {
2946 _impl_.bytes_default_required_.Set("", GetArenaForAllocation());
2947 }
2948#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2949 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.bytes_default_required)
2950}
2951
2952// required .goby.test.acomms.protobuf.Enum1 enum_default_required = 36;
2953inline bool TestMsg::_internal_has_enum_default_required() const {
2954 bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0;
2955 return value;
2956}
2957inline bool TestMsg::has_enum_default_required() const {
2958 return _internal_has_enum_default_required();
2959}
2960inline void TestMsg::clear_enum_default_required() {
2961 _impl_.enum_default_required_ = 1;
2962 _impl_._has_bits_[1] &= ~0x00000002u;
2963}
2964inline ::goby::test::acomms::protobuf::Enum1 TestMsg::_internal_enum_default_required() const {
2965 return static_cast< ::goby::test::acomms::protobuf::Enum1 >(_impl_.enum_default_required_);
2966}
2967inline ::goby::test::acomms::protobuf::Enum1 TestMsg::enum_default_required() const {
2968 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.enum_default_required)
2969 return _internal_enum_default_required();
2970}
2971inline void TestMsg::_internal_set_enum_default_required(::goby::test::acomms::protobuf::Enum1 value) {
2973 _impl_._has_bits_[1] |= 0x00000002u;
2974 _impl_.enum_default_required_ = value;
2975}
2976inline void TestMsg::set_enum_default_required(::goby::test::acomms::protobuf::Enum1 value) {
2977 _internal_set_enum_default_required(value);
2978 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.enum_default_required)
2979}
2980
2981// required .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_required = 37;
2982inline bool TestMsg::_internal_has_msg_default_required() const {
2983 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2984 PROTOBUF_ASSUME(!value || _impl_.msg_default_required_ != nullptr);
2985 return value;
2986}
2987inline bool TestMsg::has_msg_default_required() const {
2988 return _internal_has_msg_default_required();
2989}
2990inline void TestMsg::clear_msg_default_required() {
2991 if (_impl_.msg_default_required_ != nullptr) _impl_.msg_default_required_->Clear();
2992 _impl_._has_bits_[0] &= ~0x00000020u;
2993}
2994inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::_internal_msg_default_required() const {
2995 const ::goby::test::acomms::protobuf::EmbeddedMsg1* p = _impl_.msg_default_required_;
2996 return p != nullptr ? *p : reinterpret_cast<const ::goby::test::acomms::protobuf::EmbeddedMsg1&>(
2998}
2999inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::msg_default_required() const {
3000 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.msg_default_required)
3001 return _internal_msg_default_required();
3002}
3003inline void TestMsg::unsafe_arena_set_allocated_msg_default_required(
3004 ::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_required) {
3005 if (GetArenaForAllocation() == nullptr) {
3006 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.msg_default_required_);
3007 }
3008 _impl_.msg_default_required_ = msg_default_required;
3009 if (msg_default_required) {
3010 _impl_._has_bits_[0] |= 0x00000020u;
3011 } else {
3012 _impl_._has_bits_[0] &= ~0x00000020u;
3013 }
3014 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.acomms.protobuf.TestMsg.msg_default_required)
3015}
3016inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::release_msg_default_required() {
3017 _impl_._has_bits_[0] &= ~0x00000020u;
3018 ::goby::test::acomms::protobuf::EmbeddedMsg1* temp = _impl_.msg_default_required_;
3019 _impl_.msg_default_required_ = nullptr;
3020#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3021 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3022 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3023 if (GetArenaForAllocation() == nullptr) { delete old; }
3024#else // PROTOBUF_FORCE_COPY_IN_RELEASE
3025 if (GetArenaForAllocation() != nullptr) {
3026 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3027 }
3028#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
3029 return temp;
3030}
3031inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::unsafe_arena_release_msg_default_required() {
3032 // @@protoc_insertion_point(field_release:goby.test.acomms.protobuf.TestMsg.msg_default_required)
3033 _impl_._has_bits_[0] &= ~0x00000020u;
3034 ::goby::test::acomms::protobuf::EmbeddedMsg1* temp = _impl_.msg_default_required_;
3035 _impl_.msg_default_required_ = nullptr;
3036 return temp;
3037}
3038inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::_internal_mutable_msg_default_required() {
3039 _impl_._has_bits_[0] |= 0x00000020u;
3040 if (_impl_.msg_default_required_ == nullptr) {
3042 _impl_.msg_default_required_ = p;
3043 }
3044 return _impl_.msg_default_required_;
3045}
3046inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::mutable_msg_default_required() {
3047 ::goby::test::acomms::protobuf::EmbeddedMsg1* _msg = _internal_mutable_msg_default_required();
3048 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.msg_default_required)
3049 return _msg;
3050}
3051inline void TestMsg::set_allocated_msg_default_required(::goby::test::acomms::protobuf::EmbeddedMsg1* msg_default_required) {
3052 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3053 if (message_arena == nullptr) {
3054 delete _impl_.msg_default_required_;
3055 }
3056 if (msg_default_required) {
3057 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3058 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(msg_default_required);
3059 if (message_arena != submessage_arena) {
3060 msg_default_required = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3061 message_arena, msg_default_required, submessage_arena);
3062 }
3063 _impl_._has_bits_[0] |= 0x00000020u;
3064 } else {
3065 _impl_._has_bits_[0] &= ~0x00000020u;
3066 }
3067 _impl_.msg_default_required_ = msg_default_required;
3068 // @@protoc_insertion_point(field_set_allocated:goby.test.acomms.protobuf.TestMsg.msg_default_required)
3069}
3070
3071// repeated double double_default_repeat = 101 [(.dccl.field) = {
3072inline int TestMsg::_internal_double_default_repeat_size() const {
3073 return _impl_.double_default_repeat_.size();
3074}
3075inline int TestMsg::double_default_repeat_size() const {
3076 return _internal_double_default_repeat_size();
3077}
3078inline void TestMsg::clear_double_default_repeat() {
3079 _impl_.double_default_repeat_.Clear();
3080}
3081inline double TestMsg::_internal_double_default_repeat(int index) const {
3082 return _impl_.double_default_repeat_.Get(index);
3083}
3084inline double TestMsg::double_default_repeat(int index) const {
3085 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.double_default_repeat)
3086 return _internal_double_default_repeat(index);
3087}
3088inline void TestMsg::set_double_default_repeat(int index, double value) {
3089 _impl_.double_default_repeat_.Set(index, value);
3090 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.double_default_repeat)
3091}
3092inline void TestMsg::_internal_add_double_default_repeat(double value) {
3093 _impl_.double_default_repeat_.Add(value);
3094}
3095inline void TestMsg::add_double_default_repeat(double value) {
3096 _internal_add_double_default_repeat(value);
3097 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.double_default_repeat)
3098}
3099inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
3100TestMsg::_internal_double_default_repeat() const {
3101 return _impl_.double_default_repeat_;
3102}
3103inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
3104TestMsg::double_default_repeat() const {
3105 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.double_default_repeat)
3106 return _internal_double_default_repeat();
3107}
3108inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
3109TestMsg::_internal_mutable_double_default_repeat() {
3110 return &_impl_.double_default_repeat_;
3111}
3112inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
3113TestMsg::mutable_double_default_repeat() {
3114 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.double_default_repeat)
3115 return _internal_mutable_double_default_repeat();
3116}
3117
3118// repeated float float_default_repeat = 102 [(.dccl.field) = {
3119inline int TestMsg::_internal_float_default_repeat_size() const {
3120 return _impl_.float_default_repeat_.size();
3121}
3122inline int TestMsg::float_default_repeat_size() const {
3123 return _internal_float_default_repeat_size();
3124}
3125inline void TestMsg::clear_float_default_repeat() {
3126 _impl_.float_default_repeat_.Clear();
3127}
3128inline float TestMsg::_internal_float_default_repeat(int index) const {
3129 return _impl_.float_default_repeat_.Get(index);
3130}
3131inline float TestMsg::float_default_repeat(int index) const {
3132 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.float_default_repeat)
3133 return _internal_float_default_repeat(index);
3134}
3135inline void TestMsg::set_float_default_repeat(int index, float value) {
3136 _impl_.float_default_repeat_.Set(index, value);
3137 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.float_default_repeat)
3138}
3139inline void TestMsg::_internal_add_float_default_repeat(float value) {
3140 _impl_.float_default_repeat_.Add(value);
3141}
3142inline void TestMsg::add_float_default_repeat(float value) {
3143 _internal_add_float_default_repeat(value);
3144 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.float_default_repeat)
3145}
3146inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
3147TestMsg::_internal_float_default_repeat() const {
3148 return _impl_.float_default_repeat_;
3149}
3150inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
3151TestMsg::float_default_repeat() const {
3152 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.float_default_repeat)
3153 return _internal_float_default_repeat();
3154}
3155inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
3156TestMsg::_internal_mutable_float_default_repeat() {
3157 return &_impl_.float_default_repeat_;
3158}
3159inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
3160TestMsg::mutable_float_default_repeat() {
3161 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.float_default_repeat)
3162 return _internal_mutable_float_default_repeat();
3163}
3164
3165// repeated int32 int32_default_repeat = 103 [(.dccl.field) = {
3166inline int TestMsg::_internal_int32_default_repeat_size() const {
3167 return _impl_.int32_default_repeat_.size();
3168}
3169inline int TestMsg::int32_default_repeat_size() const {
3170 return _internal_int32_default_repeat_size();
3171}
3172inline void TestMsg::clear_int32_default_repeat() {
3173 _impl_.int32_default_repeat_.Clear();
3174}
3175inline int32_t TestMsg::_internal_int32_default_repeat(int index) const {
3176 return _impl_.int32_default_repeat_.Get(index);
3177}
3178inline int32_t TestMsg::int32_default_repeat(int index) const {
3179 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int32_default_repeat)
3180 return _internal_int32_default_repeat(index);
3181}
3182inline void TestMsg::set_int32_default_repeat(int index, int32_t value) {
3183 _impl_.int32_default_repeat_.Set(index, value);
3184 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int32_default_repeat)
3185}
3186inline void TestMsg::_internal_add_int32_default_repeat(int32_t value) {
3187 _impl_.int32_default_repeat_.Add(value);
3188}
3189inline void TestMsg::add_int32_default_repeat(int32_t value) {
3190 _internal_add_int32_default_repeat(value);
3191 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.int32_default_repeat)
3192}
3193inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3194TestMsg::_internal_int32_default_repeat() const {
3195 return _impl_.int32_default_repeat_;
3196}
3197inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3198TestMsg::int32_default_repeat() const {
3199 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.int32_default_repeat)
3200 return _internal_int32_default_repeat();
3201}
3202inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3203TestMsg::_internal_mutable_int32_default_repeat() {
3204 return &_impl_.int32_default_repeat_;
3205}
3206inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3207TestMsg::mutable_int32_default_repeat() {
3208 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.int32_default_repeat)
3209 return _internal_mutable_int32_default_repeat();
3210}
3211
3212// repeated int64 int64_default_repeat = 104 [(.dccl.field) = {
3213inline int TestMsg::_internal_int64_default_repeat_size() const {
3214 return _impl_.int64_default_repeat_.size();
3215}
3216inline int TestMsg::int64_default_repeat_size() const {
3217 return _internal_int64_default_repeat_size();
3218}
3219inline void TestMsg::clear_int64_default_repeat() {
3220 _impl_.int64_default_repeat_.Clear();
3221}
3222inline int64_t TestMsg::_internal_int64_default_repeat(int index) const {
3223 return _impl_.int64_default_repeat_.Get(index);
3224}
3225inline int64_t TestMsg::int64_default_repeat(int index) const {
3226 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.int64_default_repeat)
3227 return _internal_int64_default_repeat(index);
3228}
3229inline void TestMsg::set_int64_default_repeat(int index, int64_t value) {
3230 _impl_.int64_default_repeat_.Set(index, value);
3231 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.int64_default_repeat)
3232}
3233inline void TestMsg::_internal_add_int64_default_repeat(int64_t value) {
3234 _impl_.int64_default_repeat_.Add(value);
3235}
3236inline void TestMsg::add_int64_default_repeat(int64_t value) {
3237 _internal_add_int64_default_repeat(value);
3238 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.int64_default_repeat)
3239}
3240inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3241TestMsg::_internal_int64_default_repeat() const {
3242 return _impl_.int64_default_repeat_;
3243}
3244inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3245TestMsg::int64_default_repeat() const {
3246 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.int64_default_repeat)
3247 return _internal_int64_default_repeat();
3248}
3249inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3250TestMsg::_internal_mutable_int64_default_repeat() {
3251 return &_impl_.int64_default_repeat_;
3252}
3253inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3254TestMsg::mutable_int64_default_repeat() {
3255 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.int64_default_repeat)
3256 return _internal_mutable_int64_default_repeat();
3257}
3258
3259// repeated uint32 uint32_default_repeat = 105 [(.dccl.field) = {
3260inline int TestMsg::_internal_uint32_default_repeat_size() const {
3261 return _impl_.uint32_default_repeat_.size();
3262}
3263inline int TestMsg::uint32_default_repeat_size() const {
3264 return _internal_uint32_default_repeat_size();
3265}
3266inline void TestMsg::clear_uint32_default_repeat() {
3267 _impl_.uint32_default_repeat_.Clear();
3268}
3269inline uint32_t TestMsg::_internal_uint32_default_repeat(int index) const {
3270 return _impl_.uint32_default_repeat_.Get(index);
3271}
3272inline uint32_t TestMsg::uint32_default_repeat(int index) const {
3273 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint32_default_repeat)
3274 return _internal_uint32_default_repeat(index);
3275}
3276inline void TestMsg::set_uint32_default_repeat(int index, uint32_t value) {
3277 _impl_.uint32_default_repeat_.Set(index, value);
3278 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint32_default_repeat)
3279}
3280inline void TestMsg::_internal_add_uint32_default_repeat(uint32_t value) {
3281 _impl_.uint32_default_repeat_.Add(value);
3282}
3283inline void TestMsg::add_uint32_default_repeat(uint32_t value) {
3284 _internal_add_uint32_default_repeat(value);
3285 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.uint32_default_repeat)
3286}
3287inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
3288TestMsg::_internal_uint32_default_repeat() const {
3289 return _impl_.uint32_default_repeat_;
3290}
3291inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
3292TestMsg::uint32_default_repeat() const {
3293 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.uint32_default_repeat)
3294 return _internal_uint32_default_repeat();
3295}
3296inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
3297TestMsg::_internal_mutable_uint32_default_repeat() {
3298 return &_impl_.uint32_default_repeat_;
3299}
3300inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
3301TestMsg::mutable_uint32_default_repeat() {
3302 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.uint32_default_repeat)
3303 return _internal_mutable_uint32_default_repeat();
3304}
3305
3306// repeated uint64 uint64_default_repeat = 106 [(.dccl.field) = {
3307inline int TestMsg::_internal_uint64_default_repeat_size() const {
3308 return _impl_.uint64_default_repeat_.size();
3309}
3310inline int TestMsg::uint64_default_repeat_size() const {
3311 return _internal_uint64_default_repeat_size();
3312}
3313inline void TestMsg::clear_uint64_default_repeat() {
3314 _impl_.uint64_default_repeat_.Clear();
3315}
3316inline uint64_t TestMsg::_internal_uint64_default_repeat(int index) const {
3317 return _impl_.uint64_default_repeat_.Get(index);
3318}
3319inline uint64_t TestMsg::uint64_default_repeat(int index) const {
3320 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.uint64_default_repeat)
3321 return _internal_uint64_default_repeat(index);
3322}
3323inline void TestMsg::set_uint64_default_repeat(int index, uint64_t value) {
3324 _impl_.uint64_default_repeat_.Set(index, value);
3325 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.uint64_default_repeat)
3326}
3327inline void TestMsg::_internal_add_uint64_default_repeat(uint64_t value) {
3328 _impl_.uint64_default_repeat_.Add(value);
3329}
3330inline void TestMsg::add_uint64_default_repeat(uint64_t value) {
3331 _internal_add_uint64_default_repeat(value);
3332 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.uint64_default_repeat)
3333}
3334inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
3335TestMsg::_internal_uint64_default_repeat() const {
3336 return _impl_.uint64_default_repeat_;
3337}
3338inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
3339TestMsg::uint64_default_repeat() const {
3340 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.uint64_default_repeat)
3341 return _internal_uint64_default_repeat();
3342}
3343inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
3344TestMsg::_internal_mutable_uint64_default_repeat() {
3345 return &_impl_.uint64_default_repeat_;
3346}
3347inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
3348TestMsg::mutable_uint64_default_repeat() {
3349 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.uint64_default_repeat)
3350 return _internal_mutable_uint64_default_repeat();
3351}
3352
3353// repeated sint32 sint32_default_repeat = 107 [(.dccl.field) = {
3354inline int TestMsg::_internal_sint32_default_repeat_size() const {
3355 return _impl_.sint32_default_repeat_.size();
3356}
3357inline int TestMsg::sint32_default_repeat_size() const {
3358 return _internal_sint32_default_repeat_size();
3359}
3360inline void TestMsg::clear_sint32_default_repeat() {
3361 _impl_.sint32_default_repeat_.Clear();
3362}
3363inline int32_t TestMsg::_internal_sint32_default_repeat(int index) const {
3364 return _impl_.sint32_default_repeat_.Get(index);
3365}
3366inline int32_t TestMsg::sint32_default_repeat(int index) const {
3367 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint32_default_repeat)
3368 return _internal_sint32_default_repeat(index);
3369}
3370inline void TestMsg::set_sint32_default_repeat(int index, int32_t value) {
3371 _impl_.sint32_default_repeat_.Set(index, value);
3372 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint32_default_repeat)
3373}
3374inline void TestMsg::_internal_add_sint32_default_repeat(int32_t value) {
3375 _impl_.sint32_default_repeat_.Add(value);
3376}
3377inline void TestMsg::add_sint32_default_repeat(int32_t value) {
3378 _internal_add_sint32_default_repeat(value);
3379 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.sint32_default_repeat)
3380}
3381inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3382TestMsg::_internal_sint32_default_repeat() const {
3383 return _impl_.sint32_default_repeat_;
3384}
3385inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3386TestMsg::sint32_default_repeat() const {
3387 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.sint32_default_repeat)
3388 return _internal_sint32_default_repeat();
3389}
3390inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3391TestMsg::_internal_mutable_sint32_default_repeat() {
3392 return &_impl_.sint32_default_repeat_;
3393}
3394inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3395TestMsg::mutable_sint32_default_repeat() {
3396 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.sint32_default_repeat)
3397 return _internal_mutable_sint32_default_repeat();
3398}
3399
3400// repeated sint64 sint64_default_repeat = 108 [(.dccl.field) = {
3401inline int TestMsg::_internal_sint64_default_repeat_size() const {
3402 return _impl_.sint64_default_repeat_.size();
3403}
3404inline int TestMsg::sint64_default_repeat_size() const {
3405 return _internal_sint64_default_repeat_size();
3406}
3407inline void TestMsg::clear_sint64_default_repeat() {
3408 _impl_.sint64_default_repeat_.Clear();
3409}
3410inline int64_t TestMsg::_internal_sint64_default_repeat(int index) const {
3411 return _impl_.sint64_default_repeat_.Get(index);
3412}
3413inline int64_t TestMsg::sint64_default_repeat(int index) const {
3414 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sint64_default_repeat)
3415 return _internal_sint64_default_repeat(index);
3416}
3417inline void TestMsg::set_sint64_default_repeat(int index, int64_t value) {
3418 _impl_.sint64_default_repeat_.Set(index, value);
3419 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sint64_default_repeat)
3420}
3421inline void TestMsg::_internal_add_sint64_default_repeat(int64_t value) {
3422 _impl_.sint64_default_repeat_.Add(value);
3423}
3424inline void TestMsg::add_sint64_default_repeat(int64_t value) {
3425 _internal_add_sint64_default_repeat(value);
3426 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.sint64_default_repeat)
3427}
3428inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3429TestMsg::_internal_sint64_default_repeat() const {
3430 return _impl_.sint64_default_repeat_;
3431}
3432inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3433TestMsg::sint64_default_repeat() const {
3434 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.sint64_default_repeat)
3435 return _internal_sint64_default_repeat();
3436}
3437inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3438TestMsg::_internal_mutable_sint64_default_repeat() {
3439 return &_impl_.sint64_default_repeat_;
3440}
3441inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3442TestMsg::mutable_sint64_default_repeat() {
3443 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.sint64_default_repeat)
3444 return _internal_mutable_sint64_default_repeat();
3445}
3446
3447// repeated fixed32 fixed32_default_repeat = 109 [(.dccl.field) = {
3448inline int TestMsg::_internal_fixed32_default_repeat_size() const {
3449 return _impl_.fixed32_default_repeat_.size();
3450}
3451inline int TestMsg::fixed32_default_repeat_size() const {
3452 return _internal_fixed32_default_repeat_size();
3453}
3454inline void TestMsg::clear_fixed32_default_repeat() {
3455 _impl_.fixed32_default_repeat_.Clear();
3456}
3457inline uint32_t TestMsg::_internal_fixed32_default_repeat(int index) const {
3458 return _impl_.fixed32_default_repeat_.Get(index);
3459}
3460inline uint32_t TestMsg::fixed32_default_repeat(int index) const {
3461 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed32_default_repeat)
3462 return _internal_fixed32_default_repeat(index);
3463}
3464inline void TestMsg::set_fixed32_default_repeat(int index, uint32_t value) {
3465 _impl_.fixed32_default_repeat_.Set(index, value);
3466 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed32_default_repeat)
3467}
3468inline void TestMsg::_internal_add_fixed32_default_repeat(uint32_t value) {
3469 _impl_.fixed32_default_repeat_.Add(value);
3470}
3471inline void TestMsg::add_fixed32_default_repeat(uint32_t value) {
3472 _internal_add_fixed32_default_repeat(value);
3473 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.fixed32_default_repeat)
3474}
3475inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
3476TestMsg::_internal_fixed32_default_repeat() const {
3477 return _impl_.fixed32_default_repeat_;
3478}
3479inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
3480TestMsg::fixed32_default_repeat() const {
3481 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.fixed32_default_repeat)
3482 return _internal_fixed32_default_repeat();
3483}
3484inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
3485TestMsg::_internal_mutable_fixed32_default_repeat() {
3486 return &_impl_.fixed32_default_repeat_;
3487}
3488inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
3489TestMsg::mutable_fixed32_default_repeat() {
3490 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.fixed32_default_repeat)
3491 return _internal_mutable_fixed32_default_repeat();
3492}
3493
3494// repeated fixed64 fixed64_default_repeat = 110 [(.dccl.field) = {
3495inline int TestMsg::_internal_fixed64_default_repeat_size() const {
3496 return _impl_.fixed64_default_repeat_.size();
3497}
3498inline int TestMsg::fixed64_default_repeat_size() const {
3499 return _internal_fixed64_default_repeat_size();
3500}
3501inline void TestMsg::clear_fixed64_default_repeat() {
3502 _impl_.fixed64_default_repeat_.Clear();
3503}
3504inline uint64_t TestMsg::_internal_fixed64_default_repeat(int index) const {
3505 return _impl_.fixed64_default_repeat_.Get(index);
3506}
3507inline uint64_t TestMsg::fixed64_default_repeat(int index) const {
3508 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.fixed64_default_repeat)
3509 return _internal_fixed64_default_repeat(index);
3510}
3511inline void TestMsg::set_fixed64_default_repeat(int index, uint64_t value) {
3512 _impl_.fixed64_default_repeat_.Set(index, value);
3513 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.fixed64_default_repeat)
3514}
3515inline void TestMsg::_internal_add_fixed64_default_repeat(uint64_t value) {
3516 _impl_.fixed64_default_repeat_.Add(value);
3517}
3518inline void TestMsg::add_fixed64_default_repeat(uint64_t value) {
3519 _internal_add_fixed64_default_repeat(value);
3520 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.fixed64_default_repeat)
3521}
3522inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
3523TestMsg::_internal_fixed64_default_repeat() const {
3524 return _impl_.fixed64_default_repeat_;
3525}
3526inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
3527TestMsg::fixed64_default_repeat() const {
3528 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.fixed64_default_repeat)
3529 return _internal_fixed64_default_repeat();
3530}
3531inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
3532TestMsg::_internal_mutable_fixed64_default_repeat() {
3533 return &_impl_.fixed64_default_repeat_;
3534}
3535inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
3536TestMsg::mutable_fixed64_default_repeat() {
3537 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.fixed64_default_repeat)
3538 return _internal_mutable_fixed64_default_repeat();
3539}
3540
3541// repeated sfixed32 sfixed32_default_repeat = 111 [(.dccl.field) = {
3542inline int TestMsg::_internal_sfixed32_default_repeat_size() const {
3543 return _impl_.sfixed32_default_repeat_.size();
3544}
3545inline int TestMsg::sfixed32_default_repeat_size() const {
3546 return _internal_sfixed32_default_repeat_size();
3547}
3548inline void TestMsg::clear_sfixed32_default_repeat() {
3549 _impl_.sfixed32_default_repeat_.Clear();
3550}
3551inline int32_t TestMsg::_internal_sfixed32_default_repeat(int index) const {
3552 return _impl_.sfixed32_default_repeat_.Get(index);
3553}
3554inline int32_t TestMsg::sfixed32_default_repeat(int index) const {
3555 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed32_default_repeat)
3556 return _internal_sfixed32_default_repeat(index);
3557}
3558inline void TestMsg::set_sfixed32_default_repeat(int index, int32_t value) {
3559 _impl_.sfixed32_default_repeat_.Set(index, value);
3560 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed32_default_repeat)
3561}
3562inline void TestMsg::_internal_add_sfixed32_default_repeat(int32_t value) {
3563 _impl_.sfixed32_default_repeat_.Add(value);
3564}
3565inline void TestMsg::add_sfixed32_default_repeat(int32_t value) {
3566 _internal_add_sfixed32_default_repeat(value);
3567 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.sfixed32_default_repeat)
3568}
3569inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3570TestMsg::_internal_sfixed32_default_repeat() const {
3571 return _impl_.sfixed32_default_repeat_;
3572}
3573inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
3574TestMsg::sfixed32_default_repeat() const {
3575 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.sfixed32_default_repeat)
3576 return _internal_sfixed32_default_repeat();
3577}
3578inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3579TestMsg::_internal_mutable_sfixed32_default_repeat() {
3580 return &_impl_.sfixed32_default_repeat_;
3581}
3582inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
3583TestMsg::mutable_sfixed32_default_repeat() {
3584 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.sfixed32_default_repeat)
3585 return _internal_mutable_sfixed32_default_repeat();
3586}
3587
3588// repeated sfixed64 sfixed64_default_repeat = 112 [(.dccl.field) = {
3589inline int TestMsg::_internal_sfixed64_default_repeat_size() const {
3590 return _impl_.sfixed64_default_repeat_.size();
3591}
3592inline int TestMsg::sfixed64_default_repeat_size() const {
3593 return _internal_sfixed64_default_repeat_size();
3594}
3595inline void TestMsg::clear_sfixed64_default_repeat() {
3596 _impl_.sfixed64_default_repeat_.Clear();
3597}
3598inline int64_t TestMsg::_internal_sfixed64_default_repeat(int index) const {
3599 return _impl_.sfixed64_default_repeat_.Get(index);
3600}
3601inline int64_t TestMsg::sfixed64_default_repeat(int index) const {
3602 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.sfixed64_default_repeat)
3603 return _internal_sfixed64_default_repeat(index);
3604}
3605inline void TestMsg::set_sfixed64_default_repeat(int index, int64_t value) {
3606 _impl_.sfixed64_default_repeat_.Set(index, value);
3607 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.sfixed64_default_repeat)
3608}
3609inline void TestMsg::_internal_add_sfixed64_default_repeat(int64_t value) {
3610 _impl_.sfixed64_default_repeat_.Add(value);
3611}
3612inline void TestMsg::add_sfixed64_default_repeat(int64_t value) {
3613 _internal_add_sfixed64_default_repeat(value);
3614 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.sfixed64_default_repeat)
3615}
3616inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3617TestMsg::_internal_sfixed64_default_repeat() const {
3618 return _impl_.sfixed64_default_repeat_;
3619}
3620inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
3621TestMsg::sfixed64_default_repeat() const {
3622 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.sfixed64_default_repeat)
3623 return _internal_sfixed64_default_repeat();
3624}
3625inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3626TestMsg::_internal_mutable_sfixed64_default_repeat() {
3627 return &_impl_.sfixed64_default_repeat_;
3628}
3629inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
3630TestMsg::mutable_sfixed64_default_repeat() {
3631 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.sfixed64_default_repeat)
3632 return _internal_mutable_sfixed64_default_repeat();
3633}
3634
3635// repeated bool bool_default_repeat = 113 [(.dccl.field) = {
3636inline int TestMsg::_internal_bool_default_repeat_size() const {
3637 return _impl_.bool_default_repeat_.size();
3638}
3639inline int TestMsg::bool_default_repeat_size() const {
3640 return _internal_bool_default_repeat_size();
3641}
3642inline void TestMsg::clear_bool_default_repeat() {
3643 _impl_.bool_default_repeat_.Clear();
3644}
3645inline bool TestMsg::_internal_bool_default_repeat(int index) const {
3646 return _impl_.bool_default_repeat_.Get(index);
3647}
3648inline bool TestMsg::bool_default_repeat(int index) const {
3649 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bool_default_repeat)
3650 return _internal_bool_default_repeat(index);
3651}
3652inline void TestMsg::set_bool_default_repeat(int index, bool value) {
3653 _impl_.bool_default_repeat_.Set(index, value);
3654 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bool_default_repeat)
3655}
3656inline void TestMsg::_internal_add_bool_default_repeat(bool value) {
3657 _impl_.bool_default_repeat_.Add(value);
3658}
3659inline void TestMsg::add_bool_default_repeat(bool value) {
3660 _internal_add_bool_default_repeat(value);
3661 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.bool_default_repeat)
3662}
3663inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
3664TestMsg::_internal_bool_default_repeat() const {
3665 return _impl_.bool_default_repeat_;
3666}
3667inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
3668TestMsg::bool_default_repeat() const {
3669 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.bool_default_repeat)
3670 return _internal_bool_default_repeat();
3671}
3672inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
3673TestMsg::_internal_mutable_bool_default_repeat() {
3674 return &_impl_.bool_default_repeat_;
3675}
3676inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
3677TestMsg::mutable_bool_default_repeat() {
3678 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.bool_default_repeat)
3679 return _internal_mutable_bool_default_repeat();
3680}
3681
3682// repeated string string_default_repeat = 114 [(.dccl.field) = {
3683inline int TestMsg::_internal_string_default_repeat_size() const {
3684 return _impl_.string_default_repeat_.size();
3685}
3686inline int TestMsg::string_default_repeat_size() const {
3687 return _internal_string_default_repeat_size();
3688}
3689inline void TestMsg::clear_string_default_repeat() {
3690 _impl_.string_default_repeat_.Clear();
3691}
3692inline std::string* TestMsg::add_string_default_repeat() {
3693 std::string* _s = _internal_add_string_default_repeat();
3694 // @@protoc_insertion_point(field_add_mutable:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3695 return _s;
3696}
3697inline const std::string& TestMsg::_internal_string_default_repeat(int index) const {
3698 return _impl_.string_default_repeat_.Get(index);
3699}
3700inline const std::string& TestMsg::string_default_repeat(int index) const {
3701 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3702 return _internal_string_default_repeat(index);
3703}
3704inline std::string* TestMsg::mutable_string_default_repeat(int index) {
3705 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3706 return _impl_.string_default_repeat_.Mutable(index);
3707}
3708inline void TestMsg::set_string_default_repeat(int index, const std::string& value) {
3709 _impl_.string_default_repeat_.Mutable(index)->assign(value);
3710 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3711}
3712inline void TestMsg::set_string_default_repeat(int index, std::string&& value) {
3713 _impl_.string_default_repeat_.Mutable(index)->assign(std::move(value));
3714 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3715}
3716inline void TestMsg::set_string_default_repeat(int index, const char* value) {
3717 GOOGLE_DCHECK(value != nullptr);
3718 _impl_.string_default_repeat_.Mutable(index)->assign(value);
3719 // @@protoc_insertion_point(field_set_char:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3720}
3721inline void TestMsg::set_string_default_repeat(int index, const char* value, size_t size) {
3722 _impl_.string_default_repeat_.Mutable(index)->assign(
3723 reinterpret_cast<const char*>(value), size);
3724 // @@protoc_insertion_point(field_set_pointer:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3725}
3726inline std::string* TestMsg::_internal_add_string_default_repeat() {
3727 return _impl_.string_default_repeat_.Add();
3728}
3729inline void TestMsg::add_string_default_repeat(const std::string& value) {
3730 _impl_.string_default_repeat_.Add()->assign(value);
3731 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3732}
3733inline void TestMsg::add_string_default_repeat(std::string&& value) {
3734 _impl_.string_default_repeat_.Add(std::move(value));
3735 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3736}
3737inline void TestMsg::add_string_default_repeat(const char* value) {
3738 GOOGLE_DCHECK(value != nullptr);
3739 _impl_.string_default_repeat_.Add()->assign(value);
3740 // @@protoc_insertion_point(field_add_char:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3741}
3742inline void TestMsg::add_string_default_repeat(const char* value, size_t size) {
3743 _impl_.string_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
3744 // @@protoc_insertion_point(field_add_pointer:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3745}
3746inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
3747TestMsg::string_default_repeat() const {
3748 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3749 return _impl_.string_default_repeat_;
3750}
3751inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
3752TestMsg::mutable_string_default_repeat() {
3753 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.string_default_repeat)
3754 return &_impl_.string_default_repeat_;
3755}
3756
3757// repeated bytes bytes_default_repeat = 115 [(.dccl.field) = {
3758inline int TestMsg::_internal_bytes_default_repeat_size() const {
3759 return _impl_.bytes_default_repeat_.size();
3760}
3761inline int TestMsg::bytes_default_repeat_size() const {
3762 return _internal_bytes_default_repeat_size();
3763}
3764inline void TestMsg::clear_bytes_default_repeat() {
3765 _impl_.bytes_default_repeat_.Clear();
3766}
3767inline std::string* TestMsg::add_bytes_default_repeat() {
3768 std::string* _s = _internal_add_bytes_default_repeat();
3769 // @@protoc_insertion_point(field_add_mutable:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3770 return _s;
3771}
3772inline const std::string& TestMsg::_internal_bytes_default_repeat(int index) const {
3773 return _impl_.bytes_default_repeat_.Get(index);
3774}
3775inline const std::string& TestMsg::bytes_default_repeat(int index) const {
3776 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3777 return _internal_bytes_default_repeat(index);
3778}
3779inline std::string* TestMsg::mutable_bytes_default_repeat(int index) {
3780 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3781 return _impl_.bytes_default_repeat_.Mutable(index);
3782}
3783inline void TestMsg::set_bytes_default_repeat(int index, const std::string& value) {
3784 _impl_.bytes_default_repeat_.Mutable(index)->assign(value);
3785 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3786}
3787inline void TestMsg::set_bytes_default_repeat(int index, std::string&& value) {
3788 _impl_.bytes_default_repeat_.Mutable(index)->assign(std::move(value));
3789 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3790}
3791inline void TestMsg::set_bytes_default_repeat(int index, const char* value) {
3792 GOOGLE_DCHECK(value != nullptr);
3793 _impl_.bytes_default_repeat_.Mutable(index)->assign(value);
3794 // @@protoc_insertion_point(field_set_char:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3795}
3796inline void TestMsg::set_bytes_default_repeat(int index, const void* value, size_t size) {
3797 _impl_.bytes_default_repeat_.Mutable(index)->assign(
3798 reinterpret_cast<const char*>(value), size);
3799 // @@protoc_insertion_point(field_set_pointer:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3800}
3801inline std::string* TestMsg::_internal_add_bytes_default_repeat() {
3802 return _impl_.bytes_default_repeat_.Add();
3803}
3804inline void TestMsg::add_bytes_default_repeat(const std::string& value) {
3805 _impl_.bytes_default_repeat_.Add()->assign(value);
3806 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3807}
3808inline void TestMsg::add_bytes_default_repeat(std::string&& value) {
3809 _impl_.bytes_default_repeat_.Add(std::move(value));
3810 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3811}
3812inline void TestMsg::add_bytes_default_repeat(const char* value) {
3813 GOOGLE_DCHECK(value != nullptr);
3814 _impl_.bytes_default_repeat_.Add()->assign(value);
3815 // @@protoc_insertion_point(field_add_char:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3816}
3817inline void TestMsg::add_bytes_default_repeat(const void* value, size_t size) {
3818 _impl_.bytes_default_repeat_.Add()->assign(reinterpret_cast<const char*>(value), size);
3819 // @@protoc_insertion_point(field_add_pointer:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3820}
3821inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
3822TestMsg::bytes_default_repeat() const {
3823 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3824 return _impl_.bytes_default_repeat_;
3825}
3826inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
3827TestMsg::mutable_bytes_default_repeat() {
3828 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.bytes_default_repeat)
3829 return &_impl_.bytes_default_repeat_;
3830}
3831
3832// repeated .goby.test.acomms.protobuf.Enum1 enum_default_repeat = 116 [(.dccl.field) = {
3833inline int TestMsg::_internal_enum_default_repeat_size() const {
3834 return _impl_.enum_default_repeat_.size();
3835}
3836inline int TestMsg::enum_default_repeat_size() const {
3837 return _internal_enum_default_repeat_size();
3838}
3839inline void TestMsg::clear_enum_default_repeat() {
3840 _impl_.enum_default_repeat_.Clear();
3841}
3842inline ::goby::test::acomms::protobuf::Enum1 TestMsg::_internal_enum_default_repeat(int index) const {
3843 return static_cast< ::goby::test::acomms::protobuf::Enum1 >(_impl_.enum_default_repeat_.Get(index));
3844}
3845inline ::goby::test::acomms::protobuf::Enum1 TestMsg::enum_default_repeat(int index) const {
3846 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.enum_default_repeat)
3847 return _internal_enum_default_repeat(index);
3848}
3849inline void TestMsg::set_enum_default_repeat(int index, ::goby::test::acomms::protobuf::Enum1 value) {
3851 _impl_.enum_default_repeat_.Set(index, value);
3852 // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.enum_default_repeat)
3853}
3854inline void TestMsg::_internal_add_enum_default_repeat(::goby::test::acomms::protobuf::Enum1 value) {
3856 _impl_.enum_default_repeat_.Add(value);
3857}
3858inline void TestMsg::add_enum_default_repeat(::goby::test::acomms::protobuf::Enum1 value) {
3859 _internal_add_enum_default_repeat(value);
3860 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.enum_default_repeat)
3861}
3862inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
3863TestMsg::enum_default_repeat() const {
3864 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.enum_default_repeat)
3865 return _impl_.enum_default_repeat_;
3866}
3867inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3868TestMsg::_internal_mutable_enum_default_repeat() {
3869 return &_impl_.enum_default_repeat_;
3870}
3871inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
3872TestMsg::mutable_enum_default_repeat() {
3873 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.enum_default_repeat)
3874 return _internal_mutable_enum_default_repeat();
3875}
3876
3877// repeated .goby.test.acomms.protobuf.EmbeddedMsg1 msg_default_repeat = 117 [(.dccl.field) = {
3878inline int TestMsg::_internal_msg_default_repeat_size() const {
3879 return _impl_.msg_default_repeat_.size();
3880}
3881inline int TestMsg::msg_default_repeat_size() const {
3882 return _internal_msg_default_repeat_size();
3883}
3884inline void TestMsg::clear_msg_default_repeat() {
3885 _impl_.msg_default_repeat_.Clear();
3886}
3887inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::mutable_msg_default_repeat(int index) {
3888 // @@protoc_insertion_point(field_mutable:goby.test.acomms.protobuf.TestMsg.msg_default_repeat)
3889 return _impl_.msg_default_repeat_.Mutable(index);
3890}
3891inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::test::acomms::protobuf::EmbeddedMsg1 >*
3892TestMsg::mutable_msg_default_repeat() {
3893 // @@protoc_insertion_point(field_mutable_list:goby.test.acomms.protobuf.TestMsg.msg_default_repeat)
3894 return &_impl_.msg_default_repeat_;
3895}
3896inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::_internal_msg_default_repeat(int index) const {
3897 return _impl_.msg_default_repeat_.Get(index);
3898}
3899inline const ::goby::test::acomms::protobuf::EmbeddedMsg1& TestMsg::msg_default_repeat(int index) const {
3900 // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.msg_default_repeat)
3901 return _internal_msg_default_repeat(index);
3902}
3903inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::_internal_add_msg_default_repeat() {
3904 return _impl_.msg_default_repeat_.Add();
3905}
3906inline ::goby::test::acomms::protobuf::EmbeddedMsg1* TestMsg::add_msg_default_repeat() {
3907 ::goby::test::acomms::protobuf::EmbeddedMsg1* _add = _internal_add_msg_default_repeat();
3908 // @@protoc_insertion_point(field_add:goby.test.acomms.protobuf.TestMsg.msg_default_repeat)
3909 return _add;
3910}
3911inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::test::acomms::protobuf::EmbeddedMsg1 >&
3912TestMsg::msg_default_repeat() const {
3913 // @@protoc_insertion_point(field_list:goby.test.acomms.protobuf.TestMsg.msg_default_repeat)
3914 return _impl_.msg_default_repeat_;
3915}
3916
3917#ifdef __GNUC__
3918 #pragma GCC diagnostic pop
3919#endif // __GNUC__
3920// -------------------------------------------------------------------
3921
3922// -------------------------------------------------------------------
3923
3924
3925// @@protoc_insertion_point(namespace_scope)
3926
3927} // namespace protobuf
3928} // namespace acomms
3929} // namespace test
3930} // namespace goby
3931
3932PROTOBUF_NAMESPACE_OPEN
3933
3934template <> struct is_proto_enum< ::goby::test::acomms::protobuf::Enum1> : ::std::true_type {};
3935template <>
3937 return ::goby::test::acomms::protobuf::Enum1_descriptor();
3938}
3939
3940PROTOBUF_NAMESPACE_CLOSE
3941
3942// @@protoc_insertion_point(global_scope)
3943
3944#include <google/protobuf/port_undef.inc>
3945#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::test::acomms::protobuf::Enum1 >()
Definition test.pb.h:3936
::goby::test::acomms::protobuf::EmbeddedMsg2 * Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::EmbeddedMsg2 >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fdccl1_2ftest_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::test::acomms::protobuf::EmbeddedMsg1 * Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::EmbeddedMsg1 >(Arena *)
EmbeddedMsg1 & operator=(EmbeddedMsg1 &&from) noexcept
Definition test.pb.h:123
void unsafe_arena_set_allocated_msg(::goby::test::acomms::protobuf::EmbeddedMsg2 *msg)
Definition test.pb.h:1632
friend void swap(EmbeddedMsg1 &a, EmbeddedMsg1 &b)
Definition test.pb.h:163
void CopyFrom(const EmbeddedMsg1 &from)
static const EmbeddedMsg1 & default_instance()
Definition test.pb.h:153
EmbeddedMsg1(const EmbeddedMsg1 &from)
::goby::test::acomms::protobuf::EmbeddedMsg2 * mutable_msg()
Definition test.pb.h:1675
EmbeddedMsg1 & operator=(const EmbeddedMsg1 &from)
Definition test.pb.h:119
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:150
const ::goby::test::acomms::protobuf::EmbeddedMsg2 & msg() const
Definition test.pb.h:1628
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:140
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:144
void set_allocated_msg(::goby::test::acomms::protobuf::EmbeddedMsg2 *msg)
Definition test.pb.h:1680
static const ClassData _class_data_
Definition test.pb.h:224
void MergeFrom(const EmbeddedMsg1 &from)
Definition test.pb.h:193
static constexpr int kIndexInFileMessages
Definition test.pb.h:160
PROTOBUF_NODISCARD::goby::test::acomms::protobuf::EmbeddedMsg2 * release_msg()
Definition test.pb.h:1645
EmbeddedMsg1(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const EmbeddedMsg1 * internal_default_instance()
Definition test.pb.h:156
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_CONSTEXPR EmbeddedMsg1(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(EmbeddedMsg1 *other)
Definition test.pb.h:166
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:137
EmbeddedMsg1 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:187
void UnsafeArenaSwap(EmbeddedMsg1 *other)
Definition test.pb.h:179
EmbeddedMsg1(EmbeddedMsg1 &&from) noexcept
Definition test.pb.h:114
::goby::test::acomms::protobuf::EmbeddedMsg2 * unsafe_arena_release_msg()
Definition test.pb.h:1660
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:147
static const ClassData _class_data_
Definition test.pb.h:404
friend void swap(EmbeddedMsg2 &a, EmbeddedMsg2 &b)
Definition test.pb.h:343
EmbeddedMsg2(EmbeddedMsg2 &&from) noexcept
Definition test.pb.h:294
PROTOBUF_CONSTEXPR EmbeddedMsg2(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:324
EmbeddedMsg2 & operator=(EmbeddedMsg2 &&from) noexcept
Definition test.pb.h:303
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:330
EmbeddedMsg2(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
EmbeddedMsg2(const EmbeddedMsg2 &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:327
EmbeddedMsg2 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:367
void CopyFrom(const EmbeddedMsg2 &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(EmbeddedMsg2 *other)
Definition test.pb.h:359
static const EmbeddedMsg2 * internal_default_instance()
Definition test.pb.h:336
void Swap(EmbeddedMsg2 *other)
Definition test.pb.h:346
void set_sval(ArgT0 &&arg0, ArgT... args)
static const EmbeddedMsg2 & default_instance()
Definition test.pb.h:333
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:320
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:317
void MergeFrom(const EmbeddedMsg2 &from)
Definition test.pb.h:373
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
EmbeddedMsg2 & operator=(const EmbeddedMsg2 &from)
Definition test.pb.h:299
static const TestMsg * internal_default_instance()
Definition test.pb.h:531
void set_bytes_default_required(ArgT0 &&arg0, ArgT... args)
TestMsg * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:562
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:512
TestMsg(TestMsg &&from) noexcept
Definition test.pb.h:489
void set_bytes_default_optional(ArgT0 &&arg0, ArgT... args)
void UnsafeArenaSwap(TestMsg *other)
Definition test.pb.h:554
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TestMsg(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const TestMsg &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR TestMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_string_default_optional(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:519
TestMsg & operator=(TestMsg &&from) noexcept
Definition test.pb.h:498
void MergeFrom(const TestMsg &from)
Definition test.pb.h:568
static const ClassData _class_data_
Definition test.pb.h:599
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:522
void set_string_default_required(ArgT0 &&arg0, ArgT... args)
TestMsg & operator=(const TestMsg &from)
Definition test.pb.h:494
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:515
static const TestMsg & default_instance()
Definition test.pb.h:528
friend void swap(TestMsg &a, TestMsg &b)
Definition test.pb.h:538
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:525
bool Enum1_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Enum1 *value)
Definition test.pb.h:99
bool Enum1_IsValid(int value)
EmbeddedMsg1DefaultTypeInternal _EmbeddedMsg1_default_instance_
constexpr Enum1 Enum1_MAX
Definition test.pb.h:87
constexpr Enum1 Enum1_MIN
Definition test.pb.h:86
constexpr int Enum1_ARRAYSIZE
Definition test.pb.h:88
TestMsgDefaultTypeInternal _TestMsg_default_instance_
Definition test.pb.h:58
const std::string & Enum1_Name(T enum_t_value)
Definition test.pb.h:92
EmbeddedMsg2DefaultTypeInternal _EmbeddedMsg2_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Enum1_descriptor()
The global namespace for the Goby project.
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyMessageOptions >, 11, false > msg
#define ByteSizeLong