Goby3 3.2.3
2025.05.13
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>
34#include "dccl/option_extensions.pb.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
41#include <boost/units/systems/si.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
45PROTOBUF_NAMESPACE_OPEN
46namespace internal {
47class AnyMetadata;
48} // namespace internal
49PROTOBUF_NAMESPACE_CLOSE
50
51// Internal implementation detail -- do not use these members.
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto;
56namespace goby {
57namespace apps {
58namespace acomms {
59namespace protobuf {
60class StoreServerConfig;
61struct StoreServerConfigDefaultTypeInternal;
62extern StoreServerConfigDefaultTypeInternal _StoreServerConfig_default_instance_;
63} // namespace protobuf
64} // namespace acomms
65} // namespace apps
66} // namespace goby
67PROTOBUF_NAMESPACE_OPEN
68template<> ::goby::apps::acomms::protobuf::StoreServerConfig* Arena::CreateMaybeMessage<::goby::apps::acomms::protobuf::StoreServerConfig>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace goby {
71namespace apps {
72namespace acomms {
73namespace protobuf {
74
75// ===================================================================
76
77class StoreServerConfig final :
78 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.acomms.protobuf.StoreServerConfig) */ {
79 public:
80 inline StoreServerConfig() : StoreServerConfig(nullptr) {}
82 explicit PROTOBUF_CONSTEXPR StoreServerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83
87 *this = ::std::move(from);
88 }
89
91 CopyFrom(from);
92 return *this;
93 }
95 if (this == &from) return *this;
96 if (GetOwningArena() == from.GetOwningArena()
97 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
98 && GetOwningArena() != nullptr
99 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
100 ) {
101 InternalSwap(&from);
102 } else {
103 CopyFrom(from);
104 }
105 return *this;
106 }
107
108 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
109 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110 }
111 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
112 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113 }
114
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
116 return GetDescriptor();
117 }
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
119 return default_instance().GetMetadata().descriptor;
120 }
121 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
122 return default_instance().GetMetadata().reflection;
123 }
126 }
128 return reinterpret_cast<const StoreServerConfig*>(
130 }
131 static constexpr int kIndexInFileMessages =
132 0;
133
135 a.Swap(&b);
136 }
137 inline void Swap(StoreServerConfig* other) {
138 if (other == this) return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() != nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
142 #else // PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() == other->GetOwningArena()) {
144 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
145 InternalSwap(other);
146 } else {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
148 }
149 }
151 if (other == this) return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
153 InternalSwap(other);
154 }
155
156 // implements Message ----------------------------------------------
157
158 StoreServerConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
159 return CreateMaybeMessage<StoreServerConfig>(arena);
160 }
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 void CopyFrom(const StoreServerConfig& from);
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 void MergeFrom( const StoreServerConfig& from) {
165 StoreServerConfig::MergeImpl(*this, from);
166 }
167 private:
168 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
169 public:
170 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
171 bool IsInitialized() const final;
172
173 size_t ByteSizeLong() const final;
174 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
176 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
178
179 private:
180 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
181 void SharedDtor();
182 void SetCachedSize(int size) const final;
183 void InternalSwap(StoreServerConfig* other);
184
185 private:
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "goby.apps.acomms.protobuf.StoreServerConfig";
189 }
190 protected:
191 explicit StoreServerConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
192 bool is_message_owned = false);
193 public:
194
195 static const ClassData _class_data_;
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199
200 // nested types ----------------------------------------------------
201
202 // accessors -------------------------------------------------------
203
204 enum : int {
210 };
211 // optional string db_file_dir = 3 [default = "."];
212 bool has_db_file_dir() const;
213 private:
214 bool _internal_has_db_file_dir() const;
215 public:
216 void clear_db_file_dir();
217 const std::string& db_file_dir() const;
218 template <typename ArgT0 = const std::string&, typename... ArgT>
219 void set_db_file_dir(ArgT0&& arg0, ArgT... args);
220 std::string* mutable_db_file_dir();
221 PROTOBUF_NODISCARD std::string* release_db_file_dir();
222 void set_allocated_db_file_dir(std::string* db_file_dir);
223 private:
224 const std::string& _internal_db_file_dir() const;
225 inline PROTOBUF_ALWAYS_INLINE void _internal_set_db_file_dir(const std::string& value);
226 std::string* _internal_mutable_db_file_dir();
227 public:
228
229 // optional string db_file_name = 4;
230 bool has_db_file_name() const;
231 private:
232 bool _internal_has_db_file_name() const;
233 public:
234 void clear_db_file_name();
235 const std::string& db_file_name() const;
236 template <typename ArgT0 = const std::string&, typename... ArgT>
237 void set_db_file_name(ArgT0&& arg0, ArgT... args);
238 std::string* mutable_db_file_name();
239 PROTOBUF_NODISCARD std::string* release_db_file_name();
240 void set_allocated_db_file_name(std::string* db_file_name);
241 private:
242 const std::string& _internal_db_file_name() const;
243 inline PROTOBUF_ALWAYS_INLINE void _internal_set_db_file_name(const std::string& value);
244 std::string* _internal_mutable_db_file_name();
245 public:
246
247 // optional .goby.middleware.protobuf.AppConfig app = 1;
248 bool has_app() const;
249 private:
250 bool _internal_has_app() const;
251 public:
252 void clear_app();
253 const ::goby::middleware::protobuf::AppConfig& app() const;
254 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
257 private:
258 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
259 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
260 public:
264
265 // optional .goby.middleware.protobuf.TCPServerConfig tcp_server = 2;
266 bool has_tcp_server() const;
267 private:
268 bool _internal_has_tcp_server() const;
269 public:
271 const ::goby::middleware::protobuf::TCPServerConfig& tcp_server() const;
272 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TCPServerConfig* release_tcp_server();
275 private:
276 const ::goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server() const;
277 ::goby::middleware::protobuf::TCPServerConfig* _internal_mutable_tcp_server();
278 public:
282
283 // optional double max_time_between_requests = 5 [(.dccl.field) = {
285 private:
286 bool _internal_has_max_time_between_requests() const;
287 public:
289 double max_time_between_requests() const;
290 void set_max_time_between_requests(double value);
291 private:
292 double _internal_max_time_between_requests() const;
293 void _internal_set_max_time_between_requests(double value);
294 public:
295
296 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type max_time_between_requests_dimension;
297
298 typedef boost::units::unit<max_time_between_requests_dimension,boost::units::si::system> max_time_between_requests_unit;
299
300 template<typename Quantity >
301 void set_max_time_between_requests_with_units(Quantity value_w_units)
302 { set_max_time_between_requests(boost::units::quantity<max_time_between_requests_unit,double >(value_w_units).value() ); };
303
304 template<typename Quantity >
307
308 boost::units::quantity< max_time_between_requests_unit,double > max_time_between_requests_with_units() const
309 { return max_time_between_requests_with_units<boost::units::quantity< max_time_between_requests_unit,double > >(); };
310
311 // @@protoc_insertion_point(class_scope:goby.apps.acomms.protobuf.StoreServerConfig)
312 private:
313 class _Internal;
314
315 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
316 typedef void InternalArenaConstructable_;
317 typedef void DestructorSkippable_;
318 struct Impl_ {
319 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
320 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
321 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_db_file_dir_;
322 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_file_dir_;
323 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr db_file_name_;
326 double max_time_between_requests_;
327 };
328 union { Impl_ _impl_; };
329 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto;
330};
331// ===================================================================
332
333
334// ===================================================================
335
336#ifdef __GNUC__
337 #pragma GCC diagnostic push
338 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
339#endif // __GNUC__
340// StoreServerConfig
341
342// optional .goby.middleware.protobuf.AppConfig app = 1;
343inline bool StoreServerConfig::_internal_has_app() const {
344 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
345 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
346 return value;
347}
348inline bool StoreServerConfig::has_app() const {
349 return _internal_has_app();
350}
351inline const ::goby::middleware::protobuf::AppConfig& StoreServerConfig::_internal_app() const {
352 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
353 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
355}
356inline const ::goby::middleware::protobuf::AppConfig& StoreServerConfig::app() const {
357 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.app)
358 return _internal_app();
359}
362 if (GetArenaForAllocation() == nullptr) {
363 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
364 }
365 _impl_.app_ = app;
366 if (app) {
367 _impl_._has_bits_[0] |= 0x00000004u;
368 } else {
369 _impl_._has_bits_[0] &= ~0x00000004u;
370 }
371 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.app)
372}
373inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::release_app() {
374 _impl_._has_bits_[0] &= ~0x00000004u;
376 _impl_.app_ = nullptr;
377#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
378 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
379 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
380 if (GetArenaForAllocation() == nullptr) { delete old; }
381#else // PROTOBUF_FORCE_COPY_IN_RELEASE
382 if (GetArenaForAllocation() != nullptr) {
383 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
384 }
385#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
386 return temp;
387}
388inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::unsafe_arena_release_app() {
389 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.app)
390 _impl_._has_bits_[0] &= ~0x00000004u;
392 _impl_.app_ = nullptr;
393 return temp;
394}
395inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::_internal_mutable_app() {
396 _impl_._has_bits_[0] |= 0x00000004u;
397 if (_impl_.app_ == nullptr) {
398 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
399 _impl_.app_ = p;
400 }
401 return _impl_.app_;
402}
403inline ::goby::middleware::protobuf::AppConfig* StoreServerConfig::mutable_app() {
404 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
405 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.app)
406 return _msg;
407}
409 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
410 if (message_arena == nullptr) {
411 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
412 }
413 if (app) {
414 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
415 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
416 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
417 if (message_arena != submessage_arena) {
418 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
419 message_arena, app, submessage_arena);
420 }
421 _impl_._has_bits_[0] |= 0x00000004u;
422 } else {
423 _impl_._has_bits_[0] &= ~0x00000004u;
424 }
425 _impl_.app_ = app;
426 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.app)
427}
428
429// optional .goby.middleware.protobuf.TCPServerConfig tcp_server = 2;
430inline bool StoreServerConfig::_internal_has_tcp_server() const {
431 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
432 PROTOBUF_ASSUME(!value || _impl_.tcp_server_ != nullptr);
433 return value;
434}
436 return _internal_has_tcp_server();
437}
438inline const ::goby::middleware::protobuf::TCPServerConfig& StoreServerConfig::_internal_tcp_server() const {
439 const ::goby::middleware::protobuf::TCPServerConfig* p = _impl_.tcp_server_;
440 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::TCPServerConfig&>(
442}
443inline const ::goby::middleware::protobuf::TCPServerConfig& StoreServerConfig::tcp_server() const {
444 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
445 return _internal_tcp_server();
446}
449 if (GetArenaForAllocation() == nullptr) {
450 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tcp_server_);
451 }
452 _impl_.tcp_server_ = tcp_server;
453 if (tcp_server) {
454 _impl_._has_bits_[0] |= 0x00000008u;
455 } else {
456 _impl_._has_bits_[0] &= ~0x00000008u;
457 }
458 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
459}
460inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::release_tcp_server() {
461 _impl_._has_bits_[0] &= ~0x00000008u;
463 _impl_.tcp_server_ = nullptr;
464#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
465 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
466 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
467 if (GetArenaForAllocation() == nullptr) { delete old; }
468#else // PROTOBUF_FORCE_COPY_IN_RELEASE
469 if (GetArenaForAllocation() != nullptr) {
470 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
471 }
472#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
473 return temp;
474}
475inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::unsafe_arena_release_tcp_server() {
476 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
477 _impl_._has_bits_[0] &= ~0x00000008u;
479 _impl_.tcp_server_ = nullptr;
480 return temp;
481}
482inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::_internal_mutable_tcp_server() {
483 _impl_._has_bits_[0] |= 0x00000008u;
484 if (_impl_.tcp_server_ == nullptr) {
486 _impl_.tcp_server_ = p;
487 }
488 return _impl_.tcp_server_;
489}
490inline ::goby::middleware::protobuf::TCPServerConfig* StoreServerConfig::mutable_tcp_server() {
491 ::goby::middleware::protobuf::TCPServerConfig* _msg = _internal_mutable_tcp_server();
492 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
493 return _msg;
494}
496 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
497 if (message_arena == nullptr) {
498 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tcp_server_);
499 }
500 if (tcp_server) {
501 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
502 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
503 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tcp_server));
504 if (message_arena != submessage_arena) {
505 tcp_server = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
506 message_arena, tcp_server, submessage_arena);
507 }
508 _impl_._has_bits_[0] |= 0x00000008u;
509 } else {
510 _impl_._has_bits_[0] &= ~0x00000008u;
511 }
512 _impl_.tcp_server_ = tcp_server;
513 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.tcp_server)
514}
515
516// optional string db_file_dir = 3 [default = "."];
517inline bool StoreServerConfig::_internal_has_db_file_dir() const {
518 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
519 return value;
520}
522 return _internal_has_db_file_dir();
523}
525 _impl_.db_file_dir_.ClearToDefault(::goby::apps::acomms::protobuf::StoreServerConfig::Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_, GetArenaForAllocation());
526 _impl_._has_bits_[0] &= ~0x00000001u;
527}
528inline const std::string& StoreServerConfig::db_file_dir() const {
529 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
530 if (_impl_.db_file_dir_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_.get();
531 return _internal_db_file_dir();
532}
533template <typename ArgT0, typename... ArgT>
534inline PROTOBUF_ALWAYS_INLINE
535void StoreServerConfig::set_db_file_dir(ArgT0&& arg0, ArgT... args) {
536 _impl_._has_bits_[0] |= 0x00000001u;
537 _impl_.db_file_dir_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
538 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
539}
541 std::string* _s = _internal_mutable_db_file_dir();
542 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
543 return _s;
544}
545inline const std::string& StoreServerConfig::_internal_db_file_dir() const {
546 return _impl_.db_file_dir_.Get();
547}
548inline void StoreServerConfig::_internal_set_db_file_dir(const std::string& value) {
549 _impl_._has_bits_[0] |= 0x00000001u;
550 _impl_.db_file_dir_.Set(value, GetArenaForAllocation());
551}
552inline std::string* StoreServerConfig::_internal_mutable_db_file_dir() {
553 _impl_._has_bits_[0] |= 0x00000001u;
554 return _impl_.db_file_dir_.Mutable(::goby::apps::acomms::protobuf::StoreServerConfig::Impl_::_i_give_permission_to_break_this_code_default_db_file_dir_, GetArenaForAllocation());
555}
557 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
558 if (!_internal_has_db_file_dir()) {
559 return nullptr;
560 }
561 _impl_._has_bits_[0] &= ~0x00000001u;
562 auto* p = _impl_.db_file_dir_.Release();
563 return p;
564}
566 if (db_file_dir != nullptr) {
567 _impl_._has_bits_[0] |= 0x00000001u;
568 } else {
569 _impl_._has_bits_[0] &= ~0x00000001u;
570 }
571 _impl_.db_file_dir_.SetAllocated(db_file_dir, GetArenaForAllocation());
572 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.db_file_dir)
573}
574
575// optional string db_file_name = 4;
576inline bool StoreServerConfig::_internal_has_db_file_name() const {
577 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
578 return value;
579}
581 return _internal_has_db_file_name();
582}
584 _impl_.db_file_name_.ClearToEmpty();
585 _impl_._has_bits_[0] &= ~0x00000002u;
586}
587inline const std::string& StoreServerConfig::db_file_name() const {
588 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
589 return _internal_db_file_name();
590}
591template <typename ArgT0, typename... ArgT>
592inline PROTOBUF_ALWAYS_INLINE
593void StoreServerConfig::set_db_file_name(ArgT0&& arg0, ArgT... args) {
594 _impl_._has_bits_[0] |= 0x00000002u;
595 _impl_.db_file_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
596 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
597}
599 std::string* _s = _internal_mutable_db_file_name();
600 // @@protoc_insertion_point(field_mutable:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
601 return _s;
602}
603inline const std::string& StoreServerConfig::_internal_db_file_name() const {
604 return _impl_.db_file_name_.Get();
605}
606inline void StoreServerConfig::_internal_set_db_file_name(const std::string& value) {
607 _impl_._has_bits_[0] |= 0x00000002u;
608 _impl_.db_file_name_.Set(value, GetArenaForAllocation());
609}
610inline std::string* StoreServerConfig::_internal_mutable_db_file_name() {
611 _impl_._has_bits_[0] |= 0x00000002u;
612 return _impl_.db_file_name_.Mutable(GetArenaForAllocation());
613}
615 // @@protoc_insertion_point(field_release:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
616 if (!_internal_has_db_file_name()) {
617 return nullptr;
618 }
619 _impl_._has_bits_[0] &= ~0x00000002u;
620 auto* p = _impl_.db_file_name_.Release();
621#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
622 if (_impl_.db_file_name_.IsDefault()) {
623 _impl_.db_file_name_.Set("", GetArenaForAllocation());
624 }
625#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
626 return p;
627}
629 if (db_file_name != nullptr) {
630 _impl_._has_bits_[0] |= 0x00000002u;
631 } else {
632 _impl_._has_bits_[0] &= ~0x00000002u;
633 }
634 _impl_.db_file_name_.SetAllocated(db_file_name, GetArenaForAllocation());
635#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
636 if (_impl_.db_file_name_.IsDefault()) {
637 _impl_.db_file_name_.Set("", GetArenaForAllocation());
638 }
639#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
640 // @@protoc_insertion_point(field_set_allocated:goby.apps.acomms.protobuf.StoreServerConfig.db_file_name)
641}
642
643// optional double max_time_between_requests = 5 [(.dccl.field) = {
644inline bool StoreServerConfig::_internal_has_max_time_between_requests() const {
645 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
646 return value;
647}
649 return _internal_has_max_time_between_requests();
650}
652 _impl_.max_time_between_requests_ = 0;
653 _impl_._has_bits_[0] &= ~0x00000010u;
654}
655inline double StoreServerConfig::_internal_max_time_between_requests() const {
656 return _impl_.max_time_between_requests_;
657}
659 // @@protoc_insertion_point(field_get:goby.apps.acomms.protobuf.StoreServerConfig.max_time_between_requests)
660 return _internal_max_time_between_requests();
661}
662inline void StoreServerConfig::_internal_set_max_time_between_requests(double value) {
663 _impl_._has_bits_[0] |= 0x00000010u;
664 _impl_.max_time_between_requests_ = value;
665}
667 _internal_set_max_time_between_requests(value);
668 // @@protoc_insertion_point(field_set:goby.apps.acomms.protobuf.StoreServerConfig.max_time_between_requests)
669}
670
671#ifdef __GNUC__
672 #pragma GCC diagnostic pop
673#endif // __GNUC__
674
675// @@protoc_insertion_point(namespace_scope)
676
677} // namespace protobuf
678} // namespace acomms
679} // namespace apps
680} // namespace goby
681
682// @@protoc_insertion_point(global_scope)
683
684#include <google/protobuf/port_undef.inc>
685#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
boost::units::quantity< max_time_between_requests_unit, double > max_time_between_requests_with_units() const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type max_time_between_requests_dimension
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
boost::units::unit< max_time_between_requests_dimension, boost::units::si::system > max_time_between_requests_unit
void set_max_time_between_requests_with_units(Quantity value_w_units)
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 *)