Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
file_transfer_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/file_transfer_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
37#include "dccl/option_extensions.pb.h"
38#include <boost/units/quantity.hpp>
39#include <boost/units/absolute.hpp>
40#include <boost/units/dimensionless_type.hpp>
41#include <boost/units/make_scaled_unit.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_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_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto;
56namespace goby {
57namespace apps {
58namespace zeromq {
59namespace acomms {
60namespace protobuf {
61class FileTransferConfig;
62struct FileTransferConfigDefaultTypeInternal;
63extern FileTransferConfigDefaultTypeInternal _FileTransferConfig_default_instance_;
64} // namespace protobuf
65} // namespace acomms
66} // namespace zeromq
67} // namespace apps
68} // namespace goby
69PROTOBUF_NAMESPACE_OPEN
70template<> ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::acomms::protobuf::FileTransferConfig>(Arena*);
71PROTOBUF_NAMESPACE_CLOSE
72namespace goby {
73namespace apps {
74namespace zeromq {
75namespace acomms {
76namespace protobuf {
77
87
88const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileTransferConfig_Action_descriptor();
89template<typename T>
90inline const std::string& FileTransferConfig_Action_Name(T enum_t_value) {
91 static_assert(::std::is_same<T, FileTransferConfig_Action>::value ||
92 ::std::is_integral<T>::value,
93 "Incorrect type passed to function FileTransferConfig_Action_Name.");
94 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96}
98 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileTransferConfig_Action* value) {
99 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileTransferConfig_Action>(
101}
102// ===================================================================
103
105 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.acomms.protobuf.FileTransferConfig) */ {
106 public:
109 explicit PROTOBUF_CONSTEXPR FileTransferConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
110
114 *this = ::std::move(from);
115 }
116
118 CopyFrom(from);
119 return *this;
120 }
122 if (this == &from) return *this;
123 if (GetOwningArena() == from.GetOwningArena()
124 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
125 && GetOwningArena() != nullptr
126 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
127 ) {
128 InternalSwap(&from);
129 } else {
130 CopyFrom(from);
131 }
132 return *this;
133 }
134
135 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
136 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
137 }
138 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
139 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
140 }
141
142 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
143 return GetDescriptor();
144 }
145 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
146 return default_instance().GetMetadata().descriptor;
147 }
148 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
149 return default_instance().GetMetadata().reflection;
150 }
153 }
155 return reinterpret_cast<const FileTransferConfig*>(
157 }
158 static constexpr int kIndexInFileMessages =
159 0;
160
162 a.Swap(&b);
163 }
164 inline void Swap(FileTransferConfig* other) {
165 if (other == this) return;
166 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
167 if (GetOwningArena() != nullptr &&
168 GetOwningArena() == other->GetOwningArena()) {
169 #else // PROTOBUF_FORCE_COPY_IN_SWAP
170 if (GetOwningArena() == other->GetOwningArena()) {
171 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
172 InternalSwap(other);
173 } else {
174 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
175 }
176 }
178 if (other == this) return;
179 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
180 InternalSwap(other);
181 }
182
183 // implements Message ----------------------------------------------
184
185 FileTransferConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
186 return CreateMaybeMessage<FileTransferConfig>(arena);
187 }
188 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
189 void CopyFrom(const FileTransferConfig& from);
190 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
191 void MergeFrom( const FileTransferConfig& from) {
192 FileTransferConfig::MergeImpl(*this, from);
193 }
194 private:
195 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
196 public:
197 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
198 bool IsInitialized() const final;
199
200 size_t ByteSizeLong() const final;
201 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
203 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
205
206 private:
207 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
208 void SharedDtor();
209 void SetCachedSize(int size) const final;
210 void InternalSwap(FileTransferConfig* other);
211
212 private:
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "goby.apps.zeromq.acomms.protobuf.FileTransferConfig";
216 }
217 protected:
218 explicit FileTransferConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
219 bool is_message_owned = false);
220 public:
221
222 static const ClassData _class_data_;
223 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
224
225 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
226
227 // nested types ----------------------------------------------------
228
230 static constexpr Action WAIT =
232 static constexpr Action PUSH =
234 static constexpr Action PULL =
236 static inline bool Action_IsValid(int value) {
238 }
239 static constexpr Action Action_MIN =
241 static constexpr Action Action_MAX =
243 static constexpr int Action_ARRAYSIZE =
245 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
249 template<typename T>
250 static inline const std::string& Action_Name(T enum_t_value) {
251 static_assert(::std::is_same<T, Action>::value ||
252 ::std::is_integral<T>::value,
253 "Incorrect type passed to function Action_Name.");
254 return FileTransferConfig_Action_Name(enum_t_value);
255 }
256 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
257 Action* value) {
258 return FileTransferConfig_Action_Parse(name, value);
259 }
260
261 // accessors -------------------------------------------------------
262
263 enum : int {
273 };
274 // optional string local_file = 6;
275 bool has_local_file() const;
276 private:
277 bool _internal_has_local_file() const;
278 public:
279 void clear_local_file();
280 const std::string& local_file() const;
281 template <typename ArgT0 = const std::string&, typename... ArgT>
282 void set_local_file(ArgT0&& arg0, ArgT... args);
283 std::string* mutable_local_file();
284 PROTOBUF_NODISCARD std::string* release_local_file();
285 void set_allocated_local_file(std::string* local_file);
286 private:
287 const std::string& _internal_local_file() const;
288 inline PROTOBUF_ALWAYS_INLINE void _internal_set_local_file(const std::string& value);
289 std::string* _internal_mutable_local_file();
290 public:
291
292 // optional string remote_file = 7;
293 bool has_remote_file() const;
294 private:
295 bool _internal_has_remote_file() const;
296 public:
297 void clear_remote_file();
298 const std::string& remote_file() const;
299 template <typename ArgT0 = const std::string&, typename... ArgT>
300 void set_remote_file(ArgT0&& arg0, ArgT... args);
301 std::string* mutable_remote_file();
302 PROTOBUF_NODISCARD std::string* release_remote_file();
303 void set_allocated_remote_file(std::string* remote_file);
304 private:
305 const std::string& _internal_remote_file() const;
306 inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_file(const std::string& value);
307 std::string* _internal_mutable_remote_file();
308 public:
309
310 // optional .goby.middleware.protobuf.AppConfig app = 1;
311 bool has_app() const;
312 private:
313 bool _internal_has_app() const;
314 public:
315 void clear_app();
316 const ::goby::middleware::protobuf::AppConfig& app() const;
317 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
320 private:
321 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
322 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
323 public:
327
328 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
329 bool has_interprocess() const;
330 private:
331 bool _internal_has_interprocess() const;
332 public:
334 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
335 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
338 private:
339 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
340 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
341 public:
345
346 // optional bool daemon = 3 [default = false];
347 bool has_daemon() const;
348 private:
349 bool _internal_has_daemon() const;
350 public:
351 void clear_daemon();
352 bool daemon() const;
353 void set_daemon(bool value);
354 private:
355 bool _internal_daemon() const;
356 void _internal_set_daemon(bool value);
357 public:
358
359 // required int32 local_id = 4;
360 bool has_local_id() const;
361 private:
362 bool _internal_has_local_id() const;
363 public:
364 void clear_local_id();
365 int32_t local_id() const;
366 void set_local_id(int32_t value);
367 private:
368 int32_t _internal_local_id() const;
369 void _internal_set_local_id(int32_t value);
370 public:
371
372 // optional int32 remote_id = 5;
373 bool has_remote_id() const;
374 private:
375 bool _internal_has_remote_id() const;
376 public:
377 void clear_remote_id();
378 int32_t remote_id() const;
379 void set_remote_id(int32_t value);
380 private:
381 int32_t _internal_remote_id() const;
382 void _internal_set_remote_id(int32_t value);
383 public:
384
385 // optional .goby.apps.zeromq.acomms.protobuf.FileTransferConfig.Action action = 10 [default = WAIT];
386 bool has_action() const;
387 private:
388 bool _internal_has_action() const;
389 public:
390 void clear_action();
393 private:
396 public:
397
398 // optional double request_timeout = 11 [default = 600];
399 bool has_request_timeout() const;
400 private:
401 bool _internal_has_request_timeout() const;
402 public:
404 double request_timeout() const;
405 void set_request_timeout(double value);
406 private:
407 double _internal_request_timeout() const;
408 void _internal_set_request_timeout(double value);
409 public:
410
411 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.acomms.protobuf.FileTransferConfig)
412 private:
413 class _Internal;
414
415 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
416 typedef void InternalArenaConstructable_;
417 typedef void DestructorSkippable_;
418 struct Impl_ {
419 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
420 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
421 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_file_;
422 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_file_;
425 bool daemon_;
426 int32_t local_id_;
427 int32_t remote_id_;
428 int action_;
429 double request_timeout_;
430 };
431 union { Impl_ _impl_; };
432 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto;
433};
434// ===================================================================
435
436
437// ===================================================================
438
439#ifdef __GNUC__
440 #pragma GCC diagnostic push
441 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
442#endif // __GNUC__
443// FileTransferConfig
444
445// optional .goby.middleware.protobuf.AppConfig app = 1;
446inline bool FileTransferConfig::_internal_has_app() const {
447 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
448 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
449 return value;
450}
451inline bool FileTransferConfig::has_app() const {
452 return _internal_has_app();
453}
454inline const ::goby::middleware::protobuf::AppConfig& FileTransferConfig::_internal_app() const {
455 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
456 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
458}
459inline const ::goby::middleware::protobuf::AppConfig& FileTransferConfig::app() const {
460 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.app)
461 return _internal_app();
462}
465 if (GetArenaForAllocation() == nullptr) {
466 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
467 }
468 _impl_.app_ = app;
469 if (app) {
470 _impl_._has_bits_[0] |= 0x00000004u;
471 } else {
472 _impl_._has_bits_[0] &= ~0x00000004u;
473 }
474 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.app)
475}
476inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::release_app() {
477 _impl_._has_bits_[0] &= ~0x00000004u;
479 _impl_.app_ = nullptr;
480#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
481 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
482 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
483 if (GetArenaForAllocation() == nullptr) { delete old; }
484#else // PROTOBUF_FORCE_COPY_IN_RELEASE
485 if (GetArenaForAllocation() != nullptr) {
486 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
487 }
488#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
489 return temp;
490}
491inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::unsafe_arena_release_app() {
492 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.app)
493 _impl_._has_bits_[0] &= ~0x00000004u;
495 _impl_.app_ = nullptr;
496 return temp;
497}
498inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::_internal_mutable_app() {
499 _impl_._has_bits_[0] |= 0x00000004u;
500 if (_impl_.app_ == nullptr) {
501 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
502 _impl_.app_ = p;
503 }
504 return _impl_.app_;
505}
506inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::mutable_app() {
507 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
508 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.app)
509 return _msg;
510}
512 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
513 if (message_arena == nullptr) {
514 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
515 }
516 if (app) {
517 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
518 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
519 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
520 if (message_arena != submessage_arena) {
521 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
522 message_arena, app, submessage_arena);
523 }
524 _impl_._has_bits_[0] |= 0x00000004u;
525 } else {
526 _impl_._has_bits_[0] &= ~0x00000004u;
527 }
528 _impl_.app_ = app;
529 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.app)
530}
531
532// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
533inline bool FileTransferConfig::_internal_has_interprocess() const {
534 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
535 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
536 return value;
537}
539 return _internal_has_interprocess();
540}
541inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FileTransferConfig::_internal_interprocess() const {
542 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
543 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
545}
546inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FileTransferConfig::interprocess() const {
547 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.interprocess)
548 return _internal_interprocess();
549}
552 if (GetArenaForAllocation() == nullptr) {
553 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
554 }
555 _impl_.interprocess_ = interprocess;
556 if (interprocess) {
557 _impl_._has_bits_[0] |= 0x00000008u;
558 } else {
559 _impl_._has_bits_[0] &= ~0x00000008u;
560 }
561 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.interprocess)
562}
563inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::release_interprocess() {
564 _impl_._has_bits_[0] &= ~0x00000008u;
566 _impl_.interprocess_ = nullptr;
567#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
568 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
569 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
570 if (GetArenaForAllocation() == nullptr) { delete old; }
571#else // PROTOBUF_FORCE_COPY_IN_RELEASE
572 if (GetArenaForAllocation() != nullptr) {
573 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
574 }
575#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
576 return temp;
577}
578inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::unsafe_arena_release_interprocess() {
579 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.interprocess)
580 _impl_._has_bits_[0] &= ~0x00000008u;
582 _impl_.interprocess_ = nullptr;
583 return temp;
584}
585inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::_internal_mutable_interprocess() {
586 _impl_._has_bits_[0] |= 0x00000008u;
587 if (_impl_.interprocess_ == nullptr) {
589 _impl_.interprocess_ = p;
590 }
591 return _impl_.interprocess_;
592}
593inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::mutable_interprocess() {
594 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
595 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.interprocess)
596 return _msg;
597}
599 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
600 if (message_arena == nullptr) {
601 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
602 }
603 if (interprocess) {
604 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
605 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
606 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
607 if (message_arena != submessage_arena) {
608 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
609 message_arena, interprocess, submessage_arena);
610 }
611 _impl_._has_bits_[0] |= 0x00000008u;
612 } else {
613 _impl_._has_bits_[0] &= ~0x00000008u;
614 }
615 _impl_.interprocess_ = interprocess;
616 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.interprocess)
617}
618
619// optional bool daemon = 3 [default = false];
620inline bool FileTransferConfig::_internal_has_daemon() const {
621 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
622 return value;
623}
625 return _internal_has_daemon();
626}
628 _impl_.daemon_ = false;
629 _impl_._has_bits_[0] &= ~0x00000010u;
630}
631inline bool FileTransferConfig::_internal_daemon() const {
632 return _impl_.daemon_;
633}
634inline bool FileTransferConfig::daemon() const {
635 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.daemon)
636 return _internal_daemon();
637}
638inline void FileTransferConfig::_internal_set_daemon(bool value) {
639 _impl_._has_bits_[0] |= 0x00000010u;
640 _impl_.daemon_ = value;
641}
642inline void FileTransferConfig::set_daemon(bool value) {
643 _internal_set_daemon(value);
644 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.daemon)
645}
646
647// required int32 local_id = 4;
648inline bool FileTransferConfig::_internal_has_local_id() const {
649 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
650 return value;
651}
653 return _internal_has_local_id();
654}
656 _impl_.local_id_ = 0;
657 _impl_._has_bits_[0] &= ~0x00000020u;
658}
659inline int32_t FileTransferConfig::_internal_local_id() const {
660 return _impl_.local_id_;
661}
662inline int32_t FileTransferConfig::local_id() const {
663 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_id)
664 return _internal_local_id();
665}
666inline void FileTransferConfig::_internal_set_local_id(int32_t value) {
667 _impl_._has_bits_[0] |= 0x00000020u;
668 _impl_.local_id_ = value;
669}
670inline void FileTransferConfig::set_local_id(int32_t value) {
671 _internal_set_local_id(value);
672 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_id)
673}
674
675// optional int32 remote_id = 5;
676inline bool FileTransferConfig::_internal_has_remote_id() const {
677 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
678 return value;
679}
681 return _internal_has_remote_id();
682}
684 _impl_.remote_id_ = 0;
685 _impl_._has_bits_[0] &= ~0x00000040u;
686}
687inline int32_t FileTransferConfig::_internal_remote_id() const {
688 return _impl_.remote_id_;
689}
690inline int32_t FileTransferConfig::remote_id() const {
691 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_id)
692 return _internal_remote_id();
693}
694inline void FileTransferConfig::_internal_set_remote_id(int32_t value) {
695 _impl_._has_bits_[0] |= 0x00000040u;
696 _impl_.remote_id_ = value;
697}
698inline void FileTransferConfig::set_remote_id(int32_t value) {
699 _internal_set_remote_id(value);
700 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_id)
701}
702
703// optional string local_file = 6;
704inline bool FileTransferConfig::_internal_has_local_file() const {
705 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
706 return value;
707}
709 return _internal_has_local_file();
710}
712 _impl_.local_file_.ClearToEmpty();
713 _impl_._has_bits_[0] &= ~0x00000001u;
714}
715inline const std::string& FileTransferConfig::local_file() const {
716 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_file)
717 return _internal_local_file();
718}
719template <typename ArgT0, typename... ArgT>
720inline PROTOBUF_ALWAYS_INLINE
721void FileTransferConfig::set_local_file(ArgT0&& arg0, ArgT... args) {
722 _impl_._has_bits_[0] |= 0x00000001u;
723 _impl_.local_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
724 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_file)
725}
727 std::string* _s = _internal_mutable_local_file();
728 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_file)
729 return _s;
730}
731inline const std::string& FileTransferConfig::_internal_local_file() const {
732 return _impl_.local_file_.Get();
733}
734inline void FileTransferConfig::_internal_set_local_file(const std::string& value) {
735 _impl_._has_bits_[0] |= 0x00000001u;
736 _impl_.local_file_.Set(value, GetArenaForAllocation());
737}
738inline std::string* FileTransferConfig::_internal_mutable_local_file() {
739 _impl_._has_bits_[0] |= 0x00000001u;
740 return _impl_.local_file_.Mutable(GetArenaForAllocation());
741}
743 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_file)
744 if (!_internal_has_local_file()) {
745 return nullptr;
746 }
747 _impl_._has_bits_[0] &= ~0x00000001u;
748 auto* p = _impl_.local_file_.Release();
749#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
750 if (_impl_.local_file_.IsDefault()) {
751 _impl_.local_file_.Set("", GetArenaForAllocation());
752 }
753#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
754 return p;
755}
757 if (local_file != nullptr) {
758 _impl_._has_bits_[0] |= 0x00000001u;
759 } else {
760 _impl_._has_bits_[0] &= ~0x00000001u;
761 }
762 _impl_.local_file_.SetAllocated(local_file, GetArenaForAllocation());
763#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
764 if (_impl_.local_file_.IsDefault()) {
765 _impl_.local_file_.Set("", GetArenaForAllocation());
766 }
767#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
768 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.local_file)
769}
770
771// optional string remote_file = 7;
772inline bool FileTransferConfig::_internal_has_remote_file() const {
773 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
774 return value;
775}
777 return _internal_has_remote_file();
778}
780 _impl_.remote_file_.ClearToEmpty();
781 _impl_._has_bits_[0] &= ~0x00000002u;
782}
783inline const std::string& FileTransferConfig::remote_file() const {
784 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_file)
785 return _internal_remote_file();
786}
787template <typename ArgT0, typename... ArgT>
788inline PROTOBUF_ALWAYS_INLINE
789void FileTransferConfig::set_remote_file(ArgT0&& arg0, ArgT... args) {
790 _impl_._has_bits_[0] |= 0x00000002u;
791 _impl_.remote_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
792 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_file)
793}
795 std::string* _s = _internal_mutable_remote_file();
796 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_file)
797 return _s;
798}
799inline const std::string& FileTransferConfig::_internal_remote_file() const {
800 return _impl_.remote_file_.Get();
801}
802inline void FileTransferConfig::_internal_set_remote_file(const std::string& value) {
803 _impl_._has_bits_[0] |= 0x00000002u;
804 _impl_.remote_file_.Set(value, GetArenaForAllocation());
805}
806inline std::string* FileTransferConfig::_internal_mutable_remote_file() {
807 _impl_._has_bits_[0] |= 0x00000002u;
808 return _impl_.remote_file_.Mutable(GetArenaForAllocation());
809}
811 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_file)
812 if (!_internal_has_remote_file()) {
813 return nullptr;
814 }
815 _impl_._has_bits_[0] &= ~0x00000002u;
816 auto* p = _impl_.remote_file_.Release();
817#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
818 if (_impl_.remote_file_.IsDefault()) {
819 _impl_.remote_file_.Set("", GetArenaForAllocation());
820 }
821#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
822 return p;
823}
825 if (remote_file != nullptr) {
826 _impl_._has_bits_[0] |= 0x00000002u;
827 } else {
828 _impl_._has_bits_[0] &= ~0x00000002u;
829 }
830 _impl_.remote_file_.SetAllocated(remote_file, GetArenaForAllocation());
831#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
832 if (_impl_.remote_file_.IsDefault()) {
833 _impl_.remote_file_.Set("", GetArenaForAllocation());
834 }
835#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
836 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.remote_file)
837}
838
839// optional .goby.apps.zeromq.acomms.protobuf.FileTransferConfig.Action action = 10 [default = WAIT];
840inline bool FileTransferConfig::_internal_has_action() const {
841 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
842 return value;
843}
845 return _internal_has_action();
846}
848 _impl_.action_ = 0;
849 _impl_._has_bits_[0] &= ~0x00000080u;
850}
851inline ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action FileTransferConfig::_internal_action() const {
853}
854inline ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action FileTransferConfig::action() const {
855 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.action)
856 return _internal_action();
857}
858inline void FileTransferConfig::_internal_set_action(::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action value) {
860 _impl_._has_bits_[0] |= 0x00000080u;
861 _impl_.action_ = value;
862}
864 _internal_set_action(value);
865 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.action)
866}
867
868// optional double request_timeout = 11 [default = 600];
869inline bool FileTransferConfig::_internal_has_request_timeout() const {
870 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
871 return value;
872}
874 return _internal_has_request_timeout();
875}
877 _impl_.request_timeout_ = 600;
878 _impl_._has_bits_[0] &= ~0x00000100u;
879}
880inline double FileTransferConfig::_internal_request_timeout() const {
881 return _impl_.request_timeout_;
882}
884 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.request_timeout)
885 return _internal_request_timeout();
886}
887inline void FileTransferConfig::_internal_set_request_timeout(double value) {
888 _impl_._has_bits_[0] |= 0x00000100u;
889 _impl_.request_timeout_ = value;
890}
892 _internal_set_request_timeout(value);
893 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.FileTransferConfig.request_timeout)
894}
895
896#ifdef __GNUC__
897 #pragma GCC diagnostic pop
898#endif // __GNUC__
899
900// @@protoc_insertion_point(namespace_scope)
901
902} // namespace protobuf
903} // namespace acomms
904} // namespace zeromq
905} // namespace apps
906} // namespace goby
907
908PROTOBUF_NAMESPACE_OPEN
909
910template <> struct is_proto_enum< ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action> : ::std::true_type {};
911template <>
913 return ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action_descriptor();
914}
915
916PROTOBUF_NAMESPACE_CLOSE
917
918// @@protoc_insertion_point(global_scope)
919
920#include <google/protobuf/port_undef.inc>
921#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action action() const
static bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Action *value)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
FileTransferConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void CopyFrom(const FileTransferConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::middleware::protobuf::AppConfig * mutable_app()
PROTOBUF_CONSTEXPR FileTransferConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
FileTransferConfig & operator=(FileTransferConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Action_descriptor()
void set_action(::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action value)
FileTransferConfig & operator=(const FileTransferConfig &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
friend void swap(FileTransferConfig &a, FileTransferConfig &b)
FileTransferConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
const EnumDescriptor * GetEnumDescriptor< ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FileTransferConfig_Action_descriptor()
FileTransferConfigDefaultTypeInternal _FileTransferConfig_default_instance_
const std::string & FileTransferConfig_Action_Name(T enum_t_value)
constexpr FileTransferConfig_Action FileTransferConfig_Action_Action_MAX
bool FileTransferConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileTransferConfig_Action *value)
bool FileTransferConfig_Action_IsValid(int value)
constexpr FileTransferConfig_Action FileTransferConfig_Action_Action_MIN
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.