4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
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>
43 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto
48 static const ::google::protobuf::internal::ParseTableField
entries[];
49 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
50 static const ::google::protobuf::internal::ParseTable
schema[1];
62 class FileTransferConfig;
63 class FileTransferConfigDefaultTypeInternal;
93 return ::google::protobuf::internal::NameOfEnum(
98 return ::google::protobuf::internal::ParseNamedEnum<FileTransferConfig_Action>(
117 *
this = ::std::move(from);
121 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
122 if (
this != &from) InternalSwap(&from);
130 return _internal_metadata_.unknown_fields();
133 return _internal_metadata_.mutable_unknown_fields();
136 static const ::google::protobuf::Descriptor*
descriptor();
155 return CreateMaybeMessage<FileTransferConfig>(NULL);
159 return CreateMaybeMessage<FileTransferConfig>(arena);
161 void CopyFrom(const ::google::protobuf::Message& from)
final;
162 void MergeFrom(const ::google::protobuf::Message& from)
final;
170 ::
google::protobuf::io::CodedInputStream* input) final;
172 ::
google::protobuf::io::CodedOutputStream* output) const final;
174 bool deterministic, ::
google::protobuf::uint8* target) const final;
180 void SetCachedSize(
int size)
const final;
183 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
186 inline void* MaybeArenaPtr()
const {
211 static inline const ::google::protobuf::EnumDescriptor*
260 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
262 const ::goby::middleware::protobuf::AppConfig&
app()
const;
272 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
274 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
317 void clear_has_app();
318 void set_has_interprocess();
319 void clear_has_interprocess();
320 void set_has_daemon();
321 void clear_has_daemon();
322 void set_has_local_id();
323 void clear_has_local_id();
324 void set_has_remote_id();
325 void clear_has_remote_id();
326 void set_has_local_file();
327 void clear_has_local_file();
328 void set_has_remote_file();
329 void clear_has_remote_file();
330 void set_has_action();
331 void clear_has_action();
332 void set_has_request_timeout();
333 void clear_has_request_timeout();
335 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
336 ::google::protobuf::internal::HasBits<1> _has_bits_;
337 mutable ::google::protobuf::internal::CachedSize _cached_size_;
338 ::google::protobuf::internal::ArenaStringPtr local_file_;
339 ::google::protobuf::internal::ArenaStringPtr remote_file_;
346 double request_timeout_;
347 friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto::TableStruct;
355 #pragma GCC diagnostic push
356 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
362 return (_has_bits_[0] & 0x00000004u) != 0;
364 inline void FileTransferConfig::set_has_app() {
365 _has_bits_[0] |= 0x00000004u;
367 inline void FileTransferConfig::clear_has_app() {
368 _has_bits_[0] &= ~0x00000004u;
370 inline const ::goby::middleware::protobuf::AppConfig& FileTransferConfig::_internal_app()
const {
374 const ::goby::middleware::protobuf::AppConfig* p = app_;
389 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
397 if (message_arena == NULL) {
402 if (message_arena != submessage_arena) {
403 app = ::google::protobuf::internal::GetOwnedMessage(
404 message_arena,
app, submessage_arena);
416 return (_has_bits_[0] & 0x00000008u) != 0;
418 inline void FileTransferConfig::set_has_interprocess() {
419 _has_bits_[0] |= 0x00000008u;
421 inline void FileTransferConfig::clear_has_interprocess() {
422 _has_bits_[0] &= ~0x00000008u;
424 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FileTransferConfig::_internal_interprocess()
const {
425 return *interprocess_;
428 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
435 clear_has_interprocess();
437 interprocess_ = NULL;
441 set_has_interprocess();
442 if (interprocess_ == NULL) {
443 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
447 return interprocess_;
451 if (message_arena == NULL) {
456 if (message_arena != submessage_arena) {
457 interprocess = ::google::protobuf::internal::GetOwnedMessage(
460 set_has_interprocess();
462 clear_has_interprocess();
470 return (_has_bits_[0] & 0x00000010u) != 0;
472 inline void FileTransferConfig::set_has_daemon() {
473 _has_bits_[0] |= 0x00000010u;
475 inline void FileTransferConfig::clear_has_daemon() {
476 _has_bits_[0] &= ~0x00000010u;
494 return (_has_bits_[0] & 0x00000020u) != 0;
496 inline void FileTransferConfig::set_has_local_id() {
497 _has_bits_[0] |= 0x00000020u;
499 inline void FileTransferConfig::clear_has_local_id() {
500 _has_bits_[0] &= ~0x00000020u;
504 clear_has_local_id();
518 return (_has_bits_[0] & 0x00000040u) != 0;
520 inline void FileTransferConfig::set_has_remote_id() {
521 _has_bits_[0] |= 0x00000040u;
523 inline void FileTransferConfig::clear_has_remote_id() {
524 _has_bits_[0] &= ~0x00000040u;
528 clear_has_remote_id();
542 return (_has_bits_[0] & 0x00000001u) != 0;
544 inline void FileTransferConfig::set_has_local_file() {
545 _has_bits_[0] |= 0x00000001u;
547 inline void FileTransferConfig::clear_has_local_file() {
548 _has_bits_[0] &= ~0x00000001u;
552 clear_has_local_file();
556 return local_file_.GetNoArena();
559 set_has_local_file();
565 set_has_local_file();
566 local_file_.SetNoArena(
572 GOOGLE_DCHECK(value != NULL);
573 set_has_local_file();
578 set_has_local_file();
580 ::std::string(
reinterpret_cast<const char*
>(value), size));
584 set_has_local_file();
593 clear_has_local_file();
598 set_has_local_file();
600 clear_has_local_file();
608 return (_has_bits_[0] & 0x00000002u) != 0;
610 inline void FileTransferConfig::set_has_remote_file() {
611 _has_bits_[0] |= 0x00000002u;
613 inline void FileTransferConfig::clear_has_remote_file() {
614 _has_bits_[0] &= ~0x00000002u;
618 clear_has_remote_file();
622 return remote_file_.GetNoArena();
625 set_has_remote_file();
631 set_has_remote_file();
632 remote_file_.SetNoArena(
638 GOOGLE_DCHECK(value != NULL);
639 set_has_remote_file();
644 set_has_remote_file();
646 ::std::string(
reinterpret_cast<const char*
>(value), size));
650 set_has_remote_file();
659 clear_has_remote_file();
664 set_has_remote_file();
666 clear_has_remote_file();
674 return (_has_bits_[0] & 0x00000080u) != 0;
676 inline void FileTransferConfig::set_has_action() {
677 _has_bits_[0] |= 0x00000080u;
679 inline void FileTransferConfig::clear_has_action() {
680 _has_bits_[0] &= ~0x00000080u;
699 return (_has_bits_[0] & 0x00000100u) != 0;
701 inline void FileTransferConfig::set_has_request_timeout() {
702 _has_bits_[0] |= 0x00000100u;
704 inline void FileTransferConfig::clear_has_request_timeout() {
705 _has_bits_[0] &= ~0x00000100u;
708 request_timeout_ = 600;
709 clear_has_request_timeout();
713 return request_timeout_;
716 set_has_request_timeout();
717 request_timeout_ = value;
722 #pragma GCC diagnostic pop
738 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::zeromq::acomms::protobuf::FileTransferConfig_Action>() {
747 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffile_5ftransfer_5fconfig_2eproto