Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
store_server_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/store_server_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_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>
35#include "dccl/option_extensions.pb.h"
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto;
55namespace goby {
56namespace apps {
57namespace acomms {
58namespace protobuf {
59class StoreServerConfig;
60struct StoreServerConfigDefaultTypeInternal;
61extern StoreServerConfigDefaultTypeInternal _StoreServerConfig_default_instance_;
62} // namespace protobuf
63} // namespace acomms
64} // namespace apps
65} // namespace goby
66PROTOBUF_NAMESPACE_OPEN
67template<> ::goby::apps::acomms::protobuf::StoreServerConfig* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::StoreServerConfig>(Arena*);
68PROTOBUF_NAMESPACE_CLOSE
69namespace goby {
70namespace apps {
71namespace acomms {
72namespace protobuf {
73
74// ===================================================================
75
76class StoreServerConfig final :
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.StoreServerConfig) */ {
78 public:
79 inline StoreServerConfig() : StoreServerConfig(nullptr) {}
81 explicit PROTOBUF_CONSTEXPR StoreServerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82
86 *this = ::std::move(from);
87 }
88
90 CopyFrom(from);
91 return *this;
92 }
94 if (this == &from) return *this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() != nullptr
98 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
99 ) {
100 InternalSwap(&from);
101 } else {
102 CopyFrom(from);
103 }
104 return *this;
105 }
106
107 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 }
110 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 }
113
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115 return GetDescriptor();
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118 return default_instance().GetMetadata().descriptor;
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return default_instance().GetMetadata().reflection;
122 }
125 }
127 return reinterpret_cast<const StoreServerConfig*>(
129 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
134 a.Swap(&b);
135 }
136 inline void Swap(StoreServerConfig* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 StoreServerConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<StoreServerConfig>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 void CopyFrom(const StoreServerConfig& from);
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 void MergeFrom( const StoreServerConfig& from) {
164 StoreServerConfig::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(StoreServerConfig* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.apps.acomms.protobuf.StoreServerConfig";
188 }
189 protected:
190 explicit StoreServerConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
208 };
209 // optional string db_file_dir = 3 [default = "."];
210 bool has_db_file_dir() const;
211 private:
212 bool _internal_has_db_file_dir() const;
213 public:
214 void clear_db_file_dir();
215 const std::string& db_file_dir() const;
216 template <typename ArgT0 = const std::string&, typename... ArgT>
217 void set_db_file_dir(ArgT0&& arg0, ArgT... args);
218 std::string* mutable_db_file_dir();
219 PROTOBUF_NODISCARD std::string* release_db_file_dir();
220 void set_allocated_db_file_dir(std::string* db_file_dir);
221 private:
222 const std::string& _internal_db_file_dir() const;
223 inline PROTOBUF_ALWAYS_INLINE void _internal_set_db_file_dir(const std::string& value);
224 std::string* _internal_mutable_db_file_dir();
225 public:
226
227 // optional string db_file_name = 4;
228 bool has_db_file_name() const;
229 private:
230 bool _internal_has_db_file_name() const;
231 public:
232 void clear_db_file_name();
233 const std::string& db_file_name() const;
234 template <typename ArgT0 = const std::string&, typename... ArgT>
235 void set_db_file_name(ArgT0&& arg0, ArgT... args);
236 std::string* mutable_db_file_name();
237 PROTOBUF_NODISCARD std::string* release_db_file_name();
238 void set_allocated_db_file_name(std::string* db_file_name);
239 private:
240 const std::string& _internal_db_file_name() const;
241 inline PROTOBUF_ALWAYS_INLINE void _internal_set_db_file_name(const std::string& value);
242 std::string* _internal_mutable_db_file_name();
243 public:
244
245 // optional .goby.middleware.protobuf.AppConfig app = 1;
246 bool has_app() const;
247 private:
248 bool _internal_has_app() const;
249 public:
250 void clear_app();
251 const ::goby::middleware::protobuf::AppConfig& app() const;
252 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
255 private:
256 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
257 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
258 public:
262
263 // optional .goby.middleware.protobuf.TCPServerConfig tcp_server = 2;
264 bool has_tcp_server() const;
265 private:
266 bool _internal_has_tcp_server() const;
267 public:
269 const ::goby::middleware::protobuf::TCPServerConfig& tcp_server() const;
270 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TCPServerConfig* release_tcp_server();
273 private:
274 const ::goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server() const;
275 ::goby::middleware::protobuf::TCPServerConfig* _internal_mutable_tcp_server();
276 public:
280
281 // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.StoreServerConfig)
282 private:
283 class _Internal;
284
285 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
286 typedef void InternalArenaConstructable_;
287 typedef void DestructorSkippable_;
288 struct Impl_ {
289 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
290 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
291 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_db_file_dir_;
292 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_file_dir_;
293 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_file_name_;
296 };
297 union { Impl_ _impl_; };
298 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto;
299};
300// ===================================================================
301
302
303// ===================================================================
304
305#ifdef __GNUC__
306 #pragma GCC diagnostic push
307 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
308#endif // __GNUC__
309// StoreServerConfig
310
311// optional .goby.middleware.protobuf.AppConfig app = 1;
312inline bool StoreServerConfig::_internal_has_app() const {
313 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
314 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
315 return value;
316}
317inline bool StoreServerConfig::has_app() const {
318 return _internal_has_app();
319}
320inline const ::goby::middleware::protobuf::AppConfig& StoreServerConfig::_internal_app() const {
321 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
322 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
324}
325inline const ::goby::middleware::protobuf::AppConfig& StoreServerConfig::app() const {
326 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.app)
327 return _internal_app();
328}
331 if (GetArenaForAllocation() == nullptr) {
332 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
333 }
334 _impl_.app_ = app;
335 if (app) {
336 _impl_._has_bits_[0] |= 0x00000004u;
337 } else {
338 _impl_._has_bits_[0] &= ~0x00000004u;
339 }
340 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.app)
341}
342inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::release_app() {
343 _impl_._has_bits_[0] &= ~0x00000004u;
345 _impl_.app_ = nullptr;
346#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
347 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
348 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
349 if (GetArenaForAllocation() == nullptr) { delete old; }
350#else // PROTOBUF_FORCE_COPY_IN_RELEASE
351 if (GetArenaForAllocation() != nullptr) {
352 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
353 }
354#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
355 return temp;
356}
357inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::unsafe_arena_release_app() {
358 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.app)
359 _impl_._has_bits_[0] &= ~0x00000004u;
361 _impl_.app_ = nullptr;
362 return temp;
363}
364inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::_internal_mutable_app() {
365 _impl_._has_bits_[0] |= 0x00000004u;
366 if (_impl_.app_ == nullptr) {
367 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
368 _impl_.app_ = p;
369 }
370 return _impl_.app_;
371}
372inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::mutable_app() {
373 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
374 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.app)
375 return _msg;
376}
378 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
379 if (message_arena == nullptr) {
380 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
381 }
382 if (app) {
383 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
384 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
385 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
386 if (message_arena != submessage_arena) {
387 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
388 message_arena, app, submessage_arena);
389 }
390 _impl_._has_bits_[0] |= 0x00000004u;
391 } else {
392 _impl_._has_bits_[0] &= ~0x00000004u;
393 }
394 _impl_.app_ = app;
395 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.app)
396}
397
398// optional .goby.middleware.protobuf.TCPServerConfig tcp_server = 2;
399inline bool StoreServerConfig::_internal_has_tcp_server() const {
400 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
401 PROTOBUF_ASSUME(!value || _impl_.tcp_server_ != nullptr);
402 return value;
403}
405 return _internal_has_tcp_server();
406}
407inline const ::goby::middleware::protobuf::TCPServerConfig& StoreServerConfig::_internal_tcp_server() const {
408 const ::goby::middleware::protobuf::TCPServerConfig* p = _impl_.tcp_server_;
409 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::TCPServerConfig&>(
411}
412inline const ::goby::middleware::protobuf::TCPServerConfig& StoreServerConfig::tcp_server() const {
413 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
414 return _internal_tcp_server();
415}
418 if (GetArenaForAllocation() == nullptr) {
419 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tcp_server_);
420 }
421 _impl_.tcp_server_ = tcp_server;
422 if (tcp_server) {
423 _impl_._has_bits_[0] |= 0x00000008u;
424 } else {
425 _impl_._has_bits_[0] &= ~0x00000008u;
426 }
427 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
428}
429inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::release_tcp_server() {
430 _impl_._has_bits_[0] &= ~0x00000008u;
432 _impl_.tcp_server_ = nullptr;
433#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
434 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
435 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
436 if (GetArenaForAllocation() == nullptr) { delete old; }
437#else // PROTOBUF_FORCE_COPY_IN_RELEASE
438 if (GetArenaForAllocation() != nullptr) {
439 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
440 }
441#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
442 return temp;
443}
444inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::unsafe_arena_release_tcp_server() {
445 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
446 _impl_._has_bits_[0] &= ~0x00000008u;
448 _impl_.tcp_server_ = nullptr;
449 return temp;
450}
451inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::_internal_mutable_tcp_server() {
452 _impl_._has_bits_[0] |= 0x00000008u;
453 if (_impl_.tcp_server_ == nullptr) {
455 _impl_.tcp_server_ = p;
456 }
457 return _impl_.tcp_server_;
458}
459inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::mutable_tcp_server() {
460 ::goby::middleware::protobuf::TCPServerConfig* _msg = _internal_mutable_tcp_server();
461 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
462 return _msg;
463}
465 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
466 if (message_arena == nullptr) {
467 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tcp_server_);
468 }
469 if (tcp_server) {
470 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
471 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
472 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tcp_server));
473 if (message_arena != submessage_arena) {
474 tcp_server = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
475 message_arena, tcp_server, submessage_arena);
476 }
477 _impl_._has_bits_[0] |= 0x00000008u;
478 } else {
479 _impl_._has_bits_[0] &= ~0x00000008u;
480 }
481 _impl_.tcp_server_ = tcp_server;
482 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
483}
484
485// optional string db_file_dir = 3 [default = "."];
486inline bool StoreServerConfig::_internal_has_db_file_dir() const {
487 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
488 return value;
489}
491 return _internal_has_db_file_dir();
492}
494 _impl_.db_file_dir_.ClearToDefault(::goby::apps::acomms::protobuf::StoreServerConfig::Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_, GetArenaForAllocation());
495 _impl_._has_bits_[0] &= ~0x00000001u;
496}
497inline const std::string& StoreServerConfig::db_file_dir() const {
498 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
499 if (_impl_.db_file_dir_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_.get();
500 return _internal_db_file_dir();
501}
502template <typename ArgT0, typename... ArgT>
503inline PROTOBUF_ALWAYS_INLINE
504void StoreServerConfig::set_db_file_dir(ArgT0&& arg0, ArgT... args) {
505 _impl_._has_bits_[0] |= 0x00000001u;
506 _impl_.db_file_dir_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
507 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
508}
510 std::string* _s = _internal_mutable_db_file_dir();
511 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
512 return _s;
513}
514inline const std::string& StoreServerConfig::_internal_db_file_dir() const {
515 return _impl_.db_file_dir_.Get();
516}
517inline void StoreServerConfig::_internal_set_db_file_dir(const std::string& value) {
518 _impl_._has_bits_[0] |= 0x00000001u;
519 _impl_.db_file_dir_.Set(value, GetArenaForAllocation());
520}
521inline std::string* StoreServerConfig::_internal_mutable_db_file_dir() {
522 _impl_._has_bits_[0] |= 0x00000001u;
523 return _impl_.db_file_dir_.Mutable(::goby::apps::acomms::protobuf::StoreServerConfig::Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_, GetArenaForAllocation());
524}
526 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
527 if (!_internal_has_db_file_dir()) {
528 return nullptr;
529 }
530 _impl_._has_bits_[0] &= ~0x00000001u;
531 auto* p = _impl_.db_file_dir_.Release();
532 return p;
533}
535 if (db_file_dir != nullptr) {
536 _impl_._has_bits_[0] |= 0x00000001u;
537 } else {
538 _impl_._has_bits_[0] &= ~0x00000001u;
539 }
540 _impl_.db_file_dir_.SetAllocated(db_file_dir, GetArenaForAllocation());
541 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
542}
543
544// optional string db_file_name = 4;
545inline bool StoreServerConfig::_internal_has_db_file_name() const {
546 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
547 return value;
548}
550 return _internal_has_db_file_name();
551}
553 _impl_.db_file_name_.ClearToEmpty();
554 _impl_._has_bits_[0] &= ~0x00000002u;
555}
556inline const std::string& StoreServerConfig::db_file_name() const {
557 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
558 return _internal_db_file_name();
559}
560template <typename ArgT0, typename... ArgT>
561inline PROTOBUF_ALWAYS_INLINE
562void StoreServerConfig::set_db_file_name(ArgT0&& arg0, ArgT... args) {
563 _impl_._has_bits_[0] |= 0x00000002u;
564 _impl_.db_file_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
565 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
566}
568 std::string* _s = _internal_mutable_db_file_name();
569 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
570 return _s;
571}
572inline const std::string& StoreServerConfig::_internal_db_file_name() const {
573 return _impl_.db_file_name_.Get();
574}
575inline void StoreServerConfig::_internal_set_db_file_name(const std::string& value) {
576 _impl_._has_bits_[0] |= 0x00000002u;
577 _impl_.db_file_name_.Set(value, GetArenaForAllocation());
578}
579inline std::string* StoreServerConfig::_internal_mutable_db_file_name() {
580 _impl_._has_bits_[0] |= 0x00000002u;
581 return _impl_.db_file_name_.Mutable(GetArenaForAllocation());
582}
584 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
585 if (!_internal_has_db_file_name()) {
586 return nullptr;
587 }
588 _impl_._has_bits_[0] &= ~0x00000002u;
589 auto* p = _impl_.db_file_name_.Release();
590#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
591 if (_impl_.db_file_name_.IsDefault()) {
592 _impl_.db_file_name_.Set("", GetArenaForAllocation());
593 }
594#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
595 return p;
596}
598 if (db_file_name != nullptr) {
599 _impl_._has_bits_[0] |= 0x00000002u;
600 } else {
601 _impl_._has_bits_[0] &= ~0x00000002u;
602 }
603 _impl_.db_file_name_.SetAllocated(db_file_name, GetArenaForAllocation());
604#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
605 if (_impl_.db_file_name_.IsDefault()) {
606 _impl_.db_file_name_.Set("", GetArenaForAllocation());
607 }
608#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
609 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
610}
611
612#ifdef __GNUC__
613 #pragma GCC diagnostic pop
614#endif // __GNUC__
615
616// @@protoc_insertion_point(namespace_scope)
617
618} // namespace protobuf
619} // namespace acomms
620} // namespace apps
621} // namespace goby
622
623// @@protoc_insertion_point(global_scope)
624
625#include <google/protobuf/port_undef.inc>
626#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
StoreServerConfig(const StoreServerConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_db_file_name(std::string *db_file_name)
void CopyFrom(const StoreServerConfig &from)
static const StoreServerConfig * internal_default_instance()
StoreServerConfig & operator=(StoreServerConfig &&from) noexcept
PROTOBUF_NODISCARD::goby::middleware::protobuf::TCPServerConfig * release_tcp_server()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
StoreServerConfig(StoreServerConfig &&from) noexcept
StoreServerConfig & operator=(const StoreServerConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::goby::middleware::protobuf::TCPServerConfig & tcp_server() const
static const StoreServerConfig & default_instance()
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
void set_db_file_dir(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_tcp_server(::goby::middleware::protobuf::TCPServerConfig *tcp_server)
const ::goby::middleware::protobuf::AppConfig & app() const
PROTOBUF_CONSTEXPR StoreServerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::middleware::protobuf::AppConfig * mutable_app()
StoreServerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_NODISCARD std::string * release_db_file_name()
void set_db_file_name(ArgT0 &&arg0, ArgT... args)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD std::string * release_db_file_dir()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::goby::middleware::protobuf::TCPServerConfig * mutable_tcp_server()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
StoreServerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(StoreServerConfig &a, StoreServerConfig &b)
::goby::middleware::protobuf::TCPServerConfig * unsafe_arena_release_tcp_server()
void set_allocated_tcp_server(::goby::middleware::protobuf::TCPServerConfig *tcp_server)
StoreServerConfigDefaultTypeInternal _StoreServerConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
::goby::middleware::protobuf::TCPServerConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::TCPServerConfig >(Arena *)