4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < 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.
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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
39 #include "dccl/option_extensions.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
47 PROTOBUF_NAMESPACE_OPEN
51 PROTOBUF_NAMESPACE_CLOSE
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
71 class FileTransferConfig;
72 class FileTransferConfigDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::acomms::protobuf::FileTransferConfig>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
101 static_assert(::std::is_same<T, FileTransferConfig_Action>::value ||
102 ::std::is_integral<T>::value,
103 "Incorrect type passed to function FileTransferConfig_Action_Name.");
104 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
109 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileTransferConfig_Action>(
115 public ::PROTOBUF_NAMESPACE_ID::Message {
122 : FileTransferConfig() {
123 *
this = ::std::move(from);
126 inline FileTransferConfig&
operator=(
const FileTransferConfig& from) {
130 inline FileTransferConfig&
operator=(FileTransferConfig&& from) noexcept {
131 if (GetArena() == from.GetArena()) {
132 if (
this != &from) InternalSwap(&from);
140 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
143 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
146 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
147 return GetDescriptor();
150 return GetMetadataStatic().descriptor;
153 return GetMetadataStatic().reflection;
159 return reinterpret_cast<const FileTransferConfig*
>(
162 static constexpr
int kIndexInFileMessages =
165 friend void swap(FileTransferConfig& a, FileTransferConfig& b) {
168 inline void Swap(FileTransferConfig* other) {
169 if (other ==
this)
return;
170 if (GetArena() == other->GetArena()) {
173 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
177 if (other ==
this)
return;
178 GOOGLE_DCHECK(GetArena() == other->GetArena());
184 inline FileTransferConfig*
New() const final {
185 return CreateMaybeMessage<FileTransferConfig>(
nullptr);
188 FileTransferConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
189 return CreateMaybeMessage<FileTransferConfig>(arena);
191 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
192 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
195 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
196 bool IsInitialized() const final;
199 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
200 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
201 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
202 int GetCachedSize() const final {
return _cached_size_.Get(); }
205 inline void SharedCtor();
206 inline void SharedDtor();
207 void SetCachedSize(
int size)
const final;
208 void InternalSwap(FileTransferConfig* other);
209 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
210 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
211 return "goby.apps.zeromq.acomms.protobuf.FileTransferConfig";
216 static void ArenaDtor(
void*
object);
217 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
222 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
245 static constexpr
int Action_ARRAYSIZE =
247 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
253 static_assert(::std::is_same<T, Action>::value ||
254 ::std::is_integral<T>::value,
255 "Incorrect type passed to function Action_Name.");
266 kLocalFileFieldNumber = 6,
267 kRemoteFileFieldNumber = 7,
269 kInterprocessFieldNumber = 2,
270 kDaemonFieldNumber = 3,
271 kLocalIdFieldNumber = 4,
272 kRemoteIdFieldNumber = 5,
273 kActionFieldNumber = 10,
274 kRequestTimeoutFieldNumber = 11,
279 bool _internal_has_local_file()
const;
290 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
291 " string fields are deprecated and will be removed in a"
293 std::
string* unsafe_arena_release_local_file();
294 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
295 "
string fields are deprecated and will be removed in a"
297 void unsafe_arena_set_allocated_local_file(
298 std::
string* local_file);
300 const std::
string& _internal_local_file() const;
301 void _internal_set_local_file(const std::
string& value);
302 std::
string* _internal_mutable_local_file();
306 bool has_remote_file() const;
308 bool _internal_has_remote_file() const;
310 void clear_remote_file();
311 const std::
string& remote_file() const;
312 void set_remote_file(const std::
string& value);
313 void set_remote_file(std::
string&& value);
314 void set_remote_file(const
char* value);
315 void set_remote_file(const
char* value,
size_t size);
316 std::
string* mutable_remote_file();
317 std::
string* release_remote_file();
318 void set_allocated_remote_file(std::
string* remote_file);
319 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
320 "
string fields are deprecated and will be removed in a"
322 std::
string* unsafe_arena_release_remote_file();
323 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
324 "
string fields are deprecated and will be removed in a"
326 void unsafe_arena_set_allocated_remote_file(
327 std::
string* remote_file);
329 const std::
string& _internal_remote_file() const;
330 void _internal_set_remote_file(const std::
string& value);
331 std::
string* _internal_mutable_remote_file();
335 bool has_app() const;
337 bool _internal_has_app() const;
340 const ::
goby::middleware::protobuf::AppConfig& app() const;
341 ::
goby::middleware::protobuf::AppConfig* release_app();
342 ::
goby::middleware::protobuf::AppConfig* mutable_app();
343 void set_allocated_app(::
goby::middleware::protobuf::AppConfig* app);
345 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
346 ::
goby::middleware::protobuf::AppConfig* _internal_mutable_app();
348 void unsafe_arena_set_allocated_app(
349 ::
goby::middleware::protobuf::AppConfig* app);
350 ::
goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
353 bool has_interprocess() const;
355 bool _internal_has_interprocess() const;
357 void clear_interprocess();
358 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
359 ::
goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
360 ::
goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
361 void set_allocated_interprocess(::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
363 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
364 ::
goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
366 void unsafe_arena_set_allocated_interprocess(
367 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
368 ::
goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
371 bool has_daemon() const;
373 bool _internal_has_daemon() const;
377 void set_daemon(
bool value);
379 bool _internal_daemon() const;
380 void _internal_set_daemon(
bool value);
384 bool has_local_id() const;
386 bool _internal_has_local_id() const;
388 void clear_local_id();
389 ::PROTOBUF_NAMESPACE_ID::
int32 local_id() const;
390 void set_local_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
392 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_local_id() const;
393 void _internal_set_local_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
397 bool has_remote_id() const;
399 bool _internal_has_remote_id() const;
401 void clear_remote_id();
402 ::PROTOBUF_NAMESPACE_ID::
int32 remote_id() const;
403 void set_remote_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
405 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_remote_id() const;
406 void _internal_set_remote_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
410 bool has_action() const;
412 bool _internal_has_action() const;
423 bool has_request_timeout() const;
425 bool _internal_has_request_timeout() const;
427 void clear_request_timeout();
428 double request_timeout() const;
429 void set_request_timeout(
double value);
431 double _internal_request_timeout() const;
432 void _internal_set_request_timeout(
double value);
439 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
440 typedef
void InternalArenaConstructable_;
441 typedef
void DestructorSkippable_;
442 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
443 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
444 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr local_file_;
445 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr remote_file_;
446 ::
goby::middleware::protobuf::AppConfig* app_;
447 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
449 ::PROTOBUF_NAMESPACE_ID::
int32 local_id_;
450 ::PROTOBUF_NAMESPACE_ID::
int32 remote_id_;
452 double request_timeout_;
461 #pragma GCC diagnostic push
462 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
467 inline bool FileTransferConfig::_internal_has_app()
const {
468 bool value = (_has_bits_[0] & 0x00000004u) != 0;
469 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
472 inline bool FileTransferConfig::has_app()
const {
473 return _internal_has_app();
475 inline const ::goby::middleware::protobuf::AppConfig& FileTransferConfig::_internal_app()
const {
476 const ::goby::middleware::protobuf::AppConfig* p = app_;
477 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
480 inline const ::goby::middleware::protobuf::AppConfig& FileTransferConfig::app()
const {
482 return _internal_app();
484 inline void FileTransferConfig::unsafe_arena_set_allocated_app(
485 ::goby::middleware::protobuf::AppConfig* app) {
486 if (GetArena() ==
nullptr) {
487 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
491 _has_bits_[0] |= 0x00000004u;
493 _has_bits_[0] &= ~0x00000004u;
497 inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::release_app() {
498 auto temp = unsafe_arena_release_app();
499 if (GetArena() !=
nullptr) {
500 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
504 inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::unsafe_arena_release_app() {
506 _has_bits_[0] &= ~0x00000004u;
507 ::goby::middleware::protobuf::AppConfig* temp = app_;
511 inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::_internal_mutable_app() {
512 _has_bits_[0] |= 0x00000004u;
513 if (app_ ==
nullptr) {
514 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
519 inline ::goby::middleware::protobuf::AppConfig* FileTransferConfig::mutable_app() {
521 return _internal_mutable_app();
523 inline void FileTransferConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
524 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
525 if (message_arena ==
nullptr) {
526 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
529 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
530 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
531 if (message_arena != submessage_arena) {
532 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
533 message_arena, app, submessage_arena);
535 _has_bits_[0] |= 0x00000004u;
537 _has_bits_[0] &= ~0x00000004u;
544 inline bool FileTransferConfig::_internal_has_interprocess()
const {
545 bool value = (_has_bits_[0] & 0x00000008u) != 0;
546 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
549 inline bool FileTransferConfig::has_interprocess()
const {
550 return _internal_has_interprocess();
552 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FileTransferConfig::_internal_interprocess()
const {
553 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
554 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
557 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FileTransferConfig::interprocess()
const {
559 return _internal_interprocess();
561 inline void FileTransferConfig::unsafe_arena_set_allocated_interprocess(
562 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
563 if (GetArena() ==
nullptr) {
564 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
566 interprocess_ = interprocess;
568 _has_bits_[0] |= 0x00000008u;
570 _has_bits_[0] &= ~0x00000008u;
574 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::release_interprocess() {
575 auto temp = unsafe_arena_release_interprocess();
576 if (GetArena() !=
nullptr) {
577 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
581 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::unsafe_arena_release_interprocess() {
583 _has_bits_[0] &= ~0x00000008u;
584 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
585 interprocess_ =
nullptr;
588 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::_internal_mutable_interprocess() {
589 _has_bits_[0] |= 0x00000008u;
590 if (interprocess_ ==
nullptr) {
591 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
594 return interprocess_;
596 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FileTransferConfig::mutable_interprocess() {
598 return _internal_mutable_interprocess();
600 inline void FileTransferConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
601 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
602 if (message_arena ==
nullptr) {
603 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
606 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
607 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
608 if (message_arena != submessage_arena) {
609 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
610 message_arena, interprocess, submessage_arena);
612 _has_bits_[0] |= 0x00000008u;
614 _has_bits_[0] &= ~0x00000008u;
616 interprocess_ = interprocess;
621 inline bool FileTransferConfig::_internal_has_daemon()
const {
622 bool value = (_has_bits_[0] & 0x00000010u) != 0;
625 inline bool FileTransferConfig::has_daemon()
const {
626 return _internal_has_daemon();
628 inline void FileTransferConfig::clear_daemon() {
630 _has_bits_[0] &= ~0x00000010u;
632 inline bool FileTransferConfig::_internal_daemon()
const {
635 inline bool FileTransferConfig::daemon()
const {
637 return _internal_daemon();
639 inline void FileTransferConfig::_internal_set_daemon(
bool value) {
640 _has_bits_[0] |= 0x00000010u;
643 inline void FileTransferConfig::set_daemon(
bool value) {
644 _internal_set_daemon(value);
649 inline bool FileTransferConfig::_internal_has_local_id()
const {
650 bool value = (_has_bits_[0] & 0x00000020u) != 0;
653 inline bool FileTransferConfig::has_local_id()
const {
654 return _internal_has_local_id();
656 inline void FileTransferConfig::clear_local_id() {
658 _has_bits_[0] &= ~0x00000020u;
665 return _internal_local_id();
668 _has_bits_[0] |= 0x00000020u;
672 _internal_set_local_id(value);
677 inline bool FileTransferConfig::_internal_has_remote_id()
const {
678 bool value = (_has_bits_[0] & 0x00000040u) != 0;
681 inline bool FileTransferConfig::has_remote_id()
const {
682 return _internal_has_remote_id();
684 inline void FileTransferConfig::clear_remote_id() {
686 _has_bits_[0] &= ~0x00000040u;
693 return _internal_remote_id();
696 _has_bits_[0] |= 0x00000040u;
700 _internal_set_remote_id(value);
705 inline bool FileTransferConfig::_internal_has_local_file()
const {
706 bool value = (_has_bits_[0] & 0x00000001u) != 0;
709 inline bool FileTransferConfig::has_local_file()
const {
710 return _internal_has_local_file();
712 inline void FileTransferConfig::clear_local_file() {
714 _has_bits_[0] &= ~0x00000001u;
716 inline const std::string& FileTransferConfig::local_file()
const {
718 return _internal_local_file();
720 inline void FileTransferConfig::set_local_file(
const std::string& value) {
721 _internal_set_local_file(value);
724 inline std::string* FileTransferConfig::mutable_local_file() {
726 return _internal_mutable_local_file();
728 inline const std::string& FileTransferConfig::_internal_local_file()
const {
729 return local_file_.Get();
731 inline void FileTransferConfig::_internal_set_local_file(
const std::string& value) {
732 _has_bits_[0] |= 0x00000001u;
735 inline void FileTransferConfig::set_local_file(std::string&& value) {
736 _has_bits_[0] |= 0x00000001u;
741 inline void FileTransferConfig::set_local_file(
const char* value) {
742 GOOGLE_DCHECK(value !=
nullptr);
743 _has_bits_[0] |= 0x00000001u;
748 inline void FileTransferConfig::set_local_file(
const char* value,
750 _has_bits_[0] |= 0x00000001u;
752 reinterpret_cast<const char*
>(value), size), GetArena());
755 inline std::string* FileTransferConfig::_internal_mutable_local_file() {
756 _has_bits_[0] |= 0x00000001u;
759 inline std::string* FileTransferConfig::release_local_file() {
761 if (!_internal_has_local_file()) {
764 _has_bits_[0] &= ~0x00000001u;
767 inline void FileTransferConfig::set_allocated_local_file(std::string* local_file) {
768 if (local_file !=
nullptr) {
769 _has_bits_[0] |= 0x00000001u;
771 _has_bits_[0] &= ~0x00000001u;
777 inline std::string* FileTransferConfig::unsafe_arena_release_local_file() {
779 GOOGLE_DCHECK(GetArena() !=
nullptr);
780 _has_bits_[0] &= ~0x00000001u;
784 inline void FileTransferConfig::unsafe_arena_set_allocated_local_file(
785 std::string* local_file) {
786 GOOGLE_DCHECK(GetArena() !=
nullptr);
787 if (local_file !=
nullptr) {
788 _has_bits_[0] |= 0x00000001u;
790 _has_bits_[0] &= ~0x00000001u;
793 local_file, GetArena());
798 inline bool FileTransferConfig::_internal_has_remote_file()
const {
799 bool value = (_has_bits_[0] & 0x00000002u) != 0;
802 inline bool FileTransferConfig::has_remote_file()
const {
803 return _internal_has_remote_file();
805 inline void FileTransferConfig::clear_remote_file() {
807 _has_bits_[0] &= ~0x00000002u;
809 inline const std::string& FileTransferConfig::remote_file()
const {
811 return _internal_remote_file();
813 inline void FileTransferConfig::set_remote_file(
const std::string& value) {
814 _internal_set_remote_file(value);
817 inline std::string* FileTransferConfig::mutable_remote_file() {
819 return _internal_mutable_remote_file();
821 inline const std::string& FileTransferConfig::_internal_remote_file()
const {
822 return remote_file_.Get();
824 inline void FileTransferConfig::_internal_set_remote_file(
const std::string& value) {
825 _has_bits_[0] |= 0x00000002u;
828 inline void FileTransferConfig::set_remote_file(std::string&& value) {
829 _has_bits_[0] |= 0x00000002u;
834 inline void FileTransferConfig::set_remote_file(
const char* value) {
835 GOOGLE_DCHECK(value !=
nullptr);
836 _has_bits_[0] |= 0x00000002u;
841 inline void FileTransferConfig::set_remote_file(
const char* value,
843 _has_bits_[0] |= 0x00000002u;
845 reinterpret_cast<const char*
>(value), size), GetArena());
848 inline std::string* FileTransferConfig::_internal_mutable_remote_file() {
849 _has_bits_[0] |= 0x00000002u;
852 inline std::string* FileTransferConfig::release_remote_file() {
854 if (!_internal_has_remote_file()) {
857 _has_bits_[0] &= ~0x00000002u;
860 inline void FileTransferConfig::set_allocated_remote_file(std::string* remote_file) {
861 if (remote_file !=
nullptr) {
862 _has_bits_[0] |= 0x00000002u;
864 _has_bits_[0] &= ~0x00000002u;
870 inline std::string* FileTransferConfig::unsafe_arena_release_remote_file() {
872 GOOGLE_DCHECK(GetArena() !=
nullptr);
873 _has_bits_[0] &= ~0x00000002u;
877 inline void FileTransferConfig::unsafe_arena_set_allocated_remote_file(
878 std::string* remote_file) {
879 GOOGLE_DCHECK(GetArena() !=
nullptr);
880 if (remote_file !=
nullptr) {
881 _has_bits_[0] |= 0x00000002u;
883 _has_bits_[0] &= ~0x00000002u;
886 remote_file, GetArena());
891 inline bool FileTransferConfig::_internal_has_action()
const {
892 bool value = (_has_bits_[0] & 0x00000080u) != 0;
895 inline bool FileTransferConfig::has_action()
const {
896 return _internal_has_action();
898 inline void FileTransferConfig::clear_action() {
900 _has_bits_[0] &= ~0x00000080u;
907 return _internal_action();
911 _has_bits_[0] |= 0x00000080u;
915 _internal_set_action(value);
920 inline bool FileTransferConfig::_internal_has_request_timeout()
const {
921 bool value = (_has_bits_[0] & 0x00000100u) != 0;
924 inline bool FileTransferConfig::has_request_timeout()
const {
925 return _internal_has_request_timeout();
927 inline void FileTransferConfig::clear_request_timeout() {
928 request_timeout_ = 600;
929 _has_bits_[0] &= ~0x00000100u;
931 inline double FileTransferConfig::_internal_request_timeout()
const {
932 return request_timeout_;
934 inline double FileTransferConfig::request_timeout()
const {
936 return _internal_request_timeout();
938 inline void FileTransferConfig::_internal_set_request_timeout(
double value) {
939 _has_bits_[0] |= 0x00000100u;
940 request_timeout_ =
value;
942 inline void FileTransferConfig::set_request_timeout(
double value) {
943 _internal_set_request_timeout(value);
948 #pragma GCC diagnostic pop
959 PROTOBUF_NAMESPACE_OPEN
963 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action>() {
967 PROTOBUF_NAMESPACE_CLOSE
971 #include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
FileTransferConfig & operator=(FileTransferConfig &&from) noexcept
FileTransferConfig & operator=(const FileTransferConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
FileTransferConfig_Action Action
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const std::string & Action_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Action_descriptor()
bool has_local_file() const
static bool Action_IsValid(int value)
static const FileTransferConfig & default_instance()
FileTransferConfig(const FileTransferConfig &from)
void Swap(FileTransferConfig *other)
virtual ~FileTransferConfig()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_local_file(std::string *local_file)
FileTransferConfig * New() const final
FileTransferConfig(FileTransferConfig &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
FileTransferConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const FileTransferConfig * internal_default_instance()
const std::string & local_file() const
FileTransferConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_local_file(const char *value, size_t size)
void CopyFrom(const FileTransferConfig &from)
static bool Action_Parse(const std::string &name, Action *value)
static void InitAsDefaultInstance()
std::string * release_local_file()
void MergeFrom(const FileTransferConfig &from)
std::string * mutable_local_file()
friend void swap(FileTransferConfig &a, FileTransferConfig &b)
void set_local_file(const char *value)
void set_local_file(const std::string &value)
void set_local_file(std::string &&value)
void UnsafeArenaSwap(FileTransferConfig *other)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
@ value
the parser finished reading a JSON value
constexpr int FileTransferConfig_Action_Action_ARRAYSIZE
FileTransferConfigDefaultTypeInternal _FileTransferConfig_default_instance_
const std::string & FileTransferConfig_Action_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FileTransferConfig_Action_descriptor()
bool FileTransferConfig_Action_Parse(const std::string &name, FileTransferConfig_Action *value)
constexpr FileTransferConfig_Action FileTransferConfig_Action_Action_MAX
bool FileTransferConfig_Action_IsValid(int value)
FileTransferConfig_Action
@ FileTransferConfig_Action_PUSH
@ FileTransferConfig_Action_PULL
@ FileTransferConfig_Action_WAIT
constexpr FileTransferConfig_Action FileTransferConfig_Action_Action_MIN
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]