Wiselib
wiselib.testing/external_interface/iphone/proto/MarcusProtocol.pb.h
Go to the documentation of this file.
00001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
00002 // source: MarcusProtocol.proto
00003 
00004 #ifndef PROTOBUF_MarcusProtocol_2eproto__INCLUDED
00005 #define PROTOBUF_MarcusProtocol_2eproto__INCLUDED
00006 
00007 #include <string>
00008 
00009 #include <google/protobuf/stubs/common.h>
00010 
00011 #if GOOGLE_PROTOBUF_VERSION < 2003000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers.  Please update
00014 #error your headers.
00015 #endif
00016 #if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers.  Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021 
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/repeated_field.h>
00024 #include <google/protobuf/extension_set.h>
00025 #include <google/protobuf/generated_message_reflection.h>
00026 // @@protoc_insertion_point(includes)
00027 
00028 namespace marcusiphone {
00029 
00030 // Internal implementation detail -- do not call these.
00031 void  protobuf_AddDesc_MarcusProtocol_2eproto();
00032 void protobuf_AssignDesc_MarcusProtocol_2eproto();
00033 void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00034 
00035 class Envelope;
00036 class LoginMessage;
00037 class StatusMessage;
00038 class RequestMessage;
00039 class DebugMessage;
00040 class ErrorMessage;
00041 class FloorSetup;
00042 class FloorCommand;
00043 class LedColor;
00044 class LedTemperature;
00045 
00046 enum Envelope_MessageType {
00047   Envelope_MessageType_LOGIN = 1,
00048   Envelope_MessageType_STATUS = 2,
00049   Envelope_MessageType_REQUEST = 3,
00050   Envelope_MessageType_COMMAND = 4,
00051   Envelope_MessageType_DEBUG = 5,
00052   Envelope_MessageType_ERROR = 6
00053 };
00054 bool Envelope_MessageType_IsValid(int value);
00055 const Envelope_MessageType Envelope_MessageType_MessageType_MIN = Envelope_MessageType_LOGIN;
00056 const Envelope_MessageType Envelope_MessageType_MessageType_MAX = Envelope_MessageType_ERROR;
00057 const int Envelope_MessageType_MessageType_ARRAYSIZE = Envelope_MessageType_MessageType_MAX + 1;
00058 
00059 const ::google::protobuf::EnumDescriptor* Envelope_MessageType_descriptor();
00060 inline const ::std::string& Envelope_MessageType_Name(Envelope_MessageType value) {
00061   return ::google::protobuf::internal::NameOfEnum(
00062     Envelope_MessageType_descriptor(), value);
00063 }
00064 inline bool Envelope_MessageType_Parse(
00065     const ::std::string& name, Envelope_MessageType* value) {
00066   return ::google::protobuf::internal::ParseNamedEnum<Envelope_MessageType>(
00067     Envelope_MessageType_descriptor(), name, value);
00068 }
00069 enum StatusMessage_StatusType {
00070   StatusMessage_StatusType_LED = 1,
00071   StatusMessage_StatusType_LEDTEMP = 2,
00072   StatusMessage_StatusType_FLOORSETUP = 3
00073 };
00074 bool StatusMessage_StatusType_IsValid(int value);
00075 const StatusMessage_StatusType StatusMessage_StatusType_StatusType_MIN = StatusMessage_StatusType_LED;
00076 const StatusMessage_StatusType StatusMessage_StatusType_StatusType_MAX = StatusMessage_StatusType_FLOORSETUP;
00077 const int StatusMessage_StatusType_StatusType_ARRAYSIZE = StatusMessage_StatusType_StatusType_MAX + 1;
00078 
00079 const ::google::protobuf::EnumDescriptor* StatusMessage_StatusType_descriptor();
00080 inline const ::std::string& StatusMessage_StatusType_Name(StatusMessage_StatusType value) {
00081   return ::google::protobuf::internal::NameOfEnum(
00082     StatusMessage_StatusType_descriptor(), value);
00083 }
00084 inline bool StatusMessage_StatusType_Parse(
00085     const ::std::string& name, StatusMessage_StatusType* value) {
00086   return ::google::protobuf::internal::ParseNamedEnum<StatusMessage_StatusType>(
00087     StatusMessage_StatusType_descriptor(), name, value);
00088 }
00089 enum RequestMessage_RequestType {
00090   RequestMessage_RequestType_FLOORSETUP = 1
00091 };
00092 bool RequestMessage_RequestType_IsValid(int value);
00093 const RequestMessage_RequestType RequestMessage_RequestType_RequestType_MIN = RequestMessage_RequestType_FLOORSETUP;
00094 const RequestMessage_RequestType RequestMessage_RequestType_RequestType_MAX = RequestMessage_RequestType_FLOORSETUP;
00095 const int RequestMessage_RequestType_RequestType_ARRAYSIZE = RequestMessage_RequestType_RequestType_MAX + 1;
00096 
00097 const ::google::protobuf::EnumDescriptor* RequestMessage_RequestType_descriptor();
00098 inline const ::std::string& RequestMessage_RequestType_Name(RequestMessage_RequestType value) {
00099   return ::google::protobuf::internal::NameOfEnum(
00100     RequestMessage_RequestType_descriptor(), value);
00101 }
00102 inline bool RequestMessage_RequestType_Parse(
00103     const ::std::string& name, RequestMessage_RequestType* value) {
00104   return ::google::protobuf::internal::ParseNamedEnum<RequestMessage_RequestType>(
00105     RequestMessage_RequestType_descriptor(), name, value);
00106 }
00107 enum FloorCommand_CommandType {
00108   FloorCommand_CommandType_REBOOT = 1,
00109   FloorCommand_CommandType_LED = 2
00110 };
00111 bool FloorCommand_CommandType_IsValid(int value);
00112 const FloorCommand_CommandType FloorCommand_CommandType_CommandType_MIN = FloorCommand_CommandType_REBOOT;
00113 const FloorCommand_CommandType FloorCommand_CommandType_CommandType_MAX = FloorCommand_CommandType_LED;
00114 const int FloorCommand_CommandType_CommandType_ARRAYSIZE = FloorCommand_CommandType_CommandType_MAX + 1;
00115 
00116 const ::google::protobuf::EnumDescriptor* FloorCommand_CommandType_descriptor();
00117 inline const ::std::string& FloorCommand_CommandType_Name(FloorCommand_CommandType value) {
00118   return ::google::protobuf::internal::NameOfEnum(
00119     FloorCommand_CommandType_descriptor(), value);
00120 }
00121 inline bool FloorCommand_CommandType_Parse(
00122     const ::std::string& name, FloorCommand_CommandType* value) {
00123   return ::google::protobuf::internal::ParseNamedEnum<FloorCommand_CommandType>(
00124     FloorCommand_CommandType_descriptor(), name, value);
00125 }
00126 // ===================================================================
00127 
00128 class Envelope : public ::google::protobuf::Message {
00129  public:
00130   Envelope();
00131   virtual ~Envelope();
00132   
00133   Envelope(const Envelope& from);
00134   
00135   inline Envelope& operator=(const Envelope& from) {
00136     CopyFrom(from);
00137     return *this;
00138   }
00139   
00140   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00141     return _unknown_fields_;
00142   }
00143   
00144   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00145     return &_unknown_fields_;
00146   }
00147   
00148   static const ::google::protobuf::Descriptor* descriptor();
00149   static const Envelope& default_instance();
00150   
00151   void Swap(Envelope* other);
00152   
00153   // implements Message ----------------------------------------------
00154   
00155   Envelope* New() const;
00156   void CopyFrom(const ::google::protobuf::Message& from);
00157   void MergeFrom(const ::google::protobuf::Message& from);
00158   void CopyFrom(const Envelope& from);
00159   void MergeFrom(const Envelope& from);
00160   void Clear();
00161   bool IsInitialized() const;
00162   
00163   int ByteSize() const;
00164   bool MergePartialFromCodedStream(
00165       ::google::protobuf::io::CodedInputStream* input);
00166   void SerializeWithCachedSizes(
00167       ::google::protobuf::io::CodedOutputStream* output) const;
00168   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00169   int GetCachedSize() const { return _cached_size_; }
00170   private:
00171   void SharedCtor();
00172   void SharedDtor();
00173   void SetCachedSize(int size) const;
00174   public:
00175   
00176   ::google::protobuf::Metadata GetMetadata() const;
00177   
00178   // nested types ----------------------------------------------------
00179   
00180   typedef Envelope_MessageType MessageType;
00181   static const MessageType LOGIN = Envelope_MessageType_LOGIN;
00182   static const MessageType STATUS = Envelope_MessageType_STATUS;
00183   static const MessageType REQUEST = Envelope_MessageType_REQUEST;
00184   static const MessageType COMMAND = Envelope_MessageType_COMMAND;
00185   static const MessageType DEBUG = Envelope_MessageType_DEBUG;
00186   static const MessageType ERROR = Envelope_MessageType_ERROR;
00187   static inline bool MessageType_IsValid(int value) {
00188     return Envelope_MessageType_IsValid(value);
00189   }
00190   static const MessageType MessageType_MIN =
00191     Envelope_MessageType_MessageType_MIN;
00192   static const MessageType MessageType_MAX =
00193     Envelope_MessageType_MessageType_MAX;
00194   static const int MessageType_ARRAYSIZE =
00195     Envelope_MessageType_MessageType_ARRAYSIZE;
00196   static inline const ::google::protobuf::EnumDescriptor*
00197   MessageType_descriptor() {
00198     return Envelope_MessageType_descriptor();
00199   }
00200   static inline const ::std::string& MessageType_Name(MessageType value) {
00201     return Envelope_MessageType_Name(value);
00202   }
00203   static inline bool MessageType_Parse(const ::std::string& name,
00204       MessageType* value) {
00205     return Envelope_MessageType_Parse(name, value);
00206   }
00207   
00208   // accessors -------------------------------------------------------
00209   
00210   // required .marcusiphone.Envelope.MessageType messageType = 1;
00211   inline bool has_messagetype() const;
00212   inline void clear_messagetype();
00213   static const int kMessageTypeFieldNumber = 1;
00214   inline ::marcusiphone::Envelope_MessageType messagetype() const;
00215   inline void set_messagetype(::marcusiphone::Envelope_MessageType value);
00216   
00217   // optional string source = 2;
00218   inline bool has_source() const;
00219   inline void clear_source();
00220   static const int kSourceFieldNumber = 2;
00221   inline const ::std::string& source() const;
00222   inline void set_source(const ::std::string& value);
00223   inline void set_source(const char* value);
00224   inline void set_source(const char* value, size_t size);
00225   inline ::std::string* mutable_source();
00226   
00227   // optional string destination = 3;
00228   inline bool has_destination() const;
00229   inline void clear_destination();
00230   static const int kDestinationFieldNumber = 3;
00231   inline const ::std::string& destination() const;
00232   inline void set_destination(const ::std::string& value);
00233   inline void set_destination(const char* value);
00234   inline void set_destination(const char* value, size_t size);
00235   inline ::std::string* mutable_destination();
00236   
00237   // optional .marcusiphone.LoginMessage loginMessage = 4;
00238   inline bool has_loginmessage() const;
00239   inline void clear_loginmessage();
00240   static const int kLoginMessageFieldNumber = 4;
00241   inline const ::marcusiphone::LoginMessage& loginmessage() const;
00242   inline ::marcusiphone::LoginMessage* mutable_loginmessage();
00243   
00244   // optional .marcusiphone.StatusMessage statusMessage = 5;
00245   inline bool has_statusmessage() const;
00246   inline void clear_statusmessage();
00247   static const int kStatusMessageFieldNumber = 5;
00248   inline const ::marcusiphone::StatusMessage& statusmessage() const;
00249   inline ::marcusiphone::StatusMessage* mutable_statusmessage();
00250   
00251   // optional .marcusiphone.ErrorMessage errorMessage = 6;
00252   inline bool has_errormessage() const;
00253   inline void clear_errormessage();
00254   static const int kErrorMessageFieldNumber = 6;
00255   inline const ::marcusiphone::ErrorMessage& errormessage() const;
00256   inline ::marcusiphone::ErrorMessage* mutable_errormessage();
00257   
00258   // optional .marcusiphone.DebugMessage debugMessage = 7;
00259   inline bool has_debugmessage() const;
00260   inline void clear_debugmessage();
00261   static const int kDebugMessageFieldNumber = 7;
00262   inline const ::marcusiphone::DebugMessage& debugmessage() const;
00263   inline ::marcusiphone::DebugMessage* mutable_debugmessage();
00264   
00265   // optional .marcusiphone.FloorCommand floorCommand = 8;
00266   inline bool has_floorcommand() const;
00267   inline void clear_floorcommand();
00268   static const int kFloorCommandFieldNumber = 8;
00269   inline const ::marcusiphone::FloorCommand& floorcommand() const;
00270   inline ::marcusiphone::FloorCommand* mutable_floorcommand();
00271   
00272   // optional .marcusiphone.RequestMessage requestMessage = 9;
00273   inline bool has_requestmessage() const;
00274   inline void clear_requestmessage();
00275   static const int kRequestMessageFieldNumber = 9;
00276   inline const ::marcusiphone::RequestMessage& requestmessage() const;
00277   inline ::marcusiphone::RequestMessage* mutable_requestmessage();
00278   
00279   // @@protoc_insertion_point(class_scope:marcusiphone.Envelope)
00280  private:
00281   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00282   mutable int _cached_size_;
00283   
00284   int messagetype_;
00285   ::std::string* source_;
00286   static const ::std::string _default_source_;
00287   ::std::string* destination_;
00288   static const ::std::string _default_destination_;
00289   ::marcusiphone::LoginMessage* loginmessage_;
00290   ::marcusiphone::StatusMessage* statusmessage_;
00291   ::marcusiphone::ErrorMessage* errormessage_;
00292   ::marcusiphone::DebugMessage* debugmessage_;
00293   ::marcusiphone::FloorCommand* floorcommand_;
00294   ::marcusiphone::RequestMessage* requestmessage_;
00295   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00296   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00297   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00298   
00299   ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
00300   
00301   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00302   inline bool _has_bit(int index) const {
00303     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00304   }
00305   inline void _set_bit(int index) {
00306     _has_bits_[index / 32] |= (1u << (index % 32));
00307   }
00308   inline void _clear_bit(int index) {
00309     _has_bits_[index / 32] &= ~(1u << (index % 32));
00310   }
00311   
00312   void InitAsDefaultInstance();
00313   static Envelope* default_instance_;
00314 };
00315 // -------------------------------------------------------------------
00316 
00317 class LoginMessage : public ::google::protobuf::Message {
00318  public:
00319   LoginMessage();
00320   virtual ~LoginMessage();
00321   
00322   LoginMessage(const LoginMessage& from);
00323   
00324   inline LoginMessage& operator=(const LoginMessage& from) {
00325     CopyFrom(from);
00326     return *this;
00327   }
00328   
00329   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00330     return _unknown_fields_;
00331   }
00332   
00333   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00334     return &_unknown_fields_;
00335   }
00336   
00337   static const ::google::protobuf::Descriptor* descriptor();
00338   static const LoginMessage& default_instance();
00339   
00340   void Swap(LoginMessage* other);
00341   
00342   // implements Message ----------------------------------------------
00343   
00344   LoginMessage* New() const;
00345   void CopyFrom(const ::google::protobuf::Message& from);
00346   void MergeFrom(const ::google::protobuf::Message& from);
00347   void CopyFrom(const LoginMessage& from);
00348   void MergeFrom(const LoginMessage& from);
00349   void Clear();
00350   bool IsInitialized() const;
00351   
00352   int ByteSize() const;
00353   bool MergePartialFromCodedStream(
00354       ::google::protobuf::io::CodedInputStream* input);
00355   void SerializeWithCachedSizes(
00356       ::google::protobuf::io::CodedOutputStream* output) const;
00357   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00358   int GetCachedSize() const { return _cached_size_; }
00359   private:
00360   void SharedCtor();
00361   void SharedDtor();
00362   void SetCachedSize(int size) const;
00363   public:
00364   
00365   ::google::protobuf::Metadata GetMetadata() const;
00366   
00367   // nested types ----------------------------------------------------
00368   
00369   // accessors -------------------------------------------------------
00370   
00371   // optional bool login = 1;
00372   inline bool has_login() const;
00373   inline void clear_login();
00374   static const int kLoginFieldNumber = 1;
00375   inline bool login() const;
00376   inline void set_login(bool value);
00377   
00378   // optional string user = 2;
00379   inline bool has_user() const;
00380   inline void clear_user();
00381   static const int kUserFieldNumber = 2;
00382   inline const ::std::string& user() const;
00383   inline void set_user(const ::std::string& value);
00384   inline void set_user(const char* value);
00385   inline void set_user(const char* value, size_t size);
00386   inline ::std::string* mutable_user();
00387   
00388   // optional string pwd = 3;
00389   inline bool has_pwd() const;
00390   inline void clear_pwd();
00391   static const int kPwdFieldNumber = 3;
00392   inline const ::std::string& pwd() const;
00393   inline void set_pwd(const ::std::string& value);
00394   inline void set_pwd(const char* value);
00395   inline void set_pwd(const char* value, size_t size);
00396   inline ::std::string* mutable_pwd();
00397   
00398   // @@protoc_insertion_point(class_scope:marcusiphone.LoginMessage)
00399  private:
00400   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00401   mutable int _cached_size_;
00402   
00403   bool login_;
00404   ::std::string* user_;
00405   static const ::std::string _default_user_;
00406   ::std::string* pwd_;
00407   static const ::std::string _default_pwd_;
00408   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00409   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00410   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00411   
00412   ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
00413   
00414   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00415   inline bool _has_bit(int index) const {
00416     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00417   }
00418   inline void _set_bit(int index) {
00419     _has_bits_[index / 32] |= (1u << (index % 32));
00420   }
00421   inline void _clear_bit(int index) {
00422     _has_bits_[index / 32] &= ~(1u << (index % 32));
00423   }
00424   
00425   void InitAsDefaultInstance();
00426   static LoginMessage* default_instance_;
00427 };
00428 // -------------------------------------------------------------------
00429 
00430 class StatusMessage : public ::google::protobuf::Message {
00431  public:
00432   StatusMessage();
00433   virtual ~StatusMessage();
00434   
00435   StatusMessage(const StatusMessage& from);
00436   
00437   inline StatusMessage& operator=(const StatusMessage& from) {
00438     CopyFrom(from);
00439     return *this;
00440   }
00441   
00442   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00443     return _unknown_fields_;
00444   }
00445   
00446   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00447     return &_unknown_fields_;
00448   }
00449   
00450   static const ::google::protobuf::Descriptor* descriptor();
00451   static const StatusMessage& default_instance();
00452   
00453   void Swap(StatusMessage* other);
00454   
00455   // implements Message ----------------------------------------------
00456   
00457   StatusMessage* New() const;
00458   void CopyFrom(const ::google::protobuf::Message& from);
00459   void MergeFrom(const ::google::protobuf::Message& from);
00460   void CopyFrom(const StatusMessage& from);
00461   void MergeFrom(const StatusMessage& from);
00462   void Clear();
00463   bool IsInitialized() const;
00464   
00465   int ByteSize() const;
00466   bool MergePartialFromCodedStream(
00467       ::google::protobuf::io::CodedInputStream* input);
00468   void SerializeWithCachedSizes(
00469       ::google::protobuf::io::CodedOutputStream* output) const;
00470   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00471   int GetCachedSize() const { return _cached_size_; }
00472   private:
00473   void SharedCtor();
00474   void SharedDtor();
00475   void SetCachedSize(int size) const;
00476   public:
00477   
00478   ::google::protobuf::Metadata GetMetadata() const;
00479   
00480   // nested types ----------------------------------------------------
00481   
00482   typedef StatusMessage_StatusType StatusType;
00483   static const StatusType LED = StatusMessage_StatusType_LED;
00484   static const StatusType LEDTEMP = StatusMessage_StatusType_LEDTEMP;
00485   static const StatusType FLOORSETUP = StatusMessage_StatusType_FLOORSETUP;
00486   static inline bool StatusType_IsValid(int value) {
00487     return StatusMessage_StatusType_IsValid(value);
00488   }
00489   static const StatusType StatusType_MIN =
00490     StatusMessage_StatusType_StatusType_MIN;
00491   static const StatusType StatusType_MAX =
00492     StatusMessage_StatusType_StatusType_MAX;
00493   static const int StatusType_ARRAYSIZE =
00494     StatusMessage_StatusType_StatusType_ARRAYSIZE;
00495   static inline const ::google::protobuf::EnumDescriptor*
00496   StatusType_descriptor() {
00497     return StatusMessage_StatusType_descriptor();
00498   }
00499   static inline const ::std::string& StatusType_Name(StatusType value) {
00500     return StatusMessage_StatusType_Name(value);
00501   }
00502   static inline bool StatusType_Parse(const ::std::string& name,
00503       StatusType* value) {
00504     return StatusMessage_StatusType_Parse(name, value);
00505   }
00506   
00507   // accessors -------------------------------------------------------
00508   
00509   // required .marcusiphone.StatusMessage.StatusType statusType = 1;
00510   inline bool has_statustype() const;
00511   inline void clear_statustype();
00512   static const int kStatusTypeFieldNumber = 1;
00513   inline ::marcusiphone::StatusMessage_StatusType statustype() const;
00514   inline void set_statustype(::marcusiphone::StatusMessage_StatusType value);
00515   
00516   // repeated .marcusiphone.LedColor ledColors = 2;
00517   inline int ledcolors_size() const;
00518   inline void clear_ledcolors();
00519   static const int kLedColorsFieldNumber = 2;
00520   inline const ::marcusiphone::LedColor& ledcolors(int index) const;
00521   inline ::marcusiphone::LedColor* mutable_ledcolors(int index);
00522   inline ::marcusiphone::LedColor* add_ledcolors();
00523   inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >&
00524       ledcolors() const;
00525   inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >*
00526       mutable_ledcolors();
00527   
00528   // repeated .marcusiphone.LedTemperature ledTemps = 3;
00529   inline int ledtemps_size() const;
00530   inline void clear_ledtemps();
00531   static const int kLedTempsFieldNumber = 3;
00532   inline const ::marcusiphone::LedTemperature& ledtemps(int index) const;
00533   inline ::marcusiphone::LedTemperature* mutable_ledtemps(int index);
00534   inline ::marcusiphone::LedTemperature* add_ledtemps();
00535   inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedTemperature >&
00536       ledtemps() const;
00537   inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedTemperature >*
00538       mutable_ledtemps();
00539   
00540   // optional .marcusiphone.FloorSetup floorSetup = 4;
00541   inline bool has_floorsetup() const;
00542   inline void clear_floorsetup();
00543   static const int kFloorSetupFieldNumber = 4;
00544   inline const ::marcusiphone::FloorSetup& floorsetup() const;
00545   inline ::marcusiphone::FloorSetup* mutable_floorsetup();
00546   
00547   // @@protoc_insertion_point(class_scope:marcusiphone.StatusMessage)
00548  private:
00549   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00550   mutable int _cached_size_;
00551   
00552   int statustype_;
00553   ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor > ledcolors_;
00554   ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedTemperature > ledtemps_;
00555   ::marcusiphone::FloorSetup* floorsetup_;
00556   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00557   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00558   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00559   
00560   ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
00561   
00562   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00563   inline bool _has_bit(int index) const {
00564     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00565   }
00566   inline void _set_bit(int index) {
00567     _has_bits_[index / 32] |= (1u << (index % 32));
00568   }
00569   inline void _clear_bit(int index) {
00570     _has_bits_[index / 32] &= ~(1u << (index % 32));
00571   }
00572   
00573   void InitAsDefaultInstance();
00574   static StatusMessage* default_instance_;
00575 };
00576 // -------------------------------------------------------------------
00577 
00578 class RequestMessage : public ::google::protobuf::Message {
00579  public:
00580   RequestMessage();
00581   virtual ~RequestMessage();
00582   
00583   RequestMessage(const RequestMessage& from);
00584   
00585   inline RequestMessage& operator=(const RequestMessage& from) {
00586     CopyFrom(from);
00587     return *this;
00588   }
00589   
00590   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00591     return _unknown_fields_;
00592   }
00593   
00594   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00595     return &_unknown_fields_;
00596   }
00597   
00598   static const ::google::protobuf::Descriptor* descriptor();
00599   static const RequestMessage& default_instance();
00600   
00601   void Swap(RequestMessage* other);
00602   
00603   // implements Message ----------------------------------------------
00604   
00605   RequestMessage* New() const;
00606   void CopyFrom(const ::google::protobuf::Message& from);
00607   void MergeFrom(const ::google::protobuf::Message& from);
00608   void CopyFrom(const RequestMessage& from);
00609   void MergeFrom(const RequestMessage& from);
00610   void Clear();
00611   bool IsInitialized() const;
00612   
00613   int ByteSize() const;
00614   bool MergePartialFromCodedStream(
00615       ::google::protobuf::io::CodedInputStream* input);
00616   void SerializeWithCachedSizes(
00617       ::google::protobuf::io::CodedOutputStream* output) const;
00618   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00619   int GetCachedSize() const { return _cached_size_; }
00620   private:
00621   void SharedCtor();
00622   void SharedDtor();
00623   void SetCachedSize(int size) const;
00624   public:
00625   
00626   ::google::protobuf::Metadata GetMetadata() const;
00627   
00628   // nested types ----------------------------------------------------
00629   
00630   typedef RequestMessage_RequestType RequestType;
00631   static const RequestType FLOORSETUP = RequestMessage_RequestType_FLOORSETUP;
00632   static inline bool RequestType_IsValid(int value) {
00633     return RequestMessage_RequestType_IsValid(value);
00634   }
00635   static const RequestType RequestType_MIN =
00636     RequestMessage_RequestType_RequestType_MIN;
00637   static const RequestType RequestType_MAX =
00638     RequestMessage_RequestType_RequestType_MAX;
00639   static const int RequestType_ARRAYSIZE =
00640     RequestMessage_RequestType_RequestType_ARRAYSIZE;
00641   static inline const ::google::protobuf::EnumDescriptor*
00642   RequestType_descriptor() {
00643     return RequestMessage_RequestType_descriptor();
00644   }
00645   static inline const ::std::string& RequestType_Name(RequestType value) {
00646     return RequestMessage_RequestType_Name(value);
00647   }
00648   static inline bool RequestType_Parse(const ::std::string& name,
00649       RequestType* value) {
00650     return RequestMessage_RequestType_Parse(name, value);
00651   }
00652   
00653   // accessors -------------------------------------------------------
00654   
00655   // required .marcusiphone.RequestMessage.RequestType requestType = 1;
00656   inline bool has_requesttype() const;
00657   inline void clear_requesttype();
00658   static const int kRequestTypeFieldNumber = 1;
00659   inline ::marcusiphone::RequestMessage_RequestType requesttype() const;
00660   inline void set_requesttype(::marcusiphone::RequestMessage_RequestType value);
00661   
00662   // @@protoc_insertion_point(class_scope:marcusiphone.RequestMessage)
00663  private:
00664   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00665   mutable int _cached_size_;
00666   
00667   int requesttype_;
00668   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00669   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00670   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00671   
00672   ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00673   
00674   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00675   inline bool _has_bit(int index) const {
00676     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00677   }
00678   inline void _set_bit(int index) {
00679     _has_bits_[index / 32] |= (1u << (index % 32));
00680   }
00681   inline void _clear_bit(int index) {
00682     _has_bits_[index / 32] &= ~(1u << (index % 32));
00683   }
00684   
00685   void InitAsDefaultInstance();
00686   static RequestMessage* default_instance_;
00687 };
00688 // -------------------------------------------------------------------
00689 
00690 class DebugMessage : public ::google::protobuf::Message {
00691  public:
00692   DebugMessage();
00693   virtual ~DebugMessage();
00694   
00695   DebugMessage(const DebugMessage& from);
00696   
00697   inline DebugMessage& operator=(const DebugMessage& from) {
00698     CopyFrom(from);
00699     return *this;
00700   }
00701   
00702   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00703     return _unknown_fields_;
00704   }
00705   
00706   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00707     return &_unknown_fields_;
00708   }
00709   
00710   static const ::google::protobuf::Descriptor* descriptor();
00711   static const DebugMessage& default_instance();
00712   
00713   void Swap(DebugMessage* other);
00714   
00715   // implements Message ----------------------------------------------
00716   
00717   DebugMessage* New() const;
00718   void CopyFrom(const ::google::protobuf::Message& from);
00719   void MergeFrom(const ::google::protobuf::Message& from);
00720   void CopyFrom(const DebugMessage& from);
00721   void MergeFrom(const DebugMessage& from);
00722   void Clear();
00723   bool IsInitialized() const;
00724   
00725   int ByteSize() const;
00726   bool MergePartialFromCodedStream(
00727       ::google::protobuf::io::CodedInputStream* input);
00728   void SerializeWithCachedSizes(
00729       ::google::protobuf::io::CodedOutputStream* output) const;
00730   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00731   int GetCachedSize() const { return _cached_size_; }
00732   private:
00733   void SharedCtor();
00734   void SharedDtor();
00735   void SetCachedSize(int size) const;
00736   public:
00737   
00738   ::google::protobuf::Metadata GetMetadata() const;
00739   
00740   // nested types ----------------------------------------------------
00741   
00742   // accessors -------------------------------------------------------
00743   
00744   // required string debugMsg = 1;
00745   inline bool has_debugmsg() const;
00746   inline void clear_debugmsg();
00747   static const int kDebugMsgFieldNumber = 1;
00748   inline const ::std::string& debugmsg() const;
00749   inline void set_debugmsg(const ::std::string& value);
00750   inline void set_debugmsg(const char* value);
00751   inline void set_debugmsg(const char* value, size_t size);
00752   inline ::std::string* mutable_debugmsg();
00753   
00754   // @@protoc_insertion_point(class_scope:marcusiphone.DebugMessage)
00755  private:
00756   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00757   mutable int _cached_size_;
00758   
00759   ::std::string* debugmsg_;
00760   static const ::std::string _default_debugmsg_;
00761   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00762   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00763   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00764   
00765   ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00766   
00767   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00768   inline bool _has_bit(int index) const {
00769     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00770   }
00771   inline void _set_bit(int index) {
00772     _has_bits_[index / 32] |= (1u << (index % 32));
00773   }
00774   inline void _clear_bit(int index) {
00775     _has_bits_[index / 32] &= ~(1u << (index % 32));
00776   }
00777   
00778   void InitAsDefaultInstance();
00779   static DebugMessage* default_instance_;
00780 };
00781 // -------------------------------------------------------------------
00782 
00783 class ErrorMessage : public ::google::protobuf::Message {
00784  public:
00785   ErrorMessage();
00786   virtual ~ErrorMessage();
00787   
00788   ErrorMessage(const ErrorMessage& from);
00789   
00790   inline ErrorMessage& operator=(const ErrorMessage& from) {
00791     CopyFrom(from);
00792     return *this;
00793   }
00794   
00795   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00796     return _unknown_fields_;
00797   }
00798   
00799   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00800     return &_unknown_fields_;
00801   }
00802   
00803   static const ::google::protobuf::Descriptor* descriptor();
00804   static const ErrorMessage& default_instance();
00805   
00806   void Swap(ErrorMessage* other);
00807   
00808   // implements Message ----------------------------------------------
00809   
00810   ErrorMessage* New() const;
00811   void CopyFrom(const ::google::protobuf::Message& from);
00812   void MergeFrom(const ::google::protobuf::Message& from);
00813   void CopyFrom(const ErrorMessage& from);
00814   void MergeFrom(const ErrorMessage& from);
00815   void Clear();
00816   bool IsInitialized() const;
00817   
00818   int ByteSize() const;
00819   bool MergePartialFromCodedStream(
00820       ::google::protobuf::io::CodedInputStream* input);
00821   void SerializeWithCachedSizes(
00822       ::google::protobuf::io::CodedOutputStream* output) const;
00823   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00824   int GetCachedSize() const { return _cached_size_; }
00825   private:
00826   void SharedCtor();
00827   void SharedDtor();
00828   void SetCachedSize(int size) const;
00829   public:
00830   
00831   ::google::protobuf::Metadata GetMetadata() const;
00832   
00833   // nested types ----------------------------------------------------
00834   
00835   // accessors -------------------------------------------------------
00836   
00837   // required uint32 errorId = 1;
00838   inline bool has_errorid() const;
00839   inline void clear_errorid();
00840   static const int kErrorIdFieldNumber = 1;
00841   inline ::google::protobuf::uint32 errorid() const;
00842   inline void set_errorid(::google::protobuf::uint32 value);
00843   
00844   // required string errorMsg = 2;
00845   inline bool has_errormsg() const;
00846   inline void clear_errormsg();
00847   static const int kErrorMsgFieldNumber = 2;
00848   inline const ::std::string& errormsg() const;
00849   inline void set_errormsg(const ::std::string& value);
00850   inline void set_errormsg(const char* value);
00851   inline void set_errormsg(const char* value, size_t size);
00852   inline ::std::string* mutable_errormsg();
00853   
00854   // @@protoc_insertion_point(class_scope:marcusiphone.ErrorMessage)
00855  private:
00856   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00857   mutable int _cached_size_;
00858   
00859   ::google::protobuf::uint32 errorid_;
00860   ::std::string* errormsg_;
00861   static const ::std::string _default_errormsg_;
00862   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00863   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00864   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00865   
00866   ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00867   
00868   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00869   inline bool _has_bit(int index) const {
00870     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00871   }
00872   inline void _set_bit(int index) {
00873     _has_bits_[index / 32] |= (1u << (index % 32));
00874   }
00875   inline void _clear_bit(int index) {
00876     _has_bits_[index / 32] &= ~(1u << (index % 32));
00877   }
00878   
00879   void InitAsDefaultInstance();
00880   static ErrorMessage* default_instance_;
00881 };
00882 // -------------------------------------------------------------------
00883 
00884 class FloorSetup : public ::google::protobuf::Message {
00885  public:
00886   FloorSetup();
00887   virtual ~FloorSetup();
00888   
00889   FloorSetup(const FloorSetup& from);
00890   
00891   inline FloorSetup& operator=(const FloorSetup& from) {
00892     CopyFrom(from);
00893     return *this;
00894   }
00895   
00896   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00897     return _unknown_fields_;
00898   }
00899   
00900   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00901     return &_unknown_fields_;
00902   }
00903   
00904   static const ::google::protobuf::Descriptor* descriptor();
00905   static const FloorSetup& default_instance();
00906   
00907   void Swap(FloorSetup* other);
00908   
00909   // implements Message ----------------------------------------------
00910   
00911   FloorSetup* New() const;
00912   void CopyFrom(const ::google::protobuf::Message& from);
00913   void MergeFrom(const ::google::protobuf::Message& from);
00914   void CopyFrom(const FloorSetup& from);
00915   void MergeFrom(const FloorSetup& from);
00916   void Clear();
00917   bool IsInitialized() const;
00918   
00919   int ByteSize() const;
00920   bool MergePartialFromCodedStream(
00921       ::google::protobuf::io::CodedInputStream* input);
00922   void SerializeWithCachedSizes(
00923       ::google::protobuf::io::CodedOutputStream* output) const;
00924   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00925   int GetCachedSize() const { return _cached_size_; }
00926   private:
00927   void SharedCtor();
00928   void SharedDtor();
00929   void SetCachedSize(int size) const;
00930   public:
00931   
00932   ::google::protobuf::Metadata GetMetadata() const;
00933   
00934   // nested types ----------------------------------------------------
00935   
00936   // accessors -------------------------------------------------------
00937   
00938   // optional uint32 floorWidth = 1;
00939   inline bool has_floorwidth() const;
00940   inline void clear_floorwidth();
00941   static const int kFloorWidthFieldNumber = 1;
00942   inline ::google::protobuf::uint32 floorwidth() const;
00943   inline void set_floorwidth(::google::protobuf::uint32 value);
00944   
00945   // optional uint32 floorHeight = 2;
00946   inline bool has_floorheight() const;
00947   inline void clear_floorheight();
00948   static const int kFloorHeightFieldNumber = 2;
00949   inline ::google::protobuf::uint32 floorheight() const;
00950   inline void set_floorheight(::google::protobuf::uint32 value);
00951   
00952   // optional uint32 dmsCount = 3;
00953   inline bool has_dmscount() const;
00954   inline void clear_dmscount();
00955   static const int kDmsCountFieldNumber = 3;
00956   inline ::google::protobuf::uint32 dmscount() const;
00957   inline void set_dmscount(::google::protobuf::uint32 value);
00958   
00959   // optional uint32 ledCount = 4;
00960   inline bool has_ledcount() const;
00961   inline void clear_ledcount();
00962   static const int kLedCountFieldNumber = 4;
00963   inline ::google::protobuf::uint32 ledcount() const;
00964   inline void set_ledcount(::google::protobuf::uint32 value);
00965   
00966   // optional uint32 pirCount = 5;
00967   inline bool has_pircount() const;
00968   inline void clear_pircount();
00969   static const int kPirCountFieldNumber = 5;
00970   inline ::google::protobuf::uint32 pircount() const;
00971   inline void set_pircount(::google::protobuf::uint32 value);
00972   
00973   // optional uint32 speakerCount = 6;
00974   inline bool has_speakercount() const;
00975   inline void clear_speakercount();
00976   static const int kSpeakerCountFieldNumber = 6;
00977   inline ::google::protobuf::uint32 speakercount() const;
00978   inline void set_speakercount(::google::protobuf::uint32 value);
00979   
00980   // @@protoc_insertion_point(class_scope:marcusiphone.FloorSetup)
00981  private:
00982   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00983   mutable int _cached_size_;
00984   
00985   ::google::protobuf::uint32 floorwidth_;
00986   ::google::protobuf::uint32 floorheight_;
00987   ::google::protobuf::uint32 dmscount_;
00988   ::google::protobuf::uint32 ledcount_;
00989   ::google::protobuf::uint32 pircount_;
00990   ::google::protobuf::uint32 speakercount_;
00991   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
00992   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
00993   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
00994   
00995   ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
00996   
00997   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00998   inline bool _has_bit(int index) const {
00999     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
01000   }
01001   inline void _set_bit(int index) {
01002     _has_bits_[index / 32] |= (1u << (index % 32));
01003   }
01004   inline void _clear_bit(int index) {
01005     _has_bits_[index / 32] &= ~(1u << (index % 32));
01006   }
01007   
01008   void InitAsDefaultInstance();
01009   static FloorSetup* default_instance_;
01010 };
01011 // -------------------------------------------------------------------
01012 
01013 class FloorCommand : public ::google::protobuf::Message {
01014  public:
01015   FloorCommand();
01016   virtual ~FloorCommand();
01017   
01018   FloorCommand(const FloorCommand& from);
01019   
01020   inline FloorCommand& operator=(const FloorCommand& from) {
01021     CopyFrom(from);
01022     return *this;
01023   }
01024   
01025   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01026     return _unknown_fields_;
01027   }
01028   
01029   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01030     return &_unknown_fields_;
01031   }
01032   
01033   static const ::google::protobuf::Descriptor* descriptor();
01034   static const FloorCommand& default_instance();
01035   
01036   void Swap(FloorCommand* other);
01037   
01038   // implements Message ----------------------------------------------
01039   
01040   FloorCommand* New() const;
01041   void CopyFrom(const ::google::protobuf::Message& from);
01042   void MergeFrom(const ::google::protobuf::Message& from);
01043   void CopyFrom(const FloorCommand& from);
01044   void MergeFrom(const FloorCommand& from);
01045   void Clear();
01046   bool IsInitialized() const;
01047   
01048   int ByteSize() const;
01049   bool MergePartialFromCodedStream(
01050       ::google::protobuf::io::CodedInputStream* input);
01051   void SerializeWithCachedSizes(
01052       ::google::protobuf::io::CodedOutputStream* output) const;
01053   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01054   int GetCachedSize() const { return _cached_size_; }
01055   private:
01056   void SharedCtor();
01057   void SharedDtor();
01058   void SetCachedSize(int size) const;
01059   public:
01060   
01061   ::google::protobuf::Metadata GetMetadata() const;
01062   
01063   // nested types ----------------------------------------------------
01064   
01065   typedef FloorCommand_CommandType CommandType;
01066   static const CommandType REBOOT = FloorCommand_CommandType_REBOOT;
01067   static const CommandType LED = FloorCommand_CommandType_LED;
01068   static inline bool CommandType_IsValid(int value) {
01069     return FloorCommand_CommandType_IsValid(value);
01070   }
01071   static const CommandType CommandType_MIN =
01072     FloorCommand_CommandType_CommandType_MIN;
01073   static const CommandType CommandType_MAX =
01074     FloorCommand_CommandType_CommandType_MAX;
01075   static const int CommandType_ARRAYSIZE =
01076     FloorCommand_CommandType_CommandType_ARRAYSIZE;
01077   static inline const ::google::protobuf::EnumDescriptor*
01078   CommandType_descriptor() {
01079     return FloorCommand_CommandType_descriptor();
01080   }
01081   static inline const ::std::string& CommandType_Name(CommandType value) {
01082     return FloorCommand_CommandType_Name(value);
01083   }
01084   static inline bool CommandType_Parse(const ::std::string& name,
01085       CommandType* value) {
01086     return FloorCommand_CommandType_Parse(name, value);
01087   }
01088   
01089   // accessors -------------------------------------------------------
01090   
01091   // required .marcusiphone.FloorCommand.CommandType commandType = 1;
01092   inline bool has_commandtype() const;
01093   inline void clear_commandtype();
01094   static const int kCommandTypeFieldNumber = 1;
01095   inline ::marcusiphone::FloorCommand_CommandType commandtype() const;
01096   inline void set_commandtype(::marcusiphone::FloorCommand_CommandType value);
01097   
01098   // repeated .marcusiphone.LedColor ledColors = 2;
01099   inline int ledcolors_size() const;
01100   inline void clear_ledcolors();
01101   static const int kLedColorsFieldNumber = 2;
01102   inline const ::marcusiphone::LedColor& ledcolors(int index) const;
01103   inline ::marcusiphone::LedColor* mutable_ledcolors(int index);
01104   inline ::marcusiphone::LedColor* add_ledcolors();
01105   inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >&
01106       ledcolors() const;
01107   inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >*
01108       mutable_ledcolors();
01109   
01110   // @@protoc_insertion_point(class_scope:marcusiphone.FloorCommand)
01111  private:
01112   ::google::protobuf::UnknownFieldSet _unknown_fields_;
01113   mutable int _cached_size_;
01114   
01115   int commandtype_;
01116   ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor > ledcolors_;
01117   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
01118   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
01119   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
01120   
01121   ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
01122   
01123   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
01124   inline bool _has_bit(int index) const {
01125     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
01126   }
01127   inline void _set_bit(int index) {
01128     _has_bits_[index / 32] |= (1u << (index % 32));
01129   }
01130   inline void _clear_bit(int index) {
01131     _has_bits_[index / 32] &= ~(1u << (index % 32));
01132   }
01133   
01134   void InitAsDefaultInstance();
01135   static FloorCommand* default_instance_;
01136 };
01137 // -------------------------------------------------------------------
01138 
01139 class LedColor : public ::google::protobuf::Message {
01140  public:
01141   LedColor();
01142   virtual ~LedColor();
01143   
01144   LedColor(const LedColor& from);
01145   
01146   inline LedColor& operator=(const LedColor& from) {
01147     CopyFrom(from);
01148     return *this;
01149   }
01150   
01151   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01152     return _unknown_fields_;
01153   }
01154   
01155   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01156     return &_unknown_fields_;
01157   }
01158   
01159   static const ::google::protobuf::Descriptor* descriptor();
01160   static const LedColor& default_instance();
01161   
01162   void Swap(LedColor* other);
01163   
01164   // implements Message ----------------------------------------------
01165   
01166   LedColor* New() const;
01167   void CopyFrom(const ::google::protobuf::Message& from);
01168   void MergeFrom(const ::google::protobuf::Message& from);
01169   void CopyFrom(const LedColor& from);
01170   void MergeFrom(const LedColor& from);
01171   void Clear();
01172   bool IsInitialized() const;
01173   
01174   int ByteSize() const;
01175   bool MergePartialFromCodedStream(
01176       ::google::protobuf::io::CodedInputStream* input);
01177   void SerializeWithCachedSizes(
01178       ::google::protobuf::io::CodedOutputStream* output) const;
01179   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01180   int GetCachedSize() const { return _cached_size_; }
01181   private:
01182   void SharedCtor();
01183   void SharedDtor();
01184   void SetCachedSize(int size) const;
01185   public:
01186   
01187   ::google::protobuf::Metadata GetMetadata() const;
01188   
01189   // nested types ----------------------------------------------------
01190   
01191   // accessors -------------------------------------------------------
01192   
01193   // required uint32 id = 1;
01194   inline bool has_id() const;
01195   inline void clear_id();
01196   static const int kIdFieldNumber = 1;
01197   inline ::google::protobuf::uint32 id() const;
01198   inline void set_id(::google::protobuf::uint32 value);
01199   
01200   // required uint32 red = 2;
01201   inline bool has_red() const;
01202   inline void clear_red();
01203   static const int kRedFieldNumber = 2;
01204   inline ::google::protobuf::uint32 red() const;
01205   inline void set_red(::google::protobuf::uint32 value);
01206   
01207   // required uint32 green = 3;
01208   inline bool has_green() const;
01209   inline void clear_green();
01210   static const int kGreenFieldNumber = 3;
01211   inline ::google::protobuf::uint32 green() const;
01212   inline void set_green(::google::protobuf::uint32 value);
01213   
01214   // required uint32 blue = 4;
01215   inline bool has_blue() const;
01216   inline void clear_blue();
01217   static const int kBlueFieldNumber = 4;
01218   inline ::google::protobuf::uint32 blue() const;
01219   inline void set_blue(::google::protobuf::uint32 value);
01220   
01221   // @@protoc_insertion_point(class_scope:marcusiphone.LedColor)
01222  private:
01223   ::google::protobuf::UnknownFieldSet _unknown_fields_;
01224   mutable int _cached_size_;
01225   
01226   ::google::protobuf::uint32 id_;
01227   ::google::protobuf::uint32 red_;
01228   ::google::protobuf::uint32 green_;
01229   ::google::protobuf::uint32 blue_;
01230   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
01231   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
01232   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
01233   
01234   ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
01235   
01236   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
01237   inline bool _has_bit(int index) const {
01238     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
01239   }
01240   inline void _set_bit(int index) {
01241     _has_bits_[index / 32] |= (1u << (index % 32));
01242   }
01243   inline void _clear_bit(int index) {
01244     _has_bits_[index / 32] &= ~(1u << (index % 32));
01245   }
01246   
01247   void InitAsDefaultInstance();
01248   static LedColor* default_instance_;
01249 };
01250 // -------------------------------------------------------------------
01251 
01252 class LedTemperature : public ::google::protobuf::Message {
01253  public:
01254   LedTemperature();
01255   virtual ~LedTemperature();
01256   
01257   LedTemperature(const LedTemperature& from);
01258   
01259   inline LedTemperature& operator=(const LedTemperature& from) {
01260     CopyFrom(from);
01261     return *this;
01262   }
01263   
01264   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
01265     return _unknown_fields_;
01266   }
01267   
01268   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
01269     return &_unknown_fields_;
01270   }
01271   
01272   static const ::google::protobuf::Descriptor* descriptor();
01273   static const LedTemperature& default_instance();
01274   
01275   void Swap(LedTemperature* other);
01276   
01277   // implements Message ----------------------------------------------
01278   
01279   LedTemperature* New() const;
01280   void CopyFrom(const ::google::protobuf::Message& from);
01281   void MergeFrom(const ::google::protobuf::Message& from);
01282   void CopyFrom(const LedTemperature& from);
01283   void MergeFrom(const LedTemperature& from);
01284   void Clear();
01285   bool IsInitialized() const;
01286   
01287   int ByteSize() const;
01288   bool MergePartialFromCodedStream(
01289       ::google::protobuf::io::CodedInputStream* input);
01290   void SerializeWithCachedSizes(
01291       ::google::protobuf::io::CodedOutputStream* output) const;
01292   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
01293   int GetCachedSize() const { return _cached_size_; }
01294   private:
01295   void SharedCtor();
01296   void SharedDtor();
01297   void SetCachedSize(int size) const;
01298   public:
01299   
01300   ::google::protobuf::Metadata GetMetadata() const;
01301   
01302   // nested types ----------------------------------------------------
01303   
01304   // accessors -------------------------------------------------------
01305   
01306   // required uint32 id = 1;
01307   inline bool has_id() const;
01308   inline void clear_id();
01309   static const int kIdFieldNumber = 1;
01310   inline ::google::protobuf::uint32 id() const;
01311   inline void set_id(::google::protobuf::uint32 value);
01312   
01313   // required uint32 temperature = 2;
01314   inline bool has_temperature() const;
01315   inline void clear_temperature();
01316   static const int kTemperatureFieldNumber = 2;
01317   inline ::google::protobuf::uint32 temperature() const;
01318   inline void set_temperature(::google::protobuf::uint32 value);
01319   
01320   // @@protoc_insertion_point(class_scope:marcusiphone.LedTemperature)
01321  private:
01322   ::google::protobuf::UnknownFieldSet _unknown_fields_;
01323   mutable int _cached_size_;
01324   
01325   ::google::protobuf::uint32 id_;
01326   ::google::protobuf::uint32 temperature_;
01327   friend void  protobuf_AddDesc_MarcusProtocol_2eproto();
01328   friend void protobuf_AssignDesc_MarcusProtocol_2eproto();
01329   friend void protobuf_ShutdownFile_MarcusProtocol_2eproto();
01330   
01331   ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
01332   
01333   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
01334   inline bool _has_bit(int index) const {
01335     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
01336   }
01337   inline void _set_bit(int index) {
01338     _has_bits_[index / 32] |= (1u << (index % 32));
01339   }
01340   inline void _clear_bit(int index) {
01341     _has_bits_[index / 32] &= ~(1u << (index % 32));
01342   }
01343   
01344   void InitAsDefaultInstance();
01345   static LedTemperature* default_instance_;
01346 };
01347 // ===================================================================
01348 
01349 
01350 // ===================================================================
01351 
01352 // Envelope
01353 
01354 // required .marcusiphone.Envelope.MessageType messageType = 1;
01355 inline bool Envelope::has_messagetype() const {
01356   return _has_bit(0);
01357 }
01358 inline void Envelope::clear_messagetype() {
01359   messagetype_ = 1;
01360   _clear_bit(0);
01361 }
01362 inline ::marcusiphone::Envelope_MessageType Envelope::messagetype() const {
01363   return static_cast< ::marcusiphone::Envelope_MessageType >(messagetype_);
01364 }
01365 inline void Envelope::set_messagetype(::marcusiphone::Envelope_MessageType value) {
01366   GOOGLE_DCHECK(::marcusiphone::Envelope_MessageType_IsValid(value));
01367   _set_bit(0);
01368   messagetype_ = value;
01369 }
01370 
01371 // optional string source = 2;
01372 inline bool Envelope::has_source() const {
01373   return _has_bit(1);
01374 }
01375 inline void Envelope::clear_source() {
01376   if (source_ != &_default_source_) {
01377     source_->clear();
01378   }
01379   _clear_bit(1);
01380 }
01381 inline const ::std::string& Envelope::source() const {
01382   return *source_;
01383 }
01384 inline void Envelope::set_source(const ::std::string& value) {
01385   _set_bit(1);
01386   if (source_ == &_default_source_) {
01387     source_ = new ::std::string;
01388   }
01389   source_->assign(value);
01390 }
01391 inline void Envelope::set_source(const char* value) {
01392   _set_bit(1);
01393   if (source_ == &_default_source_) {
01394     source_ = new ::std::string;
01395   }
01396   source_->assign(value);
01397 }
01398 inline void Envelope::set_source(const char* value, size_t size) {
01399   _set_bit(1);
01400   if (source_ == &_default_source_) {
01401     source_ = new ::std::string;
01402   }
01403   source_->assign(reinterpret_cast<const char*>(value), size);
01404 }
01405 inline ::std::string* Envelope::mutable_source() {
01406   _set_bit(1);
01407   if (source_ == &_default_source_) {
01408     source_ = new ::std::string;
01409   }
01410   return source_;
01411 }
01412 
01413 // optional string destination = 3;
01414 inline bool Envelope::has_destination() const {
01415   return _has_bit(2);
01416 }
01417 inline void Envelope::clear_destination() {
01418   if (destination_ != &_default_destination_) {
01419     destination_->clear();
01420   }
01421   _clear_bit(2);
01422 }
01423 inline const ::std::string& Envelope::destination() const {
01424   return *destination_;
01425 }
01426 inline void Envelope::set_destination(const ::std::string& value) {
01427   _set_bit(2);
01428   if (destination_ == &_default_destination_) {
01429     destination_ = new ::std::string;
01430   }
01431   destination_->assign(value);
01432 }
01433 inline void Envelope::set_destination(const char* value) {
01434   _set_bit(2);
01435   if (destination_ == &_default_destination_) {
01436     destination_ = new ::std::string;
01437   }
01438   destination_->assign(value);
01439 }
01440 inline void Envelope::set_destination(const char* value, size_t size) {
01441   _set_bit(2);
01442   if (destination_ == &_default_destination_) {
01443     destination_ = new ::std::string;
01444   }
01445   destination_->assign(reinterpret_cast<const char*>(value), size);
01446 }
01447 inline ::std::string* Envelope::mutable_destination() {
01448   _set_bit(2);
01449   if (destination_ == &_default_destination_) {
01450     destination_ = new ::std::string;
01451   }
01452   return destination_;
01453 }
01454 
01455 // optional .marcusiphone.LoginMessage loginMessage = 4;
01456 inline bool Envelope::has_loginmessage() const {
01457   return _has_bit(3);
01458 }
01459 inline void Envelope::clear_loginmessage() {
01460   if (loginmessage_ != NULL) loginmessage_->::marcusiphone::LoginMessage::Clear();
01461   _clear_bit(3);
01462 }
01463 inline const ::marcusiphone::LoginMessage& Envelope::loginmessage() const {
01464   return loginmessage_ != NULL ? *loginmessage_ : *default_instance_->loginmessage_;
01465 }
01466 inline ::marcusiphone::LoginMessage* Envelope::mutable_loginmessage() {
01467   _set_bit(3);
01468   if (loginmessage_ == NULL) loginmessage_ = new ::marcusiphone::LoginMessage;
01469   return loginmessage_;
01470 }
01471 
01472 // optional .marcusiphone.StatusMessage statusMessage = 5;
01473 inline bool Envelope::has_statusmessage() const {
01474   return _has_bit(4);
01475 }
01476 inline void Envelope::clear_statusmessage() {
01477   if (statusmessage_ != NULL) statusmessage_->::marcusiphone::StatusMessage::Clear();
01478   _clear_bit(4);
01479 }
01480 inline const ::marcusiphone::StatusMessage& Envelope::statusmessage() const {
01481   return statusmessage_ != NULL ? *statusmessage_ : *default_instance_->statusmessage_;
01482 }
01483 inline ::marcusiphone::StatusMessage* Envelope::mutable_statusmessage() {
01484   _set_bit(4);
01485   if (statusmessage_ == NULL) statusmessage_ = new ::marcusiphone::StatusMessage;
01486   return statusmessage_;
01487 }
01488 
01489 // optional .marcusiphone.ErrorMessage errorMessage = 6;
01490 inline bool Envelope::has_errormessage() const {
01491   return _has_bit(5);
01492 }
01493 inline void Envelope::clear_errormessage() {
01494   if (errormessage_ != NULL) errormessage_->::marcusiphone::ErrorMessage::Clear();
01495   _clear_bit(5);
01496 }
01497 inline const ::marcusiphone::ErrorMessage& Envelope::errormessage() const {
01498   return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_;
01499 }
01500 inline ::marcusiphone::ErrorMessage* Envelope::mutable_errormessage() {
01501   _set_bit(5);
01502   if (errormessage_ == NULL) errormessage_ = new ::marcusiphone::ErrorMessage;
01503   return errormessage_;
01504 }
01505 
01506 // optional .marcusiphone.DebugMessage debugMessage = 7;
01507 inline bool Envelope::has_debugmessage() const {
01508   return _has_bit(6);
01509 }
01510 inline void Envelope::clear_debugmessage() {
01511   if (debugmessage_ != NULL) debugmessage_->::marcusiphone::DebugMessage::Clear();
01512   _clear_bit(6);
01513 }
01514 inline const ::marcusiphone::DebugMessage& Envelope::debugmessage() const {
01515   return debugmessage_ != NULL ? *debugmessage_ : *default_instance_->debugmessage_;
01516 }
01517 inline ::marcusiphone::DebugMessage* Envelope::mutable_debugmessage() {
01518   _set_bit(6);
01519   if (debugmessage_ == NULL) debugmessage_ = new ::marcusiphone::DebugMessage;
01520   return debugmessage_;
01521 }
01522 
01523 // optional .marcusiphone.FloorCommand floorCommand = 8;
01524 inline bool Envelope::has_floorcommand() const {
01525   return _has_bit(7);
01526 }
01527 inline void Envelope::clear_floorcommand() {
01528   if (floorcommand_ != NULL) floorcommand_->::marcusiphone::FloorCommand::Clear();
01529   _clear_bit(7);
01530 }
01531 inline const ::marcusiphone::FloorCommand& Envelope::floorcommand() const {
01532   return floorcommand_ != NULL ? *floorcommand_ : *default_instance_->floorcommand_;
01533 }
01534 inline ::marcusiphone::FloorCommand* Envelope::mutable_floorcommand() {
01535   _set_bit(7);
01536   if (floorcommand_ == NULL) floorcommand_ = new ::marcusiphone::FloorCommand;
01537   return floorcommand_;
01538 }
01539 
01540 // optional .marcusiphone.RequestMessage requestMessage = 9;
01541 inline bool Envelope::has_requestmessage() const {
01542   return _has_bit(8);
01543 }
01544 inline void Envelope::clear_requestmessage() {
01545   if (requestmessage_ != NULL) requestmessage_->::marcusiphone::RequestMessage::Clear();
01546   _clear_bit(8);
01547 }
01548 inline const ::marcusiphone::RequestMessage& Envelope::requestmessage() const {
01549   return requestmessage_ != NULL ? *requestmessage_ : *default_instance_->requestmessage_;
01550 }
01551 inline ::marcusiphone::RequestMessage* Envelope::mutable_requestmessage() {
01552   _set_bit(8);
01553   if (requestmessage_ == NULL) requestmessage_ = new ::marcusiphone::RequestMessage;
01554   return requestmessage_;
01555 }
01556 
01557 // -------------------------------------------------------------------
01558 
01559 // LoginMessage
01560 
01561 // optional bool login = 1;
01562 inline bool LoginMessage::has_login() const {
01563   return _has_bit(0);
01564 }
01565 inline void LoginMessage::clear_login() {
01566   login_ = false;
01567   _clear_bit(0);
01568 }
01569 inline bool LoginMessage::login() const {
01570   return login_;
01571 }
01572 inline void LoginMessage::set_login(bool value) {
01573   _set_bit(0);
01574   login_ = value;
01575 }
01576 
01577 // optional string user = 2;
01578 inline bool LoginMessage::has_user() const {
01579   return _has_bit(1);
01580 }
01581 inline void LoginMessage::clear_user() {
01582   if (user_ != &_default_user_) {
01583     user_->clear();
01584   }
01585   _clear_bit(1);
01586 }
01587 inline const ::std::string& LoginMessage::user() const {
01588   return *user_;
01589 }
01590 inline void LoginMessage::set_user(const ::std::string& value) {
01591   _set_bit(1);
01592   if (user_ == &_default_user_) {
01593     user_ = new ::std::string;
01594   }
01595   user_->assign(value);
01596 }
01597 inline void LoginMessage::set_user(const char* value) {
01598   _set_bit(1);
01599   if (user_ == &_default_user_) {
01600     user_ = new ::std::string;
01601   }
01602   user_->assign(value);
01603 }
01604 inline void LoginMessage::set_user(const char* value, size_t size) {
01605   _set_bit(1);
01606   if (user_ == &_default_user_) {
01607     user_ = new ::std::string;
01608   }
01609   user_->assign(reinterpret_cast<const char*>(value), size);
01610 }
01611 inline ::std::string* LoginMessage::mutable_user() {
01612   _set_bit(1);
01613   if (user_ == &_default_user_) {
01614     user_ = new ::std::string;
01615   }
01616   return user_;
01617 }
01618 
01619 // optional string pwd = 3;
01620 inline bool LoginMessage::has_pwd() const {
01621   return _has_bit(2);
01622 }
01623 inline void LoginMessage::clear_pwd() {
01624   if (pwd_ != &_default_pwd_) {
01625     pwd_->clear();
01626   }
01627   _clear_bit(2);
01628 }
01629 inline const ::std::string& LoginMessage::pwd() const {
01630   return *pwd_;
01631 }
01632 inline void LoginMessage::set_pwd(const ::std::string& value) {
01633   _set_bit(2);
01634   if (pwd_ == &_default_pwd_) {
01635     pwd_ = new ::std::string;
01636   }
01637   pwd_->assign(value);
01638 }
01639 inline void LoginMessage::set_pwd(const char* value) {
01640   _set_bit(2);
01641   if (pwd_ == &_default_pwd_) {
01642     pwd_ = new ::std::string;
01643   }
01644   pwd_->assign(value);
01645 }
01646 inline void LoginMessage::set_pwd(const char* value, size_t size) {
01647   _set_bit(2);
01648   if (pwd_ == &_default_pwd_) {
01649     pwd_ = new ::std::string;
01650   }
01651   pwd_->assign(reinterpret_cast<const char*>(value), size);
01652 }
01653 inline ::std::string* LoginMessage::mutable_pwd() {
01654   _set_bit(2);
01655   if (pwd_ == &_default_pwd_) {
01656     pwd_ = new ::std::string;
01657   }
01658   return pwd_;
01659 }
01660 
01661 // -------------------------------------------------------------------
01662 
01663 // StatusMessage
01664 
01665 // required .marcusiphone.StatusMessage.StatusType statusType = 1;
01666 inline bool StatusMessage::has_statustype() const {
01667   return _has_bit(0);
01668 }
01669 inline void StatusMessage::clear_statustype() {
01670   statustype_ = 1;
01671   _clear_bit(0);
01672 }
01673 inline ::marcusiphone::StatusMessage_StatusType StatusMessage::statustype() const {
01674   return static_cast< ::marcusiphone::StatusMessage_StatusType >(statustype_);
01675 }
01676 inline void StatusMessage::set_statustype(::marcusiphone::StatusMessage_StatusType value) {
01677   GOOGLE_DCHECK(::marcusiphone::StatusMessage_StatusType_IsValid(value));
01678   _set_bit(0);
01679   statustype_ = value;
01680 }
01681 
01682 // repeated .marcusiphone.LedColor ledColors = 2;
01683 inline int StatusMessage::ledcolors_size() const {
01684   return ledcolors_.size();
01685 }
01686 inline void StatusMessage::clear_ledcolors() {
01687   ledcolors_.Clear();
01688 }
01689 inline const ::marcusiphone::LedColor& StatusMessage::ledcolors(int index) const {
01690   return ledcolors_.Get(index);
01691 }
01692 inline ::marcusiphone::LedColor* StatusMessage::mutable_ledcolors(int index) {
01693   return ledcolors_.Mutable(index);
01694 }
01695 inline ::marcusiphone::LedColor* StatusMessage::add_ledcolors() {
01696   return ledcolors_.Add();
01697 }
01698 inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >&
01699 StatusMessage::ledcolors() const {
01700   return ledcolors_;
01701 }
01702 inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >*
01703 StatusMessage::mutable_ledcolors() {
01704   return &ledcolors_;
01705 }
01706 
01707 // repeated .marcusiphone.LedTemperature ledTemps = 3;
01708 inline int StatusMessage::ledtemps_size() const {
01709   return ledtemps_.size();
01710 }
01711 inline void StatusMessage::clear_ledtemps() {
01712   ledtemps_.Clear();
01713 }
01714 inline const ::marcusiphone::LedTemperature& StatusMessage::ledtemps(int index) const {
01715   return ledtemps_.Get(index);
01716 }
01717 inline ::marcusiphone::LedTemperature* StatusMessage::mutable_ledtemps(int index) {
01718   return ledtemps_.Mutable(index);
01719 }
01720 inline ::marcusiphone::LedTemperature* StatusMessage::add_ledtemps() {
01721   return ledtemps_.Add();
01722 }
01723 inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedTemperature >&
01724 StatusMessage::ledtemps() const {
01725   return ledtemps_;
01726 }
01727 inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedTemperature >*
01728 StatusMessage::mutable_ledtemps() {
01729   return &ledtemps_;
01730 }
01731 
01732 // optional .marcusiphone.FloorSetup floorSetup = 4;
01733 inline bool StatusMessage::has_floorsetup() const {
01734   return _has_bit(3);
01735 }
01736 inline void StatusMessage::clear_floorsetup() {
01737   if (floorsetup_ != NULL) floorsetup_->::marcusiphone::FloorSetup::Clear();
01738   _clear_bit(3);
01739 }
01740 inline const ::marcusiphone::FloorSetup& StatusMessage::floorsetup() const {
01741   return floorsetup_ != NULL ? *floorsetup_ : *default_instance_->floorsetup_;
01742 }
01743 inline ::marcusiphone::FloorSetup* StatusMessage::mutable_floorsetup() {
01744   _set_bit(3);
01745   if (floorsetup_ == NULL) floorsetup_ = new ::marcusiphone::FloorSetup;
01746   return floorsetup_;
01747 }
01748 
01749 // -------------------------------------------------------------------
01750 
01751 // RequestMessage
01752 
01753 // required .marcusiphone.RequestMessage.RequestType requestType = 1;
01754 inline bool RequestMessage::has_requesttype() const {
01755   return _has_bit(0);
01756 }
01757 inline void RequestMessage::clear_requesttype() {
01758   requesttype_ = 1;
01759   _clear_bit(0);
01760 }
01761 inline ::marcusiphone::RequestMessage_RequestType RequestMessage::requesttype() const {
01762   return static_cast< ::marcusiphone::RequestMessage_RequestType >(requesttype_);
01763 }
01764 inline void RequestMessage::set_requesttype(::marcusiphone::RequestMessage_RequestType value) {
01765   GOOGLE_DCHECK(::marcusiphone::RequestMessage_RequestType_IsValid(value));
01766   _set_bit(0);
01767   requesttype_ = value;
01768 }
01769 
01770 // -------------------------------------------------------------------
01771 
01772 // DebugMessage
01773 
01774 // required string debugMsg = 1;
01775 inline bool DebugMessage::has_debugmsg() const {
01776   return _has_bit(0);
01777 }
01778 inline void DebugMessage::clear_debugmsg() {
01779   if (debugmsg_ != &_default_debugmsg_) {
01780     debugmsg_->clear();
01781   }
01782   _clear_bit(0);
01783 }
01784 inline const ::std::string& DebugMessage::debugmsg() const {
01785   return *debugmsg_;
01786 }
01787 inline void DebugMessage::set_debugmsg(const ::std::string& value) {
01788   _set_bit(0);
01789   if (debugmsg_ == &_default_debugmsg_) {
01790     debugmsg_ = new ::std::string;
01791   }
01792   debugmsg_->assign(value);
01793 }
01794 inline void DebugMessage::set_debugmsg(const char* value) {
01795   _set_bit(0);
01796   if (debugmsg_ == &_default_debugmsg_) {
01797     debugmsg_ = new ::std::string;
01798   }
01799   debugmsg_->assign(value);
01800 }
01801 inline void DebugMessage::set_debugmsg(const char* value, size_t size) {
01802   _set_bit(0);
01803   if (debugmsg_ == &_default_debugmsg_) {
01804     debugmsg_ = new ::std::string;
01805   }
01806   debugmsg_->assign(reinterpret_cast<const char*>(value), size);
01807 }
01808 inline ::std::string* DebugMessage::mutable_debugmsg() {
01809   _set_bit(0);
01810   if (debugmsg_ == &_default_debugmsg_) {
01811     debugmsg_ = new ::std::string;
01812   }
01813   return debugmsg_;
01814 }
01815 
01816 // -------------------------------------------------------------------
01817 
01818 // ErrorMessage
01819 
01820 // required uint32 errorId = 1;
01821 inline bool ErrorMessage::has_errorid() const {
01822   return _has_bit(0);
01823 }
01824 inline void ErrorMessage::clear_errorid() {
01825   errorid_ = 0u;
01826   _clear_bit(0);
01827 }
01828 inline ::google::protobuf::uint32 ErrorMessage::errorid() const {
01829   return errorid_;
01830 }
01831 inline void ErrorMessage::set_errorid(::google::protobuf::uint32 value) {
01832   _set_bit(0);
01833   errorid_ = value;
01834 }
01835 
01836 // required string errorMsg = 2;
01837 inline bool ErrorMessage::has_errormsg() const {
01838   return _has_bit(1);
01839 }
01840 inline void ErrorMessage::clear_errormsg() {
01841   if (errormsg_ != &_default_errormsg_) {
01842     errormsg_->clear();
01843   }
01844   _clear_bit(1);
01845 }
01846 inline const ::std::string& ErrorMessage::errormsg() const {
01847   return *errormsg_;
01848 }
01849 inline void ErrorMessage::set_errormsg(const ::std::string& value) {
01850   _set_bit(1);
01851   if (errormsg_ == &_default_errormsg_) {
01852     errormsg_ = new ::std::string;
01853   }
01854   errormsg_->assign(value);
01855 }
01856 inline void ErrorMessage::set_errormsg(const char* value) {
01857   _set_bit(1);
01858   if (errormsg_ == &_default_errormsg_) {
01859     errormsg_ = new ::std::string;
01860   }
01861   errormsg_->assign(value);
01862 }
01863 inline void ErrorMessage::set_errormsg(const char* value, size_t size) {
01864   _set_bit(1);
01865   if (errormsg_ == &_default_errormsg_) {
01866     errormsg_ = new ::std::string;
01867   }
01868   errormsg_->assign(reinterpret_cast<const char*>(value), size);
01869 }
01870 inline ::std::string* ErrorMessage::mutable_errormsg() {
01871   _set_bit(1);
01872   if (errormsg_ == &_default_errormsg_) {
01873     errormsg_ = new ::std::string;
01874   }
01875   return errormsg_;
01876 }
01877 
01878 // -------------------------------------------------------------------
01879 
01880 // FloorSetup
01881 
01882 // optional uint32 floorWidth = 1;
01883 inline bool FloorSetup::has_floorwidth() const {
01884   return _has_bit(0);
01885 }
01886 inline void FloorSetup::clear_floorwidth() {
01887   floorwidth_ = 0u;
01888   _clear_bit(0);
01889 }
01890 inline ::google::protobuf::uint32 FloorSetup::floorwidth() const {
01891   return floorwidth_;
01892 }
01893 inline void FloorSetup::set_floorwidth(::google::protobuf::uint32 value) {
01894   _set_bit(0);
01895   floorwidth_ = value;
01896 }
01897 
01898 // optional uint32 floorHeight = 2;
01899 inline bool FloorSetup::has_floorheight() const {
01900   return _has_bit(1);
01901 }
01902 inline void FloorSetup::clear_floorheight() {
01903   floorheight_ = 0u;
01904   _clear_bit(1);
01905 }
01906 inline ::google::protobuf::uint32 FloorSetup::floorheight() const {
01907   return floorheight_;
01908 }
01909 inline void FloorSetup::set_floorheight(::google::protobuf::uint32 value) {
01910   _set_bit(1);
01911   floorheight_ = value;
01912 }
01913 
01914 // optional uint32 dmsCount = 3;
01915 inline bool FloorSetup::has_dmscount() const {
01916   return _has_bit(2);
01917 }
01918 inline void FloorSetup::clear_dmscount() {
01919   dmscount_ = 0u;
01920   _clear_bit(2);
01921 }
01922 inline ::google::protobuf::uint32 FloorSetup::dmscount() const {
01923   return dmscount_;
01924 }
01925 inline void FloorSetup::set_dmscount(::google::protobuf::uint32 value) {
01926   _set_bit(2);
01927   dmscount_ = value;
01928 }
01929 
01930 // optional uint32 ledCount = 4;
01931 inline bool FloorSetup::has_ledcount() const {
01932   return _has_bit(3);
01933 }
01934 inline void FloorSetup::clear_ledcount() {
01935   ledcount_ = 0u;
01936   _clear_bit(3);
01937 }
01938 inline ::google::protobuf::uint32 FloorSetup::ledcount() const {
01939   return ledcount_;
01940 }
01941 inline void FloorSetup::set_ledcount(::google::protobuf::uint32 value) {
01942   _set_bit(3);
01943   ledcount_ = value;
01944 }
01945 
01946 // optional uint32 pirCount = 5;
01947 inline bool FloorSetup::has_pircount() const {
01948   return _has_bit(4);
01949 }
01950 inline void FloorSetup::clear_pircount() {
01951   pircount_ = 0u;
01952   _clear_bit(4);
01953 }
01954 inline ::google::protobuf::uint32 FloorSetup::pircount() const {
01955   return pircount_;
01956 }
01957 inline void FloorSetup::set_pircount(::google::protobuf::uint32 value) {
01958   _set_bit(4);
01959   pircount_ = value;
01960 }
01961 
01962 // optional uint32 speakerCount = 6;
01963 inline bool FloorSetup::has_speakercount() const {
01964   return _has_bit(5);
01965 }
01966 inline void FloorSetup::clear_speakercount() {
01967   speakercount_ = 0u;
01968   _clear_bit(5);
01969 }
01970 inline ::google::protobuf::uint32 FloorSetup::speakercount() const {
01971   return speakercount_;
01972 }
01973 inline void FloorSetup::set_speakercount(::google::protobuf::uint32 value) {
01974   _set_bit(5);
01975   speakercount_ = value;
01976 }
01977 
01978 // -------------------------------------------------------------------
01979 
01980 // FloorCommand
01981 
01982 // required .marcusiphone.FloorCommand.CommandType commandType = 1;
01983 inline bool FloorCommand::has_commandtype() const {
01984   return _has_bit(0);
01985 }
01986 inline void FloorCommand::clear_commandtype() {
01987   commandtype_ = 1;
01988   _clear_bit(0);
01989 }
01990 inline ::marcusiphone::FloorCommand_CommandType FloorCommand::commandtype() const {
01991   return static_cast< ::marcusiphone::FloorCommand_CommandType >(commandtype_);
01992 }
01993 inline void FloorCommand::set_commandtype(::marcusiphone::FloorCommand_CommandType value) {
01994   GOOGLE_DCHECK(::marcusiphone::FloorCommand_CommandType_IsValid(value));
01995   _set_bit(0);
01996   commandtype_ = value;
01997 }
01998 
01999 // repeated .marcusiphone.LedColor ledColors = 2;
02000 inline int FloorCommand::ledcolors_size() const {
02001   return ledcolors_.size();
02002 }
02003 inline void FloorCommand::clear_ledcolors() {
02004   ledcolors_.Clear();
02005 }
02006 inline const ::marcusiphone::LedColor& FloorCommand::ledcolors(int index) const {
02007   return ledcolors_.Get(index);
02008 }
02009 inline ::marcusiphone::LedColor* FloorCommand::mutable_ledcolors(int index) {
02010   return ledcolors_.Mutable(index);
02011 }
02012 inline ::marcusiphone::LedColor* FloorCommand::add_ledcolors() {
02013   return ledcolors_.Add();
02014 }
02015 inline const ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >&
02016 FloorCommand::ledcolors() const {
02017   return ledcolors_;
02018 }
02019 inline ::google::protobuf::RepeatedPtrField< ::marcusiphone::LedColor >*
02020 FloorCommand::mutable_ledcolors() {
02021   return &ledcolors_;
02022 }
02023 
02024 // -------------------------------------------------------------------
02025 
02026 // LedColor
02027 
02028 // required uint32 id = 1;
02029 inline bool LedColor::has_id() const {
02030   return _has_bit(0);
02031 }
02032 inline void LedColor::clear_id() {
02033   id_ = 0u;
02034   _clear_bit(0);
02035 }
02036 inline ::google::protobuf::uint32 LedColor::id() const {
02037   return id_;
02038 }
02039 inline void LedColor::set_id(::google::protobuf::uint32 value) {
02040   _set_bit(0);
02041   id_ = value;
02042 }
02043 
02044 // required uint32 red = 2;
02045 inline bool LedColor::has_red() const {
02046   return _has_bit(1);
02047 }
02048 inline void LedColor::clear_red() {
02049   red_ = 0u;
02050   _clear_bit(1);
02051 }
02052 inline ::google::protobuf::uint32 LedColor::red() const {
02053   return red_;
02054 }
02055 inline void LedColor::set_red(::google::protobuf::uint32 value) {
02056   _set_bit(1);
02057   red_ = value;
02058 }
02059 
02060 // required uint32 green = 3;
02061 inline bool LedColor::has_green() const {
02062   return _has_bit(2);
02063 }
02064 inline void LedColor::clear_green() {
02065   green_ = 0u;
02066   _clear_bit(2);
02067 }
02068 inline ::google::protobuf::uint32 LedColor::green() const {
02069   return green_;
02070 }
02071 inline void LedColor::set_green(::google::protobuf::uint32 value) {
02072   _set_bit(2);
02073   green_ = value;
02074 }
02075 
02076 // required uint32 blue = 4;
02077 inline bool LedColor::has_blue() const {
02078   return _has_bit(3);
02079 }
02080 inline void LedColor::clear_blue() {
02081   blue_ = 0u;
02082   _clear_bit(3);
02083 }
02084 inline ::google::protobuf::uint32 LedColor::blue() const {
02085   return blue_;
02086 }
02087 inline void LedColor::set_blue(::google::protobuf::uint32 value) {
02088   _set_bit(3);
02089   blue_ = value;
02090 }
02091 
02092 // -------------------------------------------------------------------
02093 
02094 // LedTemperature
02095 
02096 // required uint32 id = 1;
02097 inline bool LedTemperature::has_id() const {
02098   return _has_bit(0);
02099 }
02100 inline void LedTemperature::clear_id() {
02101   id_ = 0u;
02102   _clear_bit(0);
02103 }
02104 inline ::google::protobuf::uint32 LedTemperature::id() const {
02105   return id_;
02106 }
02107 inline void LedTemperature::set_id(::google::protobuf::uint32 value) {
02108   _set_bit(0);
02109   id_ = value;
02110 }
02111 
02112 // required uint32 temperature = 2;
02113 inline bool LedTemperature::has_temperature() const {
02114   return _has_bit(1);
02115 }
02116 inline void LedTemperature::clear_temperature() {
02117   temperature_ = 0u;
02118   _clear_bit(1);
02119 }
02120 inline ::google::protobuf::uint32 LedTemperature::temperature() const {
02121   return temperature_;
02122 }
02123 inline void LedTemperature::set_temperature(::google::protobuf::uint32 value) {
02124   _set_bit(1);
02125   temperature_ = value;
02126 }
02127 
02128 
02129 // @@protoc_insertion_point(namespace_scope)
02130 
02131 }  // namespace marcusiphone
02132 
02133 #ifndef SWIG
02134 namespace google {
02135 namespace protobuf {
02136 
02137 template <>
02138 inline const EnumDescriptor* GetEnumDescriptor< ::marcusiphone::Envelope_MessageType>() {
02139   return ::marcusiphone::Envelope_MessageType_descriptor();
02140 }
02141 template <>
02142 inline const EnumDescriptor* GetEnumDescriptor< ::marcusiphone::StatusMessage_StatusType>() {
02143   return ::marcusiphone::StatusMessage_StatusType_descriptor();
02144 }
02145 template <>
02146 inline const EnumDescriptor* GetEnumDescriptor< ::marcusiphone::RequestMessage_RequestType>() {
02147   return ::marcusiphone::RequestMessage_RequestType_descriptor();
02148 }
02149 template <>
02150 inline const EnumDescriptor* GetEnumDescriptor< ::marcusiphone::FloorCommand_CommandType>() {
02151   return ::marcusiphone::FloorCommand_CommandType_descriptor();
02152 }
02153 
02154 }  // namespace google
02155 }  // namespace protobuf
02156 #endif  // SWIG
02157 
02158 // @@protoc_insertion_point(global_scope)
02159 
02160 #endif  // PROTOBUF_MarcusProtocol_2eproto__INCLUDED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines