4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_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>
36 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[2];
58 namespace store_server {
61 class ConfigDefaultTypeInternal;
64 class TransmissionDefaultTypeInternal;
78 namespace store_server {
92 return ::google::protobuf::internal::NameOfEnum(
97 return ::google::protobuf::internal::ParseNamedEnum<Transmission_TransmissionType>(
116 *
this = ::std::move(from);
120 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121 if (
this != &from) InternalSwap(&from);
129 return _internal_metadata_.unknown_fields();
132 return _internal_metadata_.mutable_unknown_fields();
135 static const ::google::protobuf::Descriptor*
descriptor();
140 return reinterpret_cast<const Config*
>(
154 return CreateMaybeMessage<Config>(NULL);
158 return CreateMaybeMessage<Config>(arena);
160 void CopyFrom(const ::google::protobuf::Message& from)
final;
161 void MergeFrom(const ::google::protobuf::Message& from)
final;
169 ::
google::protobuf::io::CodedInputStream* input) final;
171 ::
google::protobuf::io::CodedOutputStream* output) const final;
173 bool deterministic, ::
google::protobuf::uint8* target) const final;
179 void SetCachedSize(
int size)
const final;
180 void InternalSwap(
Config* other);
182 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
185 inline void* MaybeArenaPtr()
const {
243 void set_has_query_interval_seconds();
244 void clear_has_query_interval_seconds();
245 void set_has_max_frame_size();
246 void clear_has_max_frame_size();
247 void set_has_reset_interval_seconds();
248 void clear_has_reset_interval_seconds();
250 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
251 ::
google::protobuf::internal::HasBits<1> _has_bits_;
252 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
256 double query_interval_seconds_;
257 double reset_interval_seconds_;
276 *
this = ::std::move(from);
279 inline Transmission&
operator=(Transmission&& from) noexcept {
280 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
281 if (
this != &from) InternalSwap(&from);
289 return _internal_metadata_.unknown_fields();
292 return _internal_metadata_.mutable_unknown_fields();
295 static const ::google::protobuf::Descriptor*
descriptor();
314 return CreateMaybeMessage<Transmission>(NULL);
318 return CreateMaybeMessage<Transmission>(arena);
320 void CopyFrom(const ::google::protobuf::Message& from)
final;
321 void MergeFrom(const ::google::protobuf::Message& from)
final;
329 ::
google::protobuf::io::CodedInputStream* input) final;
331 ::
google::protobuf::io::CodedOutputStream* output) const final;
333 bool deterministic, ::
google::protobuf::uint8* target) const final;
339 void SetCachedSize(
int size)
const final;
342 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
345 inline void* MaybeArenaPtr()
const {
368 static inline const ::google::protobuf::EnumDescriptor*
383 bool has_poll_src()
const;
384 void clear_poll_src();
385 static const int kPollSrcFieldNumber = 1;
390 bool has_poll_dest()
const;
391 void clear_poll_dest();
392 static const int kPollDestFieldNumber = 2;
397 bool has_type()
const;
399 static const int kTypeFieldNumber = 1321;
406 void clear_has_type();
407 void set_has_poll_src();
408 void clear_has_poll_src();
409 void set_has_poll_dest();
410 void clear_has_poll_dest();
412 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
413 ::google::protobuf::internal::HasBits<1> _has_bits_;
414 mutable ::google::protobuf::internal::CachedSize _cached_size_;
418 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto::TableStruct;
424 ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Config >, 11,
false >
428 ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Transmission >, 11,
false >
434 #pragma GCC diagnostic push
435 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
441 return (_has_bits_[0] & 0x00000002u) != 0;
443 inline void Config::set_has_query_interval_seconds() {
444 _has_bits_[0] |= 0x00000002u;
446 inline void Config::clear_has_query_interval_seconds() {
447 _has_bits_[0] &= ~0x00000002u;
450 query_interval_seconds_ = 1;
451 clear_has_query_interval_seconds();
455 return query_interval_seconds_;
458 set_has_query_interval_seconds();
459 query_interval_seconds_ = value;
465 return (_has_bits_[0] & 0x00000001u) != 0;
467 inline void Config::set_has_max_frame_size() {
468 _has_bits_[0] |= 0x00000001u;
470 inline void Config::clear_has_max_frame_size() {
471 _has_bits_[0] &= ~0x00000001u;
474 max_frame_size_ = 65536;
475 clear_has_max_frame_size();
479 return max_frame_size_;
482 set_has_max_frame_size();
483 max_frame_size_ = value;
489 return (_has_bits_[0] & 0x00000004u) != 0;
491 inline void Config::set_has_reset_interval_seconds() {
492 _has_bits_[0] |= 0x00000004u;
494 inline void Config::clear_has_reset_interval_seconds() {
495 _has_bits_[0] &= ~0x00000004u;
498 reset_interval_seconds_ = 120;
499 clear_has_reset_interval_seconds();
503 return reset_interval_seconds_;
506 set_has_reset_interval_seconds();
507 reset_interval_seconds_ = value;
513 return rate_to_bytes_.size();
516 rate_to_bytes_.Clear();
520 return rate_to_bytes_.Get(index);
523 rate_to_bytes_.Set(index, value);
527 rate_to_bytes_.Add(value);
530 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
533 return rate_to_bytes_;
535 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
538 return &rate_to_bytes_;
543 return rate_to_frames_.size();
546 rate_to_frames_.Clear();
550 return rate_to_frames_.Get(index);
553 rate_to_frames_.Set(index, value);
557 rate_to_frames_.Add(value);
560 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
563 return rate_to_frames_;
565 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
568 return &rate_to_frames_;
577 return (_has_bits_[0] & 0x00000004u) != 0;
579 inline void Transmission::set_has_type() {
580 _has_bits_[0] |= 0x00000004u;
582 inline void Transmission::clear_has_type() {
583 _has_bits_[0] &= ~0x00000004u;
602 return (_has_bits_[0] & 0x00000001u) != 0;
604 inline void Transmission::set_has_poll_src() {
605 _has_bits_[0] |= 0x00000001u;
607 inline void Transmission::clear_has_poll_src() {
608 _has_bits_[0] &= ~0x00000001u;
612 clear_has_poll_src();
626 return (_has_bits_[0] & 0x00000002u) != 0;
628 inline void Transmission::set_has_poll_dest() {
629 _has_bits_[0] |= 0x00000002u;
631 inline void Transmission::clear_has_poll_dest() {
632 _has_bits_[0] &= ~0x00000002u;
636 clear_has_poll_dest();
649 #pragma GCC diagnostic pop
666 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::store_server::protobuf::Transmission_TransmissionType>() {
675 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto