4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdccl_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdccl_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/unknown_field_set.h>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fdccl_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[2];
56 class ArithmeticModel;
57 class ArithmeticModelDefaultTypeInternal;
60 class DCCLConfigDefaultTypeInternal;
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
129 return CreateMaybeMessage<DCCLConfig>(NULL);
133 return CreateMaybeMessage<DCCLConfig>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
202 const ::std::string&
id_codec()
const;
215 void set_has_crypto_passphrase();
216 void clear_has_crypto_passphrase();
217 void set_has_id_codec();
218 void clear_has_id_codec();
220 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
221 ::google::protobuf::internal::HasBits<1> _has_bits_;
222 mutable ::google::protobuf::internal::CachedSize _cached_size_;
224 ::google::protobuf::internal::ArenaStringPtr crypto_passphrase_;
225 ::google::protobuf::internal::ArenaStringPtr id_codec_;
226 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fdccl_2eproto::TableStruct;
244 *
this = ::std::move(from);
248 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
249 if (
this != &from) InternalSwap(&from);
257 return _internal_metadata_.unknown_fields();
260 return _internal_metadata_.mutable_unknown_fields();
263 static const ::google::protobuf::Descriptor*
descriptor();
282 return CreateMaybeMessage<ArithmeticModel>(NULL);
286 return CreateMaybeMessage<ArithmeticModel>(arena);
288 void CopyFrom(const ::google::protobuf::Message& from)
final;
289 void MergeFrom(const ::google::protobuf::Message& from)
final;
297 ::
google::protobuf::io::CodedInputStream* input) final;
299 ::
google::protobuf::io::CodedOutputStream* output) const final;
301 bool deterministic, ::
google::protobuf::uint8* target) const final;
307 void SetCachedSize(
int size)
const final;
310 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
313 inline void* MaybeArenaPtr()
const {
343 const ::
google::protobuf::RepeatedField<
double >&
345 ::
google::protobuf::RepeatedField<
double >*
352 const ::std::
string&
name() const;
353 void set_name(const ::std::
string& value);
355 void set_name(::std::string&& value);
358 void set_name(
const char* value,
size_t size);
387 void clear_has_name();
388 void set_has_eof_frequency();
389 void clear_has_eof_frequency();
390 void set_has_out_of_range_frequency();
391 void clear_has_out_of_range_frequency();
392 void set_has_is_adaptive();
393 void clear_has_is_adaptive();
395 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
396 ::google::protobuf::internal::HasBits<1> _has_bits_;
397 mutable ::google::protobuf::internal::CachedSize _cached_size_;
400 ::google::protobuf::internal::ArenaStringPtr name_;
404 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fdccl_2eproto::TableStruct;
412 #pragma GCC diagnostic push
413 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
419 return (_has_bits_[0] & 0x00000001u) != 0;
421 inline void DCCLConfig::set_has_crypto_passphrase() {
422 _has_bits_[0] |= 0x00000001u;
424 inline void DCCLConfig::clear_has_crypto_passphrase() {
425 _has_bits_[0] &= ~0x00000001u;
429 clear_has_crypto_passphrase();
433 return crypto_passphrase_.GetNoArena();
436 set_has_crypto_passphrase();
442 set_has_crypto_passphrase();
443 crypto_passphrase_.SetNoArena(
449 GOOGLE_DCHECK(value != NULL);
450 set_has_crypto_passphrase();
455 set_has_crypto_passphrase();
457 ::std::string(
reinterpret_cast<const char*
>(value), size));
461 set_has_crypto_passphrase();
470 clear_has_crypto_passphrase();
475 set_has_crypto_passphrase();
477 clear_has_crypto_passphrase();
485 return skip_crypto_for_id_.size();
488 skip_crypto_for_id_.Clear();
492 return skip_crypto_for_id_.Get(index);
495 skip_crypto_for_id_.Set(index, value);
499 skip_crypto_for_id_.Add(value);
502 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
505 return skip_crypto_for_id_;
507 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
510 return &skip_crypto_for_id_;
515 return (_has_bits_[0] & 0x00000002u) != 0;
517 inline void DCCLConfig::set_has_id_codec() {
518 _has_bits_[0] |= 0x00000002u;
520 inline void DCCLConfig::clear_has_id_codec() {
521 _has_bits_[0] &= ~0x00000002u;
525 clear_has_id_codec();
529 return id_codec_.GetNoArena();
539 id_codec_.SetNoArena(
545 GOOGLE_DCHECK(value != NULL);
553 ::std::string(
reinterpret_cast<const char*
>(value), size));
566 clear_has_id_codec();
573 clear_has_id_codec();
585 return (_has_bits_[0] & 0x00000001u) != 0;
587 inline void ArithmeticModel::set_has_name() {
588 _has_bits_[0] |= 0x00000001u;
590 inline void ArithmeticModel::clear_has_name() {
591 _has_bits_[0] &= ~0x00000001u;
599 return name_.GetNoArena();
615 GOOGLE_DCHECK(value != NULL);
623 ::std::string(
reinterpret_cast<const char*
>(value), size));
651 return frequency_.size();
658 return frequency_.Get(index);
661 frequency_.Set(index, value);
665 frequency_.Add(value);
668 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
673 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
681 return (_has_bits_[0] & 0x00000008u) != 0;
683 inline void ArithmeticModel::set_has_eof_frequency() {
684 _has_bits_[0] |= 0x00000008u;
686 inline void ArithmeticModel::clear_has_eof_frequency() {
687 _has_bits_[0] &= ~0x00000008u;
691 clear_has_eof_frequency();
695 return eof_frequency_;
698 set_has_eof_frequency();
699 eof_frequency_ = value;
705 return (_has_bits_[0] & 0x00000002u) != 0;
707 inline void ArithmeticModel::set_has_out_of_range_frequency() {
708 _has_bits_[0] |= 0x00000002u;
710 inline void ArithmeticModel::clear_has_out_of_range_frequency() {
711 _has_bits_[0] &= ~0x00000002u;
714 out_of_range_frequency_ = 0u;
715 clear_has_out_of_range_frequency();
719 return out_of_range_frequency_;
722 set_has_out_of_range_frequency();
723 out_of_range_frequency_ = value;
729 return value_bound_.size();
732 value_bound_.Clear();
736 return value_bound_.Get(index);
739 value_bound_.Set(index, value);
743 value_bound_.Add(value);
746 inline const ::google::protobuf::RepeatedField< double >&
751 inline ::google::protobuf::RepeatedField< double >*
754 return &value_bound_;
759 return (_has_bits_[0] & 0x00000004u) != 0;
761 inline void ArithmeticModel::set_has_is_adaptive() {
762 _has_bits_[0] |= 0x00000004u;
764 inline void ArithmeticModel::clear_has_is_adaptive() {
765 _has_bits_[0] &= ~0x00000004u;
768 is_adaptive_ =
false;
769 clear_has_is_adaptive();
776 set_has_is_adaptive();
777 is_adaptive_ = value;
782 #pragma GCC diagnostic pop
795 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdccl_2eproto