Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
pTranslator_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/apps/moos/pTranslator/pTranslator_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto;
54namespace goby {
55namespace apps {
56namespace moos {
57namespace protobuf {
59struct pTranslatorConfigDefaultTypeInternal;
60extern pTranslatorConfigDefaultTypeInternal _pTranslatorConfig_default_instance_;
61} // namespace protobuf
62} // namespace moos
63} // namespace apps
64} // namespace goby
65PROTOBUF_NAMESPACE_OPEN
66template<> ::goby::apps::moos::protobuf::pTranslatorConfig* Arena::CreateMaybeMessage<::goby::apps::moos::protobuf::pTranslatorConfig>(Arena*);
67PROTOBUF_NAMESPACE_CLOSE
68namespace goby {
69namespace apps {
70namespace moos {
71namespace protobuf {
72
73// ===================================================================
74
75class pTranslatorConfig final :
76 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.moos.protobuf.pTranslatorConfig) */ {
77 public:
78 inline pTranslatorConfig() : pTranslatorConfig(nullptr) {}
80 explicit PROTOBUF_CONSTEXPR pTranslatorConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81
85 *this = ::std::move(from);
86 }
87
89 CopyFrom(from);
90 return *this;
91 }
93 if (this == &from) return *this;
94 if (GetOwningArena() == from.GetOwningArena()
95 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
96 && GetOwningArena() != nullptr
97 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
98 ) {
99 InternalSwap(&from);
100 } else {
101 CopyFrom(from);
102 }
103 return *this;
104 }
105
106 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 }
109 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 }
112
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114 return GetDescriptor();
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117 return default_instance().GetMetadata().descriptor;
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120 return default_instance().GetMetadata().reflection;
121 }
124 }
126 return reinterpret_cast<const pTranslatorConfig*>(
128 }
129 static constexpr int kIndexInFileMessages =
130 0;
131
133 a.Swap(&b);
134 }
135 inline void Swap(pTranslatorConfig* other) {
136 if (other == this) return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() != nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
140 #else // PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() == other->GetOwningArena()) {
142 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
143 InternalSwap(other);
144 } else {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146 }
147 }
149 if (other == this) return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151 InternalSwap(other);
152 }
153
154 // implements Message ----------------------------------------------
155
156 pTranslatorConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
157 return CreateMaybeMessage<pTranslatorConfig>(arena);
158 }
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 void CopyFrom(const pTranslatorConfig& from);
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 void MergeFrom( const pTranslatorConfig& from) {
163 pTranslatorConfig::MergeImpl(*this, from);
164 }
165 private:
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 public:
168 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169 bool IsInitialized() const final;
170
171 size_t ByteSizeLong() const final;
172 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
176
177 private:
178 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
179 void SharedDtor();
180 void SetCachedSize(int size) const final;
181 void InternalSwap(pTranslatorConfig* other);
182
183 private:
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "goby.apps.moos.protobuf.pTranslatorConfig";
187 }
188 protected:
189 explicit pTranslatorConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190 bool is_message_owned = false);
191 public:
192
193 static const ClassData _class_data_;
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
195
196 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197
198 // nested types ----------------------------------------------------
199
200 // accessors -------------------------------------------------------
201
202 enum : int {
209 };
210 // repeated string load_shared_library = 2 [(.goby.field) = {
211 int load_shared_library_size() const;
212 private:
213 int _internal_load_shared_library_size() const;
214 public:
216 const std::string& load_shared_library(int index) const;
217 std::string* mutable_load_shared_library(int index);
218 void set_load_shared_library(int index, const std::string& value);
219 void set_load_shared_library(int index, std::string&& value);
220 void set_load_shared_library(int index, const char* value);
221 void set_load_shared_library(int index, const char* value, size_t size);
222 std::string* add_load_shared_library();
223 void add_load_shared_library(const std::string& value);
224 void add_load_shared_library(std::string&& value);
225 void add_load_shared_library(const char* value);
226 void add_load_shared_library(const char* value, size_t size);
227 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library() const;
228 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
229 private:
230 const std::string& _internal_load_shared_library(int index) const;
231 std::string* _internal_add_load_shared_library();
232 public:
233
234 // repeated string load_proto_file = 3 [(.goby.field) = {
235 int load_proto_file_size() const;
236 private:
237 int _internal_load_proto_file_size() const;
238 public:
240 const std::string& load_proto_file(int index) const;
241 std::string* mutable_load_proto_file(int index);
242 void set_load_proto_file(int index, const std::string& value);
243 void set_load_proto_file(int index, std::string&& value);
244 void set_load_proto_file(int index, const char* value);
245 void set_load_proto_file(int index, const char* value, size_t size);
246 std::string* add_load_proto_file();
247 void add_load_proto_file(const std::string& value);
248 void add_load_proto_file(std::string&& value);
249 void add_load_proto_file(const char* value);
250 void add_load_proto_file(const char* value, size_t size);
251 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_proto_file() const;
252 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_proto_file();
253 private:
254 const std::string& _internal_load_proto_file(int index) const;
255 std::string* _internal_add_load_proto_file();
256 public:
257
258 // repeated .goby.moos.protobuf.TranslatorEntry translator_entry = 4 [(.goby.field) = {
259 int translator_entry_size() const;
260 private:
261 int _internal_translator_entry_size() const;
262 public:
265 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry >*
267 private:
268 const ::goby::moos::protobuf::TranslatorEntry& _internal_translator_entry(int index) const;
269 ::goby::moos::protobuf::TranslatorEntry* _internal_add_translator_entry();
270 public:
271 const ::goby::moos::protobuf::TranslatorEntry& translator_entry(int index) const;
273 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry >&
274 translator_entry() const;
275
276 // repeated string multiplex_create_moos_var = 6 [(.goby.field) = {
278 private:
279 int _internal_multiplex_create_moos_var_size() const;
280 public:
282 const std::string& multiplex_create_moos_var(int index) const;
283 std::string* mutable_multiplex_create_moos_var(int index);
284 void set_multiplex_create_moos_var(int index, const std::string& value);
285 void set_multiplex_create_moos_var(int index, std::string&& value);
286 void set_multiplex_create_moos_var(int index, const char* value);
287 void set_multiplex_create_moos_var(int index, const char* value, size_t size);
288 std::string* add_multiplex_create_moos_var();
289 void add_multiplex_create_moos_var(const std::string& value);
290 void add_multiplex_create_moos_var(std::string&& value);
291 void add_multiplex_create_moos_var(const char* value);
292 void add_multiplex_create_moos_var(const char* value, size_t size);
293 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& multiplex_create_moos_var() const;
294 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_multiplex_create_moos_var();
295 private:
296 const std::string& _internal_multiplex_create_moos_var(int index) const;
297 std::string* _internal_add_multiplex_create_moos_var();
298 public:
299
300 // optional string modem_id_lookup_path = 5 [(.goby.field) = {
301 bool has_modem_id_lookup_path() const;
302 private:
303 bool _internal_has_modem_id_lookup_path() const;
304 public:
306 const std::string& modem_id_lookup_path() const;
307 template <typename ArgT0 = const std::string&, typename... ArgT>
308 void set_modem_id_lookup_path(ArgT0&& arg0, ArgT... args);
309 std::string* mutable_modem_id_lookup_path();
310 PROTOBUF_NODISCARD std::string* release_modem_id_lookup_path();
312 private:
313 const std::string& _internal_modem_id_lookup_path() const;
314 inline PROTOBUF_ALWAYS_INLINE void _internal_set_modem_id_lookup_path(const std::string& value);
315 std::string* _internal_mutable_modem_id_lookup_path();
316 public:
317
318 // optional .goby.moos.protobuf.GobyMOOSAppConfig common = 1 [(.goby.field) = {
319 bool has_common() const;
320 private:
321 bool _internal_has_common() const;
322 public:
324 const ::goby::moos::protobuf::GobyMOOSAppConfig& common() const;
325 PROTOBUF_NODISCARD ::goby::moos::protobuf::GobyMOOSAppConfig* release_common();
328 private:
329 const ::goby::moos::protobuf::GobyMOOSAppConfig& _internal_common() const;
330 ::goby::moos::protobuf::GobyMOOSAppConfig* _internal_mutable_common();
331 public:
335
336 // @@protoc_insertion_point(class_scope:goby.apps.moos.protobuf.pTranslatorConfig)
337 private:
338 class _Internal;
339
340 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
341 typedef void InternalArenaConstructable_;
342 typedef void DestructorSkippable_;
343 struct Impl_ {
344 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
345 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
346 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
347 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_proto_file_;
348 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry > translator_entry_;
349 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> multiplex_create_moos_var_;
350 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr modem_id_lookup_path_;
352 };
353 union { Impl_ _impl_; };
354 friend struct ::TableStruct_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto;
355};
356// ===================================================================
357
358
359// ===================================================================
360
361#ifdef __GNUC__
362 #pragma GCC diagnostic push
363 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
364#endif // __GNUC__
365// pTranslatorConfig
366
367// optional .goby.moos.protobuf.GobyMOOSAppConfig common = 1 [(.goby.field) = {
368inline bool pTranslatorConfig::_internal_has_common() const {
369 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
370 PROTOBUF_ASSUME(!value || _impl_.common_ != nullptr);
371 return value;
372}
373inline bool pTranslatorConfig::has_common() const {
374 return _internal_has_common();
375}
376inline const ::goby::moos::protobuf::GobyMOOSAppConfig& pTranslatorConfig::_internal_common() const {
377 const ::goby::moos::protobuf::GobyMOOSAppConfig* p = _impl_.common_;
378 return p != nullptr ? *p : reinterpret_cast<const ::goby::moos::protobuf::GobyMOOSAppConfig&>(
380}
381inline const ::goby::moos::protobuf::GobyMOOSAppConfig& pTranslatorConfig::common() const {
382 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.common)
383 return _internal_common();
384}
387 if (GetArenaForAllocation() == nullptr) {
388 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.common_);
389 }
390 _impl_.common_ = common;
391 if (common) {
392 _impl_._has_bits_[0] |= 0x00000002u;
393 } else {
394 _impl_._has_bits_[0] &= ~0x00000002u;
395 }
396 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.moos.protobuf.pTranslatorConfig.common)
397}
398inline ::goby::moos::protobuf::GobyMOOSAppConfig* pTranslatorConfig::release_common() {
399 _impl_._has_bits_[0] &= ~0x00000002u;
401 _impl_.common_ = nullptr;
402#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
403 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
404 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
405 if (GetArenaForAllocation() == nullptr) { delete old; }
406#else // PROTOBUF_FORCE_COPY_IN_RELEASE
407 if (GetArenaForAllocation() != nullptr) {
408 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
409 }
410#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
411 return temp;
412}
413inline ::goby::moos::protobuf::GobyMOOSAppConfig* pTranslatorConfig::unsafe_arena_release_common() {
414 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.pTranslatorConfig.common)
415 _impl_._has_bits_[0] &= ~0x00000002u;
417 _impl_.common_ = nullptr;
418 return temp;
419}
420inline ::goby::moos::protobuf::GobyMOOSAppConfig* pTranslatorConfig::_internal_mutable_common() {
421 _impl_._has_bits_[0] |= 0x00000002u;
422 if (_impl_.common_ == nullptr) {
423 auto* p = CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig>(GetArenaForAllocation());
424 _impl_.common_ = p;
425 }
426 return _impl_.common_;
427}
428inline ::goby::moos::protobuf::GobyMOOSAppConfig* pTranslatorConfig::mutable_common() {
429 ::goby::moos::protobuf::GobyMOOSAppConfig* _msg = _internal_mutable_common();
430 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.common)
431 return _msg;
432}
434 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
435 if (message_arena == nullptr) {
436 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.common_);
437 }
438 if (common) {
439 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
440 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
441 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(common));
442 if (message_arena != submessage_arena) {
443 common = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
444 message_arena, common, submessage_arena);
445 }
446 _impl_._has_bits_[0] |= 0x00000002u;
447 } else {
448 _impl_._has_bits_[0] &= ~0x00000002u;
449 }
450 _impl_.common_ = common;
451 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.pTranslatorConfig.common)
452}
453
454// repeated string load_shared_library = 2 [(.goby.field) = {
455inline int pTranslatorConfig::_internal_load_shared_library_size() const {
456 return _impl_.load_shared_library_.size();
457}
459 return _internal_load_shared_library_size();
460}
462 _impl_.load_shared_library_.Clear();
463}
465 std::string* _s = _internal_add_load_shared_library();
466 // @@protoc_insertion_point(field_add_mutable:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
467 return _s;
468}
469inline const std::string& pTranslatorConfig::_internal_load_shared_library(int index) const {
470 return _impl_.load_shared_library_.Get(index);
471}
472inline const std::string& pTranslatorConfig::load_shared_library(int index) const {
473 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
474 return _internal_load_shared_library(index);
475}
477 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
478 return _impl_.load_shared_library_.Mutable(index);
479}
480inline void pTranslatorConfig::set_load_shared_library(int index, const std::string& value) {
481 _impl_.load_shared_library_.Mutable(index)->assign(value);
482 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
483}
484inline void pTranslatorConfig::set_load_shared_library(int index, std::string&& value) {
485 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
486 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
487}
488inline void pTranslatorConfig::set_load_shared_library(int index, const char* value) {
489 GOOGLE_DCHECK(value != nullptr);
490 _impl_.load_shared_library_.Mutable(index)->assign(value);
491 // @@protoc_insertion_point(field_set_char:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
492}
493inline void pTranslatorConfig::set_load_shared_library(int index, const char* value, size_t size) {
494 _impl_.load_shared_library_.Mutable(index)->assign(
495 reinterpret_cast<const char*>(value), size);
496 // @@protoc_insertion_point(field_set_pointer:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
497}
498inline std::string* pTranslatorConfig::_internal_add_load_shared_library() {
499 return _impl_.load_shared_library_.Add();
500}
501inline void pTranslatorConfig::add_load_shared_library(const std::string& value) {
502 _impl_.load_shared_library_.Add()->assign(value);
503 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
504}
505inline void pTranslatorConfig::add_load_shared_library(std::string&& value) {
506 _impl_.load_shared_library_.Add(std::move(value));
507 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
508}
509inline void pTranslatorConfig::add_load_shared_library(const char* value) {
510 GOOGLE_DCHECK(value != nullptr);
511 _impl_.load_shared_library_.Add()->assign(value);
512 // @@protoc_insertion_point(field_add_char:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
513}
514inline void pTranslatorConfig::add_load_shared_library(const char* value, size_t size) {
515 _impl_.load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
516 // @@protoc_insertion_point(field_add_pointer:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
517}
518inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
520 // @@protoc_insertion_point(field_list:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
521 return _impl_.load_shared_library_;
522}
523inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
525 // @@protoc_insertion_point(field_mutable_list:goby.apps.moos.protobuf.pTranslatorConfig.load_shared_library)
526 return &_impl_.load_shared_library_;
527}
528
529// repeated string load_proto_file = 3 [(.goby.field) = {
530inline int pTranslatorConfig::_internal_load_proto_file_size() const {
531 return _impl_.load_proto_file_.size();
532}
534 return _internal_load_proto_file_size();
535}
537 _impl_.load_proto_file_.Clear();
538}
540 std::string* _s = _internal_add_load_proto_file();
541 // @@protoc_insertion_point(field_add_mutable:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
542 return _s;
543}
544inline const std::string& pTranslatorConfig::_internal_load_proto_file(int index) const {
545 return _impl_.load_proto_file_.Get(index);
546}
547inline const std::string& pTranslatorConfig::load_proto_file(int index) const {
548 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
549 return _internal_load_proto_file(index);
550}
551inline std::string* pTranslatorConfig::mutable_load_proto_file(int index) {
552 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
553 return _impl_.load_proto_file_.Mutable(index);
554}
555inline void pTranslatorConfig::set_load_proto_file(int index, const std::string& value) {
556 _impl_.load_proto_file_.Mutable(index)->assign(value);
557 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
558}
559inline void pTranslatorConfig::set_load_proto_file(int index, std::string&& value) {
560 _impl_.load_proto_file_.Mutable(index)->assign(std::move(value));
561 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
562}
563inline void pTranslatorConfig::set_load_proto_file(int index, const char* value) {
564 GOOGLE_DCHECK(value != nullptr);
565 _impl_.load_proto_file_.Mutable(index)->assign(value);
566 // @@protoc_insertion_point(field_set_char:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
567}
568inline void pTranslatorConfig::set_load_proto_file(int index, const char* value, size_t size) {
569 _impl_.load_proto_file_.Mutable(index)->assign(
570 reinterpret_cast<const char*>(value), size);
571 // @@protoc_insertion_point(field_set_pointer:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
572}
573inline std::string* pTranslatorConfig::_internal_add_load_proto_file() {
574 return _impl_.load_proto_file_.Add();
575}
576inline void pTranslatorConfig::add_load_proto_file(const std::string& value) {
577 _impl_.load_proto_file_.Add()->assign(value);
578 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
579}
580inline void pTranslatorConfig::add_load_proto_file(std::string&& value) {
581 _impl_.load_proto_file_.Add(std::move(value));
582 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
583}
584inline void pTranslatorConfig::add_load_proto_file(const char* value) {
585 GOOGLE_DCHECK(value != nullptr);
586 _impl_.load_proto_file_.Add()->assign(value);
587 // @@protoc_insertion_point(field_add_char:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
588}
589inline void pTranslatorConfig::add_load_proto_file(const char* value, size_t size) {
590 _impl_.load_proto_file_.Add()->assign(reinterpret_cast<const char*>(value), size);
591 // @@protoc_insertion_point(field_add_pointer:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
592}
593inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
595 // @@protoc_insertion_point(field_list:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
596 return _impl_.load_proto_file_;
597}
598inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
600 // @@protoc_insertion_point(field_mutable_list:goby.apps.moos.protobuf.pTranslatorConfig.load_proto_file)
601 return &_impl_.load_proto_file_;
602}
603
604// repeated .goby.moos.protobuf.TranslatorEntry translator_entry = 4 [(.goby.field) = {
605inline int pTranslatorConfig::_internal_translator_entry_size() const {
606 return _impl_.translator_entry_.size();
607}
609 return _internal_translator_entry_size();
610}
611inline ::goby::moos::protobuf::TranslatorEntry* pTranslatorConfig::mutable_translator_entry(int index) {
612 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.translator_entry)
613 return _impl_.translator_entry_.Mutable(index);
614}
615inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry >*
617 // @@protoc_insertion_point(field_mutable_list:goby.apps.moos.protobuf.pTranslatorConfig.translator_entry)
618 return &_impl_.translator_entry_;
619}
620inline const ::goby::moos::protobuf::TranslatorEntry& pTranslatorConfig::_internal_translator_entry(int index) const {
621 return _impl_.translator_entry_.Get(index);
622}
623inline const ::goby::moos::protobuf::TranslatorEntry& pTranslatorConfig::translator_entry(int index) const {
624 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.translator_entry)
625 return _internal_translator_entry(index);
626}
627inline ::goby::moos::protobuf::TranslatorEntry* pTranslatorConfig::_internal_add_translator_entry() {
628 return _impl_.translator_entry_.Add();
629}
630inline ::goby::moos::protobuf::TranslatorEntry* pTranslatorConfig::add_translator_entry() {
631 ::goby::moos::protobuf::TranslatorEntry* _add = _internal_add_translator_entry();
632 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.translator_entry)
633 return _add;
634}
635inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry >&
637 // @@protoc_insertion_point(field_list:goby.apps.moos.protobuf.pTranslatorConfig.translator_entry)
638 return _impl_.translator_entry_;
639}
640
641// optional string modem_id_lookup_path = 5 [(.goby.field) = {
642inline bool pTranslatorConfig::_internal_has_modem_id_lookup_path() const {
643 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
644 return value;
645}
647 return _internal_has_modem_id_lookup_path();
648}
650 _impl_.modem_id_lookup_path_.ClearToEmpty();
651 _impl_._has_bits_[0] &= ~0x00000001u;
652}
653inline const std::string& pTranslatorConfig::modem_id_lookup_path() const {
654 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.modem_id_lookup_path)
655 return _internal_modem_id_lookup_path();
656}
657template <typename ArgT0, typename... ArgT>
658inline PROTOBUF_ALWAYS_INLINE
659void pTranslatorConfig::set_modem_id_lookup_path(ArgT0&& arg0, ArgT... args) {
660 _impl_._has_bits_[0] |= 0x00000001u;
661 _impl_.modem_id_lookup_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
662 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.modem_id_lookup_path)
663}
665 std::string* _s = _internal_mutable_modem_id_lookup_path();
666 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.modem_id_lookup_path)
667 return _s;
668}
669inline const std::string& pTranslatorConfig::_internal_modem_id_lookup_path() const {
670 return _impl_.modem_id_lookup_path_.Get();
671}
672inline void pTranslatorConfig::_internal_set_modem_id_lookup_path(const std::string& value) {
673 _impl_._has_bits_[0] |= 0x00000001u;
674 _impl_.modem_id_lookup_path_.Set(value, GetArenaForAllocation());
675}
676inline std::string* pTranslatorConfig::_internal_mutable_modem_id_lookup_path() {
677 _impl_._has_bits_[0] |= 0x00000001u;
678 return _impl_.modem_id_lookup_path_.Mutable(GetArenaForAllocation());
679}
681 // @@protoc_insertion_point(field_release:goby.apps.moos.protobuf.pTranslatorConfig.modem_id_lookup_path)
682 if (!_internal_has_modem_id_lookup_path()) {
683 return nullptr;
684 }
685 _impl_._has_bits_[0] &= ~0x00000001u;
686 auto* p = _impl_.modem_id_lookup_path_.Release();
687#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
688 if (_impl_.modem_id_lookup_path_.IsDefault()) {
689 _impl_.modem_id_lookup_path_.Set("", GetArenaForAllocation());
690 }
691#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
692 return p;
693}
695 if (modem_id_lookup_path != nullptr) {
696 _impl_._has_bits_[0] |= 0x00000001u;
697 } else {
698 _impl_._has_bits_[0] &= ~0x00000001u;
699 }
700 _impl_.modem_id_lookup_path_.SetAllocated(modem_id_lookup_path, GetArenaForAllocation());
701#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
702 if (_impl_.modem_id_lookup_path_.IsDefault()) {
703 _impl_.modem_id_lookup_path_.Set("", GetArenaForAllocation());
704 }
705#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
706 // @@protoc_insertion_point(field_set_allocated:goby.apps.moos.protobuf.pTranslatorConfig.modem_id_lookup_path)
707}
708
709// repeated string multiplex_create_moos_var = 6 [(.goby.field) = {
710inline int pTranslatorConfig::_internal_multiplex_create_moos_var_size() const {
711 return _impl_.multiplex_create_moos_var_.size();
712}
714 return _internal_multiplex_create_moos_var_size();
715}
717 _impl_.multiplex_create_moos_var_.Clear();
718}
720 std::string* _s = _internal_add_multiplex_create_moos_var();
721 // @@protoc_insertion_point(field_add_mutable:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
722 return _s;
723}
724inline const std::string& pTranslatorConfig::_internal_multiplex_create_moos_var(int index) const {
725 return _impl_.multiplex_create_moos_var_.Get(index);
726}
727inline const std::string& pTranslatorConfig::multiplex_create_moos_var(int index) const {
728 // @@protoc_insertion_point(field_get:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
729 return _internal_multiplex_create_moos_var(index);
730}
732 // @@protoc_insertion_point(field_mutable:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
733 return _impl_.multiplex_create_moos_var_.Mutable(index);
734}
735inline void pTranslatorConfig::set_multiplex_create_moos_var(int index, const std::string& value) {
736 _impl_.multiplex_create_moos_var_.Mutable(index)->assign(value);
737 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
738}
739inline void pTranslatorConfig::set_multiplex_create_moos_var(int index, std::string&& value) {
740 _impl_.multiplex_create_moos_var_.Mutable(index)->assign(std::move(value));
741 // @@protoc_insertion_point(field_set:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
742}
743inline void pTranslatorConfig::set_multiplex_create_moos_var(int index, const char* value) {
744 GOOGLE_DCHECK(value != nullptr);
745 _impl_.multiplex_create_moos_var_.Mutable(index)->assign(value);
746 // @@protoc_insertion_point(field_set_char:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
747}
748inline void pTranslatorConfig::set_multiplex_create_moos_var(int index, const char* value, size_t size) {
749 _impl_.multiplex_create_moos_var_.Mutable(index)->assign(
750 reinterpret_cast<const char*>(value), size);
751 // @@protoc_insertion_point(field_set_pointer:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
752}
753inline std::string* pTranslatorConfig::_internal_add_multiplex_create_moos_var() {
754 return _impl_.multiplex_create_moos_var_.Add();
755}
756inline void pTranslatorConfig::add_multiplex_create_moos_var(const std::string& value) {
757 _impl_.multiplex_create_moos_var_.Add()->assign(value);
758 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
759}
760inline void pTranslatorConfig::add_multiplex_create_moos_var(std::string&& value) {
761 _impl_.multiplex_create_moos_var_.Add(std::move(value));
762 // @@protoc_insertion_point(field_add:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
763}
765 GOOGLE_DCHECK(value != nullptr);
766 _impl_.multiplex_create_moos_var_.Add()->assign(value);
767 // @@protoc_insertion_point(field_add_char:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
768}
769inline void pTranslatorConfig::add_multiplex_create_moos_var(const char* value, size_t size) {
770 _impl_.multiplex_create_moos_var_.Add()->assign(reinterpret_cast<const char*>(value), size);
771 // @@protoc_insertion_point(field_add_pointer:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
772}
773inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
775 // @@protoc_insertion_point(field_list:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
776 return _impl_.multiplex_create_moos_var_;
777}
778inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
780 // @@protoc_insertion_point(field_mutable_list:goby.apps.moos.protobuf.pTranslatorConfig.multiplex_create_moos_var)
781 return &_impl_.multiplex_create_moos_var_;
782}
783
784#ifdef __GNUC__
785 #pragma GCC diagnostic pop
786#endif // __GNUC__
787
788// @@protoc_insertion_point(namespace_scope)
789
790} // namespace protobuf
791} // namespace moos
792} // namespace apps
793} // namespace goby
794
795// @@protoc_insertion_point(global_scope)
796
797#include <google/protobuf/port_undef.inc>
798#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_multiplex_create_moos_var(int index, const std::string &value)
::goby::moos::protobuf::GobyMOOSAppConfig * unsafe_arena_release_common()
const ::goby::moos::protobuf::GobyMOOSAppConfig & common() const
PROTOBUF_NODISCARD::goby::moos::protobuf::GobyMOOSAppConfig * release_common()
PROTOBUF_CONSTEXPR pTranslatorConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & load_proto_file() const
void set_allocated_common(::goby::moos::protobuf::GobyMOOSAppConfig *common)
pTranslatorConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const pTranslatorConfig * internal_default_instance()
void MergeFrom(const pTranslatorConfig &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & load_shared_library() const
friend void swap(pTranslatorConfig &a, pTranslatorConfig &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void CopyFrom(const pTranslatorConfig &from)
::goby::moos::protobuf::GobyMOOSAppConfig * mutable_common()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry > & translator_entry() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
pTranslatorConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
pTranslatorConfig & operator=(const pTranslatorConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
pTranslatorConfig & operator=(pTranslatorConfig &&from) noexcept
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_load_proto_file()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_load_shared_library(int index, const std::string &value)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_multiplex_create_moos_var()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_load_shared_library()
PROTOBUF_NODISCARD std::string * release_modem_id_lookup_path()
static const pTranslatorConfig & default_instance()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & multiplex_create_moos_var() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::goby::moos::protobuf::TranslatorEntry * add_translator_entry()
void set_modem_id_lookup_path(ArgT0 &&arg0, ArgT... args)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry > * mutable_translator_entry()
void unsafe_arena_set_allocated_common(::goby::moos::protobuf::GobyMOOSAppConfig *common)
pTranslatorConfig(pTranslatorConfig &&from) noexcept
void set_load_proto_file(int index, const std::string &value)
void set_allocated_modem_id_lookup_path(std::string *modem_id_lookup_path)
pTranslatorConfig(const pTranslatorConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_NAMESPACE_OPEN ::goby::moos::protobuf::GobyMOOSAppConfig * Arena::CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig >(Arena *)
pTranslatorConfigDefaultTypeInternal _pTranslatorConfig_default_instance_
GobyMOOSAppConfigDefaultTypeInternal _GobyMOOSAppConfig_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fapps_2fmoos_2fpTranslator_2fpTranslator_5fconfig_2eproto