Home | History | Annotate | Download | only in unit_test
      1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 // source: audio_processing_unittest.proto
      3 
      4 #ifndef PROTOBUF_audio_5fprocessing_5funittest_2eproto__INCLUDED
      5 #define PROTOBUF_audio_5fprocessing_5funittest_2eproto__INCLUDED
      6 
      7 #include <string>
      8 
      9 #include <google/protobuf/stubs/common.h>
     10 
     11 #if GOOGLE_PROTOBUF_VERSION < 2004000
     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 2004000 < 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.
     20 #endif
     21 
     22 #include <google/protobuf/generated_message_util.h>
     23 #include <google/protobuf/repeated_field.h>
     24 #include <google/protobuf/extension_set.h>
     25 // @@protoc_insertion_point(includes)
     26 
     27 namespace audio_processing_unittest {
     28 
     29 // Internal implementation detail -- do not call these.
     30 void  protobuf_AddDesc_audio_5fprocessing_5funittest_2eproto();
     31 void protobuf_AssignDesc_audio_5fprocessing_5funittest_2eproto();
     32 void protobuf_ShutdownFile_audio_5fprocessing_5funittest_2eproto();
     33 
     34 class Test;
     35 class Test_Statistic;
     36 class Test_EchoMetrics;
     37 class OutputData;
     38 
     39 // ===================================================================
     40 
     41 class Test_Statistic : public ::google::protobuf::MessageLite {
     42  public:
     43   Test_Statistic();
     44   virtual ~Test_Statistic();
     45 
     46   Test_Statistic(const Test_Statistic& from);
     47 
     48   inline Test_Statistic& operator=(const Test_Statistic& from) {
     49     CopyFrom(from);
     50     return *this;
     51   }
     52 
     53   static const Test_Statistic& default_instance();
     54 
     55   void Swap(Test_Statistic* other);
     56 
     57   // implements Message ----------------------------------------------
     58 
     59   Test_Statistic* New() const;
     60   void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
     61   void CopyFrom(const Test_Statistic& from);
     62   void MergeFrom(const Test_Statistic& from);
     63   void Clear();
     64   bool IsInitialized() const;
     65 
     66   int ByteSize() const;
     67   bool MergePartialFromCodedStream(
     68       ::google::protobuf::io::CodedInputStream* input);
     69   void SerializeWithCachedSizes(
     70       ::google::protobuf::io::CodedOutputStream* output) const;
     71   int GetCachedSize() const { return _cached_size_; }
     72   private:
     73   void SharedCtor();
     74   void SharedDtor();
     75   void SetCachedSize(int size) const;
     76   public:
     77 
     78   ::std::string GetTypeName() const;
     79 
     80   // nested types ----------------------------------------------------
     81 
     82   // accessors -------------------------------------------------------
     83 
     84   // optional int32 instant = 1;
     85   inline bool has_instant() const;
     86   inline void clear_instant();
     87   static const int kInstantFieldNumber = 1;
     88   inline ::google::protobuf::int32 instant() const;
     89   inline void set_instant(::google::protobuf::int32 value);
     90 
     91   // optional int32 average = 2;
     92   inline bool has_average() const;
     93   inline void clear_average();
     94   static const int kAverageFieldNumber = 2;
     95   inline ::google::protobuf::int32 average() const;
     96   inline void set_average(::google::protobuf::int32 value);
     97 
     98   // optional int32 maximum = 3;
     99   inline bool has_maximum() const;
    100   inline void clear_maximum();
    101   static const int kMaximumFieldNumber = 3;
    102   inline ::google::protobuf::int32 maximum() const;
    103   inline void set_maximum(::google::protobuf::int32 value);
    104 
    105   // optional int32 minimum = 4;
    106   inline bool has_minimum() const;
    107   inline void clear_minimum();
    108   static const int kMinimumFieldNumber = 4;
    109   inline ::google::protobuf::int32 minimum() const;
    110   inline void set_minimum(::google::protobuf::int32 value);
    111 
    112   // @@protoc_insertion_point(class_scope:audio_processing_unittest.Test.Statistic)
    113  private:
    114   inline void set_has_instant();
    115   inline void clear_has_instant();
    116   inline void set_has_average();
    117   inline void clear_has_average();
    118   inline void set_has_maximum();
    119   inline void clear_has_maximum();
    120   inline void set_has_minimum();
    121   inline void clear_has_minimum();
    122 
    123   ::google::protobuf::int32 instant_;
    124   ::google::protobuf::int32 average_;
    125   ::google::protobuf::int32 maximum_;
    126   ::google::protobuf::int32 minimum_;
    127 
    128   mutable int _cached_size_;
    129   ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
    130 
    131   friend void  protobuf_AddDesc_audio_5fprocessing_5funittest_2eproto();
    132   friend void protobuf_AssignDesc_audio_5fprocessing_5funittest_2eproto();
    133   friend void protobuf_ShutdownFile_audio_5fprocessing_5funittest_2eproto();
    134 
    135   void InitAsDefaultInstance();
    136   static Test_Statistic* default_instance_;
    137 };
    138 // -------------------------------------------------------------------
    139 
    140 class Test_EchoMetrics : public ::google::protobuf::MessageLite {
    141  public:
    142   Test_EchoMetrics();
    143   virtual ~Test_EchoMetrics();
    144 
    145   Test_EchoMetrics(const Test_EchoMetrics& from);
    146 
    147   inline Test_EchoMetrics& operator=(const Test_EchoMetrics& from) {
    148     CopyFrom(from);
    149     return *this;
    150   }
    151 
    152   static const Test_EchoMetrics& default_instance();
    153 
    154   void Swap(Test_EchoMetrics* other);
    155 
    156   // implements Message ----------------------------------------------
    157 
    158   Test_EchoMetrics* New() const;
    159   void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
    160   void CopyFrom(const Test_EchoMetrics& from);
    161   void MergeFrom(const Test_EchoMetrics& from);
    162   void Clear();
    163   bool IsInitialized() const;
    164 
    165   int ByteSize() const;
    166   bool MergePartialFromCodedStream(
    167       ::google::protobuf::io::CodedInputStream* input);
    168   void SerializeWithCachedSizes(
    169       ::google::protobuf::io::CodedOutputStream* output) const;
    170   int GetCachedSize() const { return _cached_size_; }
    171   private:
    172   void SharedCtor();
    173   void SharedDtor();
    174   void SetCachedSize(int size) const;
    175   public:
    176 
    177   ::std::string GetTypeName() const;
    178 
    179   // nested types ----------------------------------------------------
    180 
    181   // accessors -------------------------------------------------------
    182 
    183   // optional .audio_processing_unittest.Test.Statistic residualEchoReturnLoss = 1;
    184   inline bool has_residualechoreturnloss() const;
    185   inline void clear_residualechoreturnloss();
    186   static const int kResidualEchoReturnLossFieldNumber = 1;
    187   inline const ::audio_processing_unittest::Test_Statistic& residualechoreturnloss() const;
    188   inline ::audio_processing_unittest::Test_Statistic* mutable_residualechoreturnloss();
    189   inline ::audio_processing_unittest::Test_Statistic* release_residualechoreturnloss();
    190 
    191   // optional .audio_processing_unittest.Test.Statistic echoReturnLoss = 2;
    192   inline bool has_echoreturnloss() const;
    193   inline void clear_echoreturnloss();
    194   static const int kEchoReturnLossFieldNumber = 2;
    195   inline const ::audio_processing_unittest::Test_Statistic& echoreturnloss() const;
    196   inline ::audio_processing_unittest::Test_Statistic* mutable_echoreturnloss();
    197   inline ::audio_processing_unittest::Test_Statistic* release_echoreturnloss();
    198 
    199   // optional .audio_processing_unittest.Test.Statistic echoReturnLossEnhancement = 3;
    200   inline bool has_echoreturnlossenhancement() const;
    201   inline void clear_echoreturnlossenhancement();
    202   static const int kEchoReturnLossEnhancementFieldNumber = 3;
    203   inline const ::audio_processing_unittest::Test_Statistic& echoreturnlossenhancement() const;
    204   inline ::audio_processing_unittest::Test_Statistic* mutable_echoreturnlossenhancement();
    205   inline ::audio_processing_unittest::Test_Statistic* release_echoreturnlossenhancement();
    206 
    207   // optional .audio_processing_unittest.Test.Statistic aNlp = 4;
    208   inline bool has_anlp() const;
    209   inline void clear_anlp();
    210   static const int kANlpFieldNumber = 4;
    211   inline const ::audio_processing_unittest::Test_Statistic& anlp() const;
    212   inline ::audio_processing_unittest::Test_Statistic* mutable_anlp();
    213   inline ::audio_processing_unittest::Test_Statistic* release_anlp();
    214 
    215   // @@protoc_insertion_point(class_scope:audio_processing_unittest.Test.EchoMetrics)
    216  private:
    217   inline void set_has_residualechoreturnloss();
    218   inline void clear_has_residualechoreturnloss();
    219   inline void set_has_echoreturnloss();
    220   inline void clear_has_echoreturnloss();
    221   inline void set_has_echoreturnlossenhancement();
    222   inline void clear_has_echoreturnlossenhancement();
    223   inline void set_has_anlp();
    224   inline void clear_has_anlp();
    225 
    226   ::audio_processing_unittest::Test_Statistic* residualechoreturnloss_;
    227   ::audio_processing_unittest::Test_Statistic* echoreturnloss_;
    228   ::audio_processing_unittest::Test_Statistic* echoreturnlossenhancement_;
    229   ::audio_processing_unittest::Test_Statistic* anlp_;
    230 
    231   mutable int _cached_size_;
    232   ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
    233 
    234   friend void  protobuf_AddDesc_audio_5fprocessing_5funittest_2eproto();
    235   friend void protobuf_AssignDesc_audio_5fprocessing_5funittest_2eproto();
    236   friend void protobuf_ShutdownFile_audio_5fprocessing_5funittest_2eproto();
    237 
    238   void InitAsDefaultInstance();
    239   static Test_EchoMetrics* default_instance_;
    240 };
    241 // -------------------------------------------------------------------
    242 
    243 class Test : public ::google::protobuf::MessageLite {
    244  public:
    245   Test();
    246   virtual ~Test();
    247 
    248   Test(const Test& from);
    249 
    250   inline Test& operator=(const Test& from) {
    251     CopyFrom(from);
    252     return *this;
    253   }
    254 
    255   static const Test& default_instance();
    256 
    257   void Swap(Test* other);
    258 
    259   // implements Message ----------------------------------------------
    260 
    261   Test* New() const;
    262   void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
    263   void CopyFrom(const Test& from);
    264   void MergeFrom(const Test& from);
    265   void Clear();
    266   bool IsInitialized() const;
    267 
    268   int ByteSize() const;
    269   bool MergePartialFromCodedStream(
    270       ::google::protobuf::io::CodedInputStream* input);
    271   void SerializeWithCachedSizes(
    272       ::google::protobuf::io::CodedOutputStream* output) const;
    273   int GetCachedSize() const { return _cached_size_; }
    274   private:
    275   void SharedCtor();
    276   void SharedDtor();
    277   void SetCachedSize(int size) const;
    278   public:
    279 
    280   ::std::string GetTypeName() const;
    281 
    282   // nested types ----------------------------------------------------
    283 
    284   typedef Test_Statistic Statistic;
    285   typedef Test_EchoMetrics EchoMetrics;
    286 
    287   // accessors -------------------------------------------------------
    288 
    289   // optional int32 numReverseChannels = 1;
    290   inline bool has_numreversechannels() const;
    291   inline void clear_numreversechannels();
    292   static const int kNumReverseChannelsFieldNumber = 1;
    293   inline ::google::protobuf::int32 numreversechannels() const;
    294   inline void set_numreversechannels(::google::protobuf::int32 value);
    295 
    296   // optional int32 numChannels = 2;
    297   inline bool has_numchannels() const;
    298   inline void clear_numchannels();
    299   static const int kNumChannelsFieldNumber = 2;
    300   inline ::google::protobuf::int32 numchannels() const;
    301   inline void set_numchannels(::google::protobuf::int32 value);
    302 
    303   // optional int32 sampleRate = 3;
    304   inline bool has_samplerate() const;
    305   inline void clear_samplerate();
    306   static const int kSampleRateFieldNumber = 3;
    307   inline ::google::protobuf::int32 samplerate() const;
    308   inline void set_samplerate(::google::protobuf::int32 value);
    309 
    310   // optional int32 hasEchoCount = 4;
    311   inline bool has_hasechocount() const;
    312   inline void clear_hasechocount();
    313   static const int kHasEchoCountFieldNumber = 4;
    314   inline ::google::protobuf::int32 hasechocount() const;
    315   inline void set_hasechocount(::google::protobuf::int32 value);
    316 
    317   // optional int32 hasVoiceCount = 5;
    318   inline bool has_hasvoicecount() const;
    319   inline void clear_hasvoicecount();
    320   static const int kHasVoiceCountFieldNumber = 5;
    321   inline ::google::protobuf::int32 hasvoicecount() const;
    322   inline void set_hasvoicecount(::google::protobuf::int32 value);
    323 
    324   // optional int32 isSaturatedCount = 6;
    325   inline bool has_issaturatedcount() const;
    326   inline void clear_issaturatedcount();
    327   static const int kIsSaturatedCountFieldNumber = 6;
    328   inline ::google::protobuf::int32 issaturatedcount() const;
    329   inline void set_issaturatedcount(::google::protobuf::int32 value);
    330 
    331   // optional .audio_processing_unittest.Test.EchoMetrics echoMetrics = 7;
    332   inline bool has_echometrics() const;
    333   inline void clear_echometrics();
    334   static const int kEchoMetricsFieldNumber = 7;
    335   inline const ::audio_processing_unittest::Test_EchoMetrics& echometrics() const;
    336   inline ::audio_processing_unittest::Test_EchoMetrics* mutable_echometrics();
    337   inline ::audio_processing_unittest::Test_EchoMetrics* release_echometrics();
    338 
    339   // @@protoc_insertion_point(class_scope:audio_processing_unittest.Test)
    340  private:
    341   inline void set_has_numreversechannels();
    342   inline void clear_has_numreversechannels();
    343   inline void set_has_numchannels();
    344   inline void clear_has_numchannels();
    345   inline void set_has_samplerate();
    346   inline void clear_has_samplerate();
    347   inline void set_has_hasechocount();
    348   inline void clear_has_hasechocount();
    349   inline void set_has_hasvoicecount();
    350   inline void clear_has_hasvoicecount();
    351   inline void set_has_issaturatedcount();
    352   inline void clear_has_issaturatedcount();
    353   inline void set_has_echometrics();
    354   inline void clear_has_echometrics();
    355 
    356   ::google::protobuf::int32 numreversechannels_;
    357   ::google::protobuf::int32 numchannels_;
    358   ::google::protobuf::int32 samplerate_;
    359   ::google::protobuf::int32 hasechocount_;
    360   ::google::protobuf::int32 hasvoicecount_;
    361   ::google::protobuf::int32 issaturatedcount_;
    362   ::audio_processing_unittest::Test_EchoMetrics* echometrics_;
    363 
    364   mutable int _cached_size_;
    365   ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
    366 
    367   friend void  protobuf_AddDesc_audio_5fprocessing_5funittest_2eproto();
    368   friend void protobuf_AssignDesc_audio_5fprocessing_5funittest_2eproto();
    369   friend void protobuf_ShutdownFile_audio_5fprocessing_5funittest_2eproto();
    370 
    371   void InitAsDefaultInstance();
    372   static Test* default_instance_;
    373 };
    374 // -------------------------------------------------------------------
    375 
    376 class OutputData : public ::google::protobuf::MessageLite {
    377  public:
    378   OutputData();
    379   virtual ~OutputData();
    380 
    381   OutputData(const OutputData& from);
    382 
    383   inline OutputData& operator=(const OutputData& from) {
    384     CopyFrom(from);
    385     return *this;
    386   }
    387 
    388   static const OutputData& default_instance();
    389 
    390   void Swap(OutputData* other);
    391 
    392   // implements Message ----------------------------------------------
    393 
    394   OutputData* New() const;
    395   void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
    396   void CopyFrom(const OutputData& from);
    397   void MergeFrom(const OutputData& from);
    398   void Clear();
    399   bool IsInitialized() const;
    400 
    401   int ByteSize() const;
    402   bool MergePartialFromCodedStream(
    403       ::google::protobuf::io::CodedInputStream* input);
    404   void SerializeWithCachedSizes(
    405       ::google::protobuf::io::CodedOutputStream* output) const;
    406   int GetCachedSize() const { return _cached_size_; }
    407   private:
    408   void SharedCtor();
    409   void SharedDtor();
    410   void SetCachedSize(int size) const;
    411   public:
    412 
    413   ::std::string GetTypeName() const;
    414 
    415   // nested types ----------------------------------------------------
    416 
    417   // accessors -------------------------------------------------------
    418 
    419   // repeated .audio_processing_unittest.Test test = 1;
    420   inline int test_size() const;
    421   inline void clear_test();
    422   static const int kTestFieldNumber = 1;
    423   inline const ::audio_processing_unittest::Test& test(int index) const;
    424   inline ::audio_processing_unittest::Test* mutable_test(int index);
    425   inline ::audio_processing_unittest::Test* add_test();
    426   inline const ::google::protobuf::RepeatedPtrField< ::audio_processing_unittest::Test >&
    427       test() const;
    428   inline ::google::protobuf::RepeatedPtrField< ::audio_processing_unittest::Test >*
    429       mutable_test();
    430 
    431   // @@protoc_insertion_point(class_scope:audio_processing_unittest.OutputData)
    432  private:
    433 
    434   ::google::protobuf::RepeatedPtrField< ::audio_processing_unittest::Test > test_;
    435 
    436   mutable int _cached_size_;
    437   ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
    438 
    439   friend void  protobuf_AddDesc_audio_5fprocessing_5funittest_2eproto();
    440   friend void protobuf_AssignDesc_audio_5fprocessing_5funittest_2eproto();
    441   friend void protobuf_ShutdownFile_audio_5fprocessing_5funittest_2eproto();
    442 
    443   void InitAsDefaultInstance();
    444   static OutputData* default_instance_;
    445 };
    446 // ===================================================================
    447 
    448 
    449 // ===================================================================
    450 
    451 // Test_Statistic
    452 
    453 // optional int32 instant = 1;
    454 inline bool Test_Statistic::has_instant() const {
    455   return (_has_bits_[0] & 0x00000001u) != 0;
    456 }
    457 inline void Test_Statistic::set_has_instant() {
    458   _has_bits_[0] |= 0x00000001u;
    459 }
    460 inline void Test_Statistic::clear_has_instant() {
    461   _has_bits_[0] &= ~0x00000001u;
    462 }
    463 inline void Test_Statistic::clear_instant() {
    464   instant_ = 0;
    465   clear_has_instant();
    466 }
    467 inline ::google::protobuf::int32 Test_Statistic::instant() const {
    468   return instant_;
    469 }
    470 inline void Test_Statistic::set_instant(::google::protobuf::int32 value) {
    471   set_has_instant();
    472   instant_ = value;
    473 }
    474 
    475 // optional int32 average = 2;
    476 inline bool Test_Statistic::has_average() const {
    477   return (_has_bits_[0] & 0x00000002u) != 0;
    478 }
    479 inline void Test_Statistic::set_has_average() {
    480   _has_bits_[0] |= 0x00000002u;
    481 }
    482 inline void Test_Statistic::clear_has_average() {
    483   _has_bits_[0] &= ~0x00000002u;
    484 }
    485 inline void Test_Statistic::clear_average() {
    486   average_ = 0;
    487   clear_has_average();
    488 }
    489 inline ::google::protobuf::int32 Test_Statistic::average() const {
    490   return average_;
    491 }
    492 inline void Test_Statistic::set_average(::google::protobuf::int32 value) {
    493   set_has_average();
    494   average_ = value;
    495 }
    496 
    497 // optional int32 maximum = 3;
    498 inline bool Test_Statistic::has_maximum() const {
    499   return (_has_bits_[0] & 0x00000004u) != 0;
    500 }
    501 inline void Test_Statistic::set_has_maximum() {
    502   _has_bits_[0] |= 0x00000004u;
    503 }
    504 inline void Test_Statistic::clear_has_maximum() {
    505   _has_bits_[0] &= ~0x00000004u;
    506 }
    507 inline void Test_Statistic::clear_maximum() {
    508   maximum_ = 0;
    509   clear_has_maximum();
    510 }
    511 inline ::google::protobuf::int32 Test_Statistic::maximum() const {
    512   return maximum_;
    513 }
    514 inline void Test_Statistic::set_maximum(::google::protobuf::int32 value) {
    515   set_has_maximum();
    516   maximum_ = value;
    517 }
    518 
    519 // optional int32 minimum = 4;
    520 inline bool Test_Statistic::has_minimum() const {
    521   return (_has_bits_[0] & 0x00000008u) != 0;
    522 }
    523 inline void Test_Statistic::set_has_minimum() {
    524   _has_bits_[0] |= 0x00000008u;
    525 }
    526 inline void Test_Statistic::clear_has_minimum() {
    527   _has_bits_[0] &= ~0x00000008u;
    528 }
    529 inline void Test_Statistic::clear_minimum() {
    530   minimum_ = 0;
    531   clear_has_minimum();
    532 }
    533 inline ::google::protobuf::int32 Test_Statistic::minimum() const {
    534   return minimum_;
    535 }
    536 inline void Test_Statistic::set_minimum(::google::protobuf::int32 value) {
    537   set_has_minimum();
    538   minimum_ = value;
    539 }
    540 
    541 // -------------------------------------------------------------------
    542 
    543 // Test_EchoMetrics
    544 
    545 // optional .audio_processing_unittest.Test.Statistic residualEchoReturnLoss = 1;
    546 inline bool Test_EchoMetrics::has_residualechoreturnloss() const {
    547   return (_has_bits_[0] & 0x00000001u) != 0;
    548 }
    549 inline void Test_EchoMetrics::set_has_residualechoreturnloss() {
    550   _has_bits_[0] |= 0x00000001u;
    551 }
    552 inline void Test_EchoMetrics::clear_has_residualechoreturnloss() {
    553   _has_bits_[0] &= ~0x00000001u;
    554 }
    555 inline void Test_EchoMetrics::clear_residualechoreturnloss() {
    556   if (residualechoreturnloss_ != NULL) residualechoreturnloss_->::audio_processing_unittest::Test_Statistic::Clear();
    557   clear_has_residualechoreturnloss();
    558 }
    559 inline const ::audio_processing_unittest::Test_Statistic& Test_EchoMetrics::residualechoreturnloss() const {
    560   return residualechoreturnloss_ != NULL ? *residualechoreturnloss_ : *default_instance_->residualechoreturnloss_;
    561 }
    562 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::mutable_residualechoreturnloss() {
    563   set_has_residualechoreturnloss();
    564   if (residualechoreturnloss_ == NULL) residualechoreturnloss_ = new ::audio_processing_unittest::Test_Statistic;
    565   return residualechoreturnloss_;
    566 }
    567 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::release_residualechoreturnloss() {
    568   clear_has_residualechoreturnloss();
    569   ::audio_processing_unittest::Test_Statistic* temp = residualechoreturnloss_;
    570   residualechoreturnloss_ = NULL;
    571   return temp;
    572 }
    573 
    574 // optional .audio_processing_unittest.Test.Statistic echoReturnLoss = 2;
    575 inline bool Test_EchoMetrics::has_echoreturnloss() const {
    576   return (_has_bits_[0] & 0x00000002u) != 0;
    577 }
    578 inline void Test_EchoMetrics::set_has_echoreturnloss() {
    579   _has_bits_[0] |= 0x00000002u;
    580 }
    581 inline void Test_EchoMetrics::clear_has_echoreturnloss() {
    582   _has_bits_[0] &= ~0x00000002u;
    583 }
    584 inline void Test_EchoMetrics::clear_echoreturnloss() {
    585   if (echoreturnloss_ != NULL) echoreturnloss_->::audio_processing_unittest::Test_Statistic::Clear();
    586   clear_has_echoreturnloss();
    587 }
    588 inline const ::audio_processing_unittest::Test_Statistic& Test_EchoMetrics::echoreturnloss() const {
    589   return echoreturnloss_ != NULL ? *echoreturnloss_ : *default_instance_->echoreturnloss_;
    590 }
    591 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::mutable_echoreturnloss() {
    592   set_has_echoreturnloss();
    593   if (echoreturnloss_ == NULL) echoreturnloss_ = new ::audio_processing_unittest::Test_Statistic;
    594   return echoreturnloss_;
    595 }
    596 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::release_echoreturnloss() {
    597   clear_has_echoreturnloss();
    598   ::audio_processing_unittest::Test_Statistic* temp = echoreturnloss_;
    599   echoreturnloss_ = NULL;
    600   return temp;
    601 }
    602 
    603 // optional .audio_processing_unittest.Test.Statistic echoReturnLossEnhancement = 3;
    604 inline bool Test_EchoMetrics::has_echoreturnlossenhancement() const {
    605   return (_has_bits_[0] & 0x00000004u) != 0;
    606 }
    607 inline void Test_EchoMetrics::set_has_echoreturnlossenhancement() {
    608   _has_bits_[0] |= 0x00000004u;
    609 }
    610 inline void Test_EchoMetrics::clear_has_echoreturnlossenhancement() {
    611   _has_bits_[0] &= ~0x00000004u;
    612 }
    613 inline void Test_EchoMetrics::clear_echoreturnlossenhancement() {
    614   if (echoreturnlossenhancement_ != NULL) echoreturnlossenhancement_->::audio_processing_unittest::Test_Statistic::Clear();
    615   clear_has_echoreturnlossenhancement();
    616 }
    617 inline const ::audio_processing_unittest::Test_Statistic& Test_EchoMetrics::echoreturnlossenhancement() const {
    618   return echoreturnlossenhancement_ != NULL ? *echoreturnlossenhancement_ : *default_instance_->echoreturnlossenhancement_;
    619 }
    620 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::mutable_echoreturnlossenhancement() {
    621   set_has_echoreturnlossenhancement();
    622   if (echoreturnlossenhancement_ == NULL) echoreturnlossenhancement_ = new ::audio_processing_unittest::Test_Statistic;
    623   return echoreturnlossenhancement_;
    624 }
    625 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::release_echoreturnlossenhancement() {
    626   clear_has_echoreturnlossenhancement();
    627   ::audio_processing_unittest::Test_Statistic* temp = echoreturnlossenhancement_;
    628   echoreturnlossenhancement_ = NULL;
    629   return temp;
    630 }
    631 
    632 // optional .audio_processing_unittest.Test.Statistic aNlp = 4;
    633 inline bool Test_EchoMetrics::has_anlp() const {
    634   return (_has_bits_[0] & 0x00000008u) != 0;
    635 }
    636 inline void Test_EchoMetrics::set_has_anlp() {
    637   _has_bits_[0] |= 0x00000008u;
    638 }
    639 inline void Test_EchoMetrics::clear_has_anlp() {
    640   _has_bits_[0] &= ~0x00000008u;
    641 }
    642 inline void Test_EchoMetrics::clear_anlp() {
    643   if (anlp_ != NULL) anlp_->::audio_processing_unittest::Test_Statistic::Clear();
    644   clear_has_anlp();
    645 }
    646 inline const ::audio_processing_unittest::Test_Statistic& Test_EchoMetrics::anlp() const {
    647   return anlp_ != NULL ? *anlp_ : *default_instance_->anlp_;
    648 }
    649 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::mutable_anlp() {
    650   set_has_anlp();
    651   if (anlp_ == NULL) anlp_ = new ::audio_processing_unittest::Test_Statistic;
    652   return anlp_;
    653 }
    654 inline ::audio_processing_unittest::Test_Statistic* Test_EchoMetrics::release_anlp() {
    655   clear_has_anlp();
    656   ::audio_processing_unittest::Test_Statistic* temp = anlp_;
    657   anlp_ = NULL;
    658   return temp;
    659 }
    660 
    661 // -------------------------------------------------------------------
    662 
    663 // Test
    664 
    665 // optional int32 numReverseChannels = 1;
    666 inline bool Test::has_numreversechannels() const {
    667   return (_has_bits_[0] & 0x00000001u) != 0;
    668 }
    669 inline void Test::set_has_numreversechannels() {
    670   _has_bits_[0] |= 0x00000001u;
    671 }
    672 inline void Test::clear_has_numreversechannels() {
    673   _has_bits_[0] &= ~0x00000001u;
    674 }
    675 inline void Test::clear_numreversechannels() {
    676   numreversechannels_ = 0;
    677   clear_has_numreversechannels();
    678 }
    679 inline ::google::protobuf::int32 Test::numreversechannels() const {
    680   return numreversechannels_;
    681 }
    682 inline void Test::set_numreversechannels(::google::protobuf::int32 value) {
    683   set_has_numreversechannels();
    684   numreversechannels_ = value;
    685 }
    686 
    687 // optional int32 numChannels = 2;
    688 inline bool Test::has_numchannels() const {
    689   return (_has_bits_[0] & 0x00000002u) != 0;
    690 }
    691 inline void Test::set_has_numchannels() {
    692   _has_bits_[0] |= 0x00000002u;
    693 }
    694 inline void Test::clear_has_numchannels() {
    695   _has_bits_[0] &= ~0x00000002u;
    696 }
    697 inline void Test::clear_numchannels() {
    698   numchannels_ = 0;
    699   clear_has_numchannels();
    700 }
    701 inline ::google::protobuf::int32 Test::numchannels() const {
    702   return numchannels_;
    703 }
    704 inline void Test::set_numchannels(::google::protobuf::int32 value) {
    705   set_has_numchannels();
    706   numchannels_ = value;
    707 }
    708 
    709 // optional int32 sampleRate = 3;
    710 inline bool Test::has_samplerate() const {
    711   return (_has_bits_[0] & 0x00000004u) != 0;
    712 }
    713 inline void Test::set_has_samplerate() {
    714   _has_bits_[0] |= 0x00000004u;
    715 }
    716 inline void Test::clear_has_samplerate() {
    717   _has_bits_[0] &= ~0x00000004u;
    718 }
    719 inline void Test::clear_samplerate() {
    720   samplerate_ = 0;
    721   clear_has_samplerate();
    722 }
    723 inline ::google::protobuf::int32 Test::samplerate() const {
    724   return samplerate_;
    725 }
    726 inline void Test::set_samplerate(::google::protobuf::int32 value) {
    727   set_has_samplerate();
    728   samplerate_ = value;
    729 }
    730 
    731 // optional int32 hasEchoCount = 4;
    732 inline bool Test::has_hasechocount() const {
    733   return (_has_bits_[0] & 0x00000008u) != 0;
    734 }
    735 inline void Test::set_has_hasechocount() {
    736   _has_bits_[0] |= 0x00000008u;
    737 }
    738 inline void Test::clear_has_hasechocount() {
    739   _has_bits_[0] &= ~0x00000008u;
    740 }
    741 inline void Test::clear_hasechocount() {
    742   hasechocount_ = 0;
    743   clear_has_hasechocount();
    744 }
    745 inline ::google::protobuf::int32 Test::hasechocount() const {
    746   return hasechocount_;
    747 }
    748 inline void Test::set_hasechocount(::google::protobuf::int32 value) {
    749   set_has_hasechocount();
    750   hasechocount_ = value;
    751 }
    752 
    753 // optional int32 hasVoiceCount = 5;
    754 inline bool Test::has_hasvoicecount() const {
    755   return (_has_bits_[0] & 0x00000010u) != 0;
    756 }
    757 inline void Test::set_has_hasvoicecount() {
    758   _has_bits_[0] |= 0x00000010u;
    759 }
    760 inline void Test::clear_has_hasvoicecount() {
    761   _has_bits_[0] &= ~0x00000010u;
    762 }
    763 inline void Test::clear_hasvoicecount() {
    764   hasvoicecount_ = 0;
    765   clear_has_hasvoicecount();
    766 }
    767 inline ::google::protobuf::int32 Test::hasvoicecount() const {
    768   return hasvoicecount_;
    769 }
    770 inline void Test::set_hasvoicecount(::google::protobuf::int32 value) {
    771   set_has_hasvoicecount();
    772   hasvoicecount_ = value;
    773 }
    774 
    775 // optional int32 isSaturatedCount = 6;
    776 inline bool Test::has_issaturatedcount() const {
    777   return (_has_bits_[0] & 0x00000020u) != 0;
    778 }
    779 inline void Test::set_has_issaturatedcount() {
    780   _has_bits_[0] |= 0x00000020u;
    781 }
    782 inline void Test::clear_has_issaturatedcount() {
    783   _has_bits_[0] &= ~0x00000020u;
    784 }
    785 inline void Test::clear_issaturatedcount() {
    786   issaturatedcount_ = 0;
    787   clear_has_issaturatedcount();
    788 }
    789 inline ::google::protobuf::int32 Test::issaturatedcount() const {
    790   return issaturatedcount_;
    791 }
    792 inline void Test::set_issaturatedcount(::google::protobuf::int32 value) {
    793   set_has_issaturatedcount();
    794   issaturatedcount_ = value;
    795 }
    796 
    797 // optional .audio_processing_unittest.Test.EchoMetrics echoMetrics = 7;
    798 inline bool Test::has_echometrics() const {
    799   return (_has_bits_[0] & 0x00000040u) != 0;
    800 }
    801 inline void Test::set_has_echometrics() {
    802   _has_bits_[0] |= 0x00000040u;
    803 }
    804 inline void Test::clear_has_echometrics() {
    805   _has_bits_[0] &= ~0x00000040u;
    806 }
    807 inline void Test::clear_echometrics() {
    808   if (echometrics_ != NULL) echometrics_->::audio_processing_unittest::Test_EchoMetrics::Clear();
    809   clear_has_echometrics();
    810 }
    811 inline const ::audio_processing_unittest::Test_EchoMetrics& Test::echometrics() const {
    812   return echometrics_ != NULL ? *echometrics_ : *default_instance_->echometrics_;
    813 }
    814 inline ::audio_processing_unittest::Test_EchoMetrics* Test::mutable_echometrics() {
    815   set_has_echometrics();
    816   if (echometrics_ == NULL) echometrics_ = new ::audio_processing_unittest::Test_EchoMetrics;
    817   return echometrics_;
    818 }
    819 inline ::audio_processing_unittest::Test_EchoMetrics* Test::release_echometrics() {
    820   clear_has_echometrics();
    821   ::audio_processing_unittest::Test_EchoMetrics* temp = echometrics_;
    822   echometrics_ = NULL;
    823   return temp;
    824 }
    825 
    826 // -------------------------------------------------------------------
    827 
    828 // OutputData
    829 
    830 // repeated .audio_processing_unittest.Test test = 1;
    831 inline int OutputData::test_size() const {
    832   return test_.size();
    833 }
    834 inline void OutputData::clear_test() {
    835   test_.Clear();
    836 }
    837 inline const ::audio_processing_unittest::Test& OutputData::test(int index) const {
    838   return test_.Get(index);
    839 }
    840 inline ::audio_processing_unittest::Test* OutputData::mutable_test(int index) {
    841   return test_.Mutable(index);
    842 }
    843 inline ::audio_processing_unittest::Test* OutputData::add_test() {
    844   return test_.Add();
    845 }
    846 inline const ::google::protobuf::RepeatedPtrField< ::audio_processing_unittest::Test >&
    847 OutputData::test() const {
    848   return test_;
    849 }
    850 inline ::google::protobuf::RepeatedPtrField< ::audio_processing_unittest::Test >*
    851 OutputData::mutable_test() {
    852   return &test_;
    853 }
    854 
    855 
    856 // @@protoc_insertion_point(namespace_scope)
    857 
    858 }  // namespace audio_processing_unittest
    859 
    860 // @@protoc_insertion_point(global_scope)
    861 
    862 #endif  // PROTOBUF_audio_5fprocessing_5funittest_2eproto__INCLUDED
    863