00001
00002
00003
00004 #ifndef PROTOBUF_lux_2fdist_2fserver_2dconfig_2eproto__INCLUDED
00005 #define PROTOBUF_lux_2fdist_2fserver_2dconfig_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
00027
00028 namespace Lux {
00029 namespace Config {
00030
00031
00032 void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00033 void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00034 void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00035
00036 class Server;
00037 class Cluster;
00038 class Clusters;
00039 class ProxyMerger;
00040 class ProxyMergers;
00041 class Dispatcher;
00042 class Dispatchers;
00043 class ServerConfig;
00044
00045
00046
00047 class Server : public ::google::protobuf::Message {
00048 public:
00049 Server();
00050 virtual ~Server();
00051
00052 Server(const Server& from);
00053
00054 inline Server& operator=(const Server& from) {
00055 CopyFrom(from);
00056 return *this;
00057 }
00058
00059 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00060 return _unknown_fields_;
00061 }
00062
00063 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00064 return &_unknown_fields_;
00065 }
00066
00067 static const ::google::protobuf::Descriptor* descriptor();
00068 static const Server& default_instance();
00069
00070 void Swap(Server* other);
00071
00072
00073
00074 Server* New() const;
00075 void CopyFrom(const ::google::protobuf::Message& from);
00076 void MergeFrom(const ::google::protobuf::Message& from);
00077 void CopyFrom(const Server& from);
00078 void MergeFrom(const Server& from);
00079 void Clear();
00080 bool IsInitialized() const;
00081
00082 int ByteSize() const;
00083 bool MergePartialFromCodedStream(
00084 ::google::protobuf::io::CodedInputStream* input);
00085 void SerializeWithCachedSizes(
00086 ::google::protobuf::io::CodedOutputStream* output) const;
00087 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00088 int GetCachedSize() const { return _cached_size_; }
00089 private:
00090 void SharedCtor();
00091 void SharedDtor();
00092 void SetCachedSize(int size) const;
00093 public:
00094
00095 ::google::protobuf::Metadata GetMetadata() const;
00096
00097
00098
00099
00100
00101
00102 inline bool has_id() const;
00103 inline void clear_id();
00104 static const int kIdFieldNumber = 1;
00105 inline ::google::protobuf::uint32 id() const;
00106 inline void set_id(::google::protobuf::uint32 value);
00107
00108
00109 inline bool has_host() const;
00110 inline void clear_host();
00111 static const int kHostFieldNumber = 2;
00112 inline const ::std::string& host() const;
00113 inline void set_host(const ::std::string& value);
00114 inline void set_host(const char* value);
00115 inline void set_host(const char* value, size_t size);
00116 inline ::std::string* mutable_host();
00117
00118
00119 inline bool has_port() const;
00120 inline void clear_port();
00121 static const int kPortFieldNumber = 3;
00122 inline ::google::protobuf::uint32 port() const;
00123 inline void set_port(::google::protobuf::uint32 value);
00124
00125
00126 inline bool has_num_default() const;
00127 inline void clear_num_default();
00128 static const int kNumDefaultFieldNumber = 4;
00129 inline ::google::protobuf::uint32 num_default() const;
00130 inline void set_num_default(::google::protobuf::uint32 value);
00131
00132
00133 inline bool has_num_max() const;
00134 inline void clear_num_max();
00135 static const int kNumMaxFieldNumber = 5;
00136 inline ::google::protobuf::uint32 num_max() const;
00137 inline void set_num_max(::google::protobuf::uint32 value);
00138
00139
00140 private:
00141 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00142 mutable int _cached_size_;
00143
00144 ::google::protobuf::uint32 id_;
00145 ::std::string* host_;
00146 static const ::std::string _default_host_;
00147 ::google::protobuf::uint32 port_;
00148 ::google::protobuf::uint32 num_default_;
00149 ::google::protobuf::uint32 num_max_;
00150 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00151 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00152 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00153
00154 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
00155
00156
00157 inline bool _has_bit(int index) const {
00158 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00159 }
00160 inline void _set_bit(int index) {
00161 _has_bits_[index / 32] |= (1u << (index % 32));
00162 }
00163 inline void _clear_bit(int index) {
00164 _has_bits_[index / 32] &= ~(1u << (index % 32));
00165 }
00166
00167 void InitAsDefaultInstance();
00168 static Server* default_instance_;
00169 };
00170
00171
00172 class Cluster : public ::google::protobuf::Message {
00173 public:
00174 Cluster();
00175 virtual ~Cluster();
00176
00177 Cluster(const Cluster& from);
00178
00179 inline Cluster& operator=(const Cluster& from) {
00180 CopyFrom(from);
00181 return *this;
00182 }
00183
00184 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00185 return _unknown_fields_;
00186 }
00187
00188 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00189 return &_unknown_fields_;
00190 }
00191
00192 static const ::google::protobuf::Descriptor* descriptor();
00193 static const Cluster& default_instance();
00194
00195 void Swap(Cluster* other);
00196
00197
00198
00199 Cluster* New() const;
00200 void CopyFrom(const ::google::protobuf::Message& from);
00201 void MergeFrom(const ::google::protobuf::Message& from);
00202 void CopyFrom(const Cluster& from);
00203 void MergeFrom(const Cluster& from);
00204 void Clear();
00205 bool IsInitialized() const;
00206
00207 int ByteSize() const;
00208 bool MergePartialFromCodedStream(
00209 ::google::protobuf::io::CodedInputStream* input);
00210 void SerializeWithCachedSizes(
00211 ::google::protobuf::io::CodedOutputStream* output) const;
00212 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00213 int GetCachedSize() const { return _cached_size_; }
00214 private:
00215 void SharedCtor();
00216 void SharedDtor();
00217 void SetCachedSize(int size) const;
00218 public:
00219
00220 ::google::protobuf::Metadata GetMetadata() const;
00221
00222
00223
00224
00225
00226
00227 inline bool has_id() const;
00228 inline void clear_id();
00229 static const int kIdFieldNumber = 1;
00230 inline ::google::protobuf::uint32 id() const;
00231 inline void set_id(::google::protobuf::uint32 value);
00232
00233
00234 inline int server_size() const;
00235 inline void clear_server();
00236 static const int kServerFieldNumber = 2;
00237 inline const ::Lux::Config::Server& server(int index) const;
00238 inline ::Lux::Config::Server* mutable_server(int index);
00239 inline ::Lux::Config::Server* add_server();
00240 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Server >&
00241 server() const;
00242 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Server >*
00243 mutable_server();
00244
00245
00246 private:
00247 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00248 mutable int _cached_size_;
00249
00250 ::google::protobuf::uint32 id_;
00251 ::google::protobuf::RepeatedPtrField< ::Lux::Config::Server > server_;
00252 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00253 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00254 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00255
00256 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00257
00258
00259 inline bool _has_bit(int index) const {
00260 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00261 }
00262 inline void _set_bit(int index) {
00263 _has_bits_[index / 32] |= (1u << (index % 32));
00264 }
00265 inline void _clear_bit(int index) {
00266 _has_bits_[index / 32] &= ~(1u << (index % 32));
00267 }
00268
00269 void InitAsDefaultInstance();
00270 static Cluster* default_instance_;
00271 };
00272
00273
00274 class Clusters : public ::google::protobuf::Message {
00275 public:
00276 Clusters();
00277 virtual ~Clusters();
00278
00279 Clusters(const Clusters& from);
00280
00281 inline Clusters& operator=(const Clusters& from) {
00282 CopyFrom(from);
00283 return *this;
00284 }
00285
00286 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00287 return _unknown_fields_;
00288 }
00289
00290 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00291 return &_unknown_fields_;
00292 }
00293
00294 static const ::google::protobuf::Descriptor* descriptor();
00295 static const Clusters& default_instance();
00296
00297 void Swap(Clusters* other);
00298
00299
00300
00301 Clusters* New() const;
00302 void CopyFrom(const ::google::protobuf::Message& from);
00303 void MergeFrom(const ::google::protobuf::Message& from);
00304 void CopyFrom(const Clusters& from);
00305 void MergeFrom(const Clusters& from);
00306 void Clear();
00307 bool IsInitialized() const;
00308
00309 int ByteSize() const;
00310 bool MergePartialFromCodedStream(
00311 ::google::protobuf::io::CodedInputStream* input);
00312 void SerializeWithCachedSizes(
00313 ::google::protobuf::io::CodedOutputStream* output) const;
00314 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00315 int GetCachedSize() const { return _cached_size_; }
00316 private:
00317 void SharedCtor();
00318 void SharedDtor();
00319 void SetCachedSize(int size) const;
00320 public:
00321
00322 ::google::protobuf::Metadata GetMetadata() const;
00323
00324
00325
00326
00327
00328
00329 inline int cluster_size() const;
00330 inline void clear_cluster();
00331 static const int kClusterFieldNumber = 1;
00332 inline const ::Lux::Config::Cluster& cluster(int index) const;
00333 inline ::Lux::Config::Cluster* mutable_cluster(int index);
00334 inline ::Lux::Config::Cluster* add_cluster();
00335 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Cluster >&
00336 cluster() const;
00337 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Cluster >*
00338 mutable_cluster();
00339
00340
00341 private:
00342 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00343 mutable int _cached_size_;
00344
00345 ::google::protobuf::RepeatedPtrField< ::Lux::Config::Cluster > cluster_;
00346 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00347 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00348 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00349
00350 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00351
00352
00353 inline bool _has_bit(int index) const {
00354 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00355 }
00356 inline void _set_bit(int index) {
00357 _has_bits_[index / 32] |= (1u << (index % 32));
00358 }
00359 inline void _clear_bit(int index) {
00360 _has_bits_[index / 32] &= ~(1u << (index % 32));
00361 }
00362
00363 void InitAsDefaultInstance();
00364 static Clusters* default_instance_;
00365 };
00366
00367
00368 class ProxyMerger : public ::google::protobuf::Message {
00369 public:
00370 ProxyMerger();
00371 virtual ~ProxyMerger();
00372
00373 ProxyMerger(const ProxyMerger& from);
00374
00375 inline ProxyMerger& operator=(const ProxyMerger& from) {
00376 CopyFrom(from);
00377 return *this;
00378 }
00379
00380 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00381 return _unknown_fields_;
00382 }
00383
00384 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00385 return &_unknown_fields_;
00386 }
00387
00388 static const ::google::protobuf::Descriptor* descriptor();
00389 static const ProxyMerger& default_instance();
00390
00391 void Swap(ProxyMerger* other);
00392
00393
00394
00395 ProxyMerger* New() const;
00396 void CopyFrom(const ::google::protobuf::Message& from);
00397 void MergeFrom(const ::google::protobuf::Message& from);
00398 void CopyFrom(const ProxyMerger& from);
00399 void MergeFrom(const ProxyMerger& from);
00400 void Clear();
00401 bool IsInitialized() const;
00402
00403 int ByteSize() const;
00404 bool MergePartialFromCodedStream(
00405 ::google::protobuf::io::CodedInputStream* input);
00406 void SerializeWithCachedSizes(
00407 ::google::protobuf::io::CodedOutputStream* output) const;
00408 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00409 int GetCachedSize() const { return _cached_size_; }
00410 private:
00411 void SharedCtor();
00412 void SharedDtor();
00413 void SetCachedSize(int size) const;
00414 public:
00415
00416 ::google::protobuf::Metadata GetMetadata() const;
00417
00418
00419
00420
00421
00422
00423 inline int cluster_id_size() const;
00424 inline void clear_cluster_id();
00425 static const int kClusterIdFieldNumber = 1;
00426 inline ::google::protobuf::uint32 cluster_id(int index) const;
00427 inline void set_cluster_id(int index, ::google::protobuf::uint32 value);
00428 inline void add_cluster_id(::google::protobuf::uint32 value);
00429 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00430 cluster_id() const;
00431 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00432 mutable_cluster_id();
00433
00434
00435 inline int merger_id_size() const;
00436 inline void clear_merger_id();
00437 static const int kMergerIdFieldNumber = 2;
00438 inline ::google::protobuf::uint32 merger_id(int index) const;
00439 inline void set_merger_id(int index, ::google::protobuf::uint32 value);
00440 inline void add_merger_id(::google::protobuf::uint32 value);
00441 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00442 merger_id() const;
00443 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00444 mutable_merger_id();
00445
00446
00447 inline bool has_server() const;
00448 inline void clear_server();
00449 static const int kServerFieldNumber = 3;
00450 inline const ::Lux::Config::Server& server() const;
00451 inline ::Lux::Config::Server* mutable_server();
00452
00453
00454 private:
00455 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00456 mutable int _cached_size_;
00457
00458 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cluster_id_;
00459 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > merger_id_;
00460 ::Lux::Config::Server* server_;
00461 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00462 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00463 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00464
00465 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
00466
00467
00468 inline bool _has_bit(int index) const {
00469 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00470 }
00471 inline void _set_bit(int index) {
00472 _has_bits_[index / 32] |= (1u << (index % 32));
00473 }
00474 inline void _clear_bit(int index) {
00475 _has_bits_[index / 32] &= ~(1u << (index % 32));
00476 }
00477
00478 void InitAsDefaultInstance();
00479 static ProxyMerger* default_instance_;
00480 };
00481
00482
00483 class ProxyMergers : public ::google::protobuf::Message {
00484 public:
00485 ProxyMergers();
00486 virtual ~ProxyMergers();
00487
00488 ProxyMergers(const ProxyMergers& from);
00489
00490 inline ProxyMergers& operator=(const ProxyMergers& from) {
00491 CopyFrom(from);
00492 return *this;
00493 }
00494
00495 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00496 return _unknown_fields_;
00497 }
00498
00499 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00500 return &_unknown_fields_;
00501 }
00502
00503 static const ::google::protobuf::Descriptor* descriptor();
00504 static const ProxyMergers& default_instance();
00505
00506 void Swap(ProxyMergers* other);
00507
00508
00509
00510 ProxyMergers* New() const;
00511 void CopyFrom(const ::google::protobuf::Message& from);
00512 void MergeFrom(const ::google::protobuf::Message& from);
00513 void CopyFrom(const ProxyMergers& from);
00514 void MergeFrom(const ProxyMergers& from);
00515 void Clear();
00516 bool IsInitialized() const;
00517
00518 int ByteSize() const;
00519 bool MergePartialFromCodedStream(
00520 ::google::protobuf::io::CodedInputStream* input);
00521 void SerializeWithCachedSizes(
00522 ::google::protobuf::io::CodedOutputStream* output) const;
00523 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00524 int GetCachedSize() const { return _cached_size_; }
00525 private:
00526 void SharedCtor();
00527 void SharedDtor();
00528 void SetCachedSize(int size) const;
00529 public:
00530
00531 ::google::protobuf::Metadata GetMetadata() const;
00532
00533
00534
00535
00536
00537
00538 inline int proxy_merger_size() const;
00539 inline void clear_proxy_merger();
00540 static const int kProxyMergerFieldNumber = 1;
00541 inline const ::Lux::Config::ProxyMerger& proxy_merger(int index) const;
00542 inline ::Lux::Config::ProxyMerger* mutable_proxy_merger(int index);
00543 inline ::Lux::Config::ProxyMerger* add_proxy_merger();
00544 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::ProxyMerger >&
00545 proxy_merger() const;
00546 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::ProxyMerger >*
00547 mutable_proxy_merger();
00548
00549
00550 private:
00551 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00552 mutable int _cached_size_;
00553
00554 ::google::protobuf::RepeatedPtrField< ::Lux::Config::ProxyMerger > proxy_merger_;
00555 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00556 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00557 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00558
00559 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00560
00561
00562 inline bool _has_bit(int index) const {
00563 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00564 }
00565 inline void _set_bit(int index) {
00566 _has_bits_[index / 32] |= (1u << (index % 32));
00567 }
00568 inline void _clear_bit(int index) {
00569 _has_bits_[index / 32] &= ~(1u << (index % 32));
00570 }
00571
00572 void InitAsDefaultInstance();
00573 static ProxyMergers* default_instance_;
00574 };
00575
00576
00577 class Dispatcher : public ::google::protobuf::Message {
00578 public:
00579 Dispatcher();
00580 virtual ~Dispatcher();
00581
00582 Dispatcher(const Dispatcher& from);
00583
00584 inline Dispatcher& operator=(const Dispatcher& from) {
00585 CopyFrom(from);
00586 return *this;
00587 }
00588
00589 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00590 return _unknown_fields_;
00591 }
00592
00593 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00594 return &_unknown_fields_;
00595 }
00596
00597 static const ::google::protobuf::Descriptor* descriptor();
00598 static const Dispatcher& default_instance();
00599
00600 void Swap(Dispatcher* other);
00601
00602
00603
00604 Dispatcher* New() const;
00605 void CopyFrom(const ::google::protobuf::Message& from);
00606 void MergeFrom(const ::google::protobuf::Message& from);
00607 void CopyFrom(const Dispatcher& from);
00608 void MergeFrom(const Dispatcher& from);
00609 void Clear();
00610 bool IsInitialized() const;
00611
00612 int ByteSize() const;
00613 bool MergePartialFromCodedStream(
00614 ::google::protobuf::io::CodedInputStream* input);
00615 void SerializeWithCachedSizes(
00616 ::google::protobuf::io::CodedOutputStream* output) const;
00617 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00618 int GetCachedSize() const { return _cached_size_; }
00619 private:
00620 void SharedCtor();
00621 void SharedDtor();
00622 void SetCachedSize(int size) const;
00623 public:
00624
00625 ::google::protobuf::Metadata GetMetadata() const;
00626
00627
00628
00629
00630
00631
00632 inline bool has_cluster_id() const;
00633 inline void clear_cluster_id();
00634 static const int kClusterIdFieldNumber = 1;
00635 inline ::google::protobuf::uint32 cluster_id() const;
00636 inline void set_cluster_id(::google::protobuf::uint32 value);
00637
00638
00639 inline int merger_id_size() const;
00640 inline void clear_merger_id();
00641 static const int kMergerIdFieldNumber = 2;
00642 inline ::google::protobuf::uint32 merger_id(int index) const;
00643 inline void set_merger_id(int index, ::google::protobuf::uint32 value);
00644 inline void add_merger_id(::google::protobuf::uint32 value);
00645 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00646 merger_id() const;
00647 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00648 mutable_merger_id();
00649
00650
00651 inline bool has_server() const;
00652 inline void clear_server();
00653 static const int kServerFieldNumber = 3;
00654 inline const ::Lux::Config::Server& server() const;
00655 inline ::Lux::Config::Server* mutable_server();
00656
00657
00658 private:
00659 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00660 mutable int _cached_size_;
00661
00662 ::google::protobuf::uint32 cluster_id_;
00663 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > merger_id_;
00664 ::Lux::Config::Server* server_;
00665 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00666 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00667 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00668
00669 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
00670
00671
00672 inline bool _has_bit(int index) const {
00673 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00674 }
00675 inline void _set_bit(int index) {
00676 _has_bits_[index / 32] |= (1u << (index % 32));
00677 }
00678 inline void _clear_bit(int index) {
00679 _has_bits_[index / 32] &= ~(1u << (index % 32));
00680 }
00681
00682 void InitAsDefaultInstance();
00683 static Dispatcher* default_instance_;
00684 };
00685
00686
00687 class Dispatchers : public ::google::protobuf::Message {
00688 public:
00689 Dispatchers();
00690 virtual ~Dispatchers();
00691
00692 Dispatchers(const Dispatchers& from);
00693
00694 inline Dispatchers& operator=(const Dispatchers& from) {
00695 CopyFrom(from);
00696 return *this;
00697 }
00698
00699 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00700 return _unknown_fields_;
00701 }
00702
00703 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00704 return &_unknown_fields_;
00705 }
00706
00707 static const ::google::protobuf::Descriptor* descriptor();
00708 static const Dispatchers& default_instance();
00709
00710 void Swap(Dispatchers* other);
00711
00712
00713
00714 Dispatchers* New() const;
00715 void CopyFrom(const ::google::protobuf::Message& from);
00716 void MergeFrom(const ::google::protobuf::Message& from);
00717 void CopyFrom(const Dispatchers& from);
00718 void MergeFrom(const Dispatchers& from);
00719 void Clear();
00720 bool IsInitialized() const;
00721
00722 int ByteSize() const;
00723 bool MergePartialFromCodedStream(
00724 ::google::protobuf::io::CodedInputStream* input);
00725 void SerializeWithCachedSizes(
00726 ::google::protobuf::io::CodedOutputStream* output) const;
00727 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00728 int GetCachedSize() const { return _cached_size_; }
00729 private:
00730 void SharedCtor();
00731 void SharedDtor();
00732 void SetCachedSize(int size) const;
00733 public:
00734
00735 ::google::protobuf::Metadata GetMetadata() const;
00736
00737
00738
00739
00740
00741
00742 inline int dispatcher_size() const;
00743 inline void clear_dispatcher();
00744 static const int kDispatcherFieldNumber = 1;
00745 inline const ::Lux::Config::Dispatcher& dispatcher(int index) const;
00746 inline ::Lux::Config::Dispatcher* mutable_dispatcher(int index);
00747 inline ::Lux::Config::Dispatcher* add_dispatcher();
00748 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Dispatcher >&
00749 dispatcher() const;
00750 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Dispatcher >*
00751 mutable_dispatcher();
00752
00753
00754 private:
00755 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00756 mutable int _cached_size_;
00757
00758 ::google::protobuf::RepeatedPtrField< ::Lux::Config::Dispatcher > dispatcher_;
00759 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00760 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00761 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00762
00763 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
00764
00765
00766 inline bool _has_bit(int index) const {
00767 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00768 }
00769 inline void _set_bit(int index) {
00770 _has_bits_[index / 32] |= (1u << (index % 32));
00771 }
00772 inline void _clear_bit(int index) {
00773 _has_bits_[index / 32] &= ~(1u << (index % 32));
00774 }
00775
00776 void InitAsDefaultInstance();
00777 static Dispatchers* default_instance_;
00778 };
00779
00780
00781 class ServerConfig : public ::google::protobuf::Message {
00782 public:
00783 ServerConfig();
00784 virtual ~ServerConfig();
00785
00786 ServerConfig(const ServerConfig& from);
00787
00788 inline ServerConfig& operator=(const ServerConfig& from) {
00789 CopyFrom(from);
00790 return *this;
00791 }
00792
00793 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00794 return _unknown_fields_;
00795 }
00796
00797 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00798 return &_unknown_fields_;
00799 }
00800
00801 static const ::google::protobuf::Descriptor* descriptor();
00802 static const ServerConfig& default_instance();
00803
00804 void Swap(ServerConfig* other);
00805
00806
00807
00808 ServerConfig* New() const;
00809 void CopyFrom(const ::google::protobuf::Message& from);
00810 void MergeFrom(const ::google::protobuf::Message& from);
00811 void CopyFrom(const ServerConfig& from);
00812 void MergeFrom(const ServerConfig& from);
00813 void Clear();
00814 bool IsInitialized() const;
00815
00816 int ByteSize() const;
00817 bool MergePartialFromCodedStream(
00818 ::google::protobuf::io::CodedInputStream* input);
00819 void SerializeWithCachedSizes(
00820 ::google::protobuf::io::CodedOutputStream* output) const;
00821 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00822 int GetCachedSize() const { return _cached_size_; }
00823 private:
00824 void SharedCtor();
00825 void SharedDtor();
00826 void SetCachedSize(int size) const;
00827 public:
00828
00829 ::google::protobuf::Metadata GetMetadata() const;
00830
00831
00832
00833
00834
00835
00836 inline bool has_clusters() const;
00837 inline void clear_clusters();
00838 static const int kClustersFieldNumber = 1;
00839 inline const ::Lux::Config::Clusters& clusters() const;
00840 inline ::Lux::Config::Clusters* mutable_clusters();
00841
00842
00843 inline bool has_dispatchers() const;
00844 inline void clear_dispatchers();
00845 static const int kDispatchersFieldNumber = 2;
00846 inline const ::Lux::Config::Dispatchers& dispatchers() const;
00847 inline ::Lux::Config::Dispatchers* mutable_dispatchers();
00848
00849
00850 inline bool has_proxy_mergers() const;
00851 inline void clear_proxy_mergers();
00852 static const int kProxyMergersFieldNumber = 3;
00853 inline const ::Lux::Config::ProxyMergers& proxy_mergers() const;
00854 inline ::Lux::Config::ProxyMergers* mutable_proxy_mergers();
00855
00856
00857 private:
00858 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00859 mutable int _cached_size_;
00860
00861 ::Lux::Config::Clusters* clusters_;
00862 ::Lux::Config::Dispatchers* dispatchers_;
00863 ::Lux::Config::ProxyMergers* proxy_mergers_;
00864 friend void protobuf_AddDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00865 friend void protobuf_AssignDesc_lux_2fdist_2fserver_2dconfig_2eproto();
00866 friend void protobuf_ShutdownFile_lux_2fdist_2fserver_2dconfig_2eproto();
00867
00868 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
00869
00870
00871 inline bool _has_bit(int index) const {
00872 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00873 }
00874 inline void _set_bit(int index) {
00875 _has_bits_[index / 32] |= (1u << (index % 32));
00876 }
00877 inline void _clear_bit(int index) {
00878 _has_bits_[index / 32] &= ~(1u << (index % 32));
00879 }
00880
00881 void InitAsDefaultInstance();
00882 static ServerConfig* default_instance_;
00883 };
00884
00885
00886
00887
00888
00889
00890
00891
00892 inline bool Server::has_id() const {
00893 return _has_bit(0);
00894 }
00895 inline void Server::clear_id() {
00896 id_ = 0u;
00897 _clear_bit(0);
00898 }
00899 inline ::google::protobuf::uint32 Server::id() const {
00900 return id_;
00901 }
00902 inline void Server::set_id(::google::protobuf::uint32 value) {
00903 _set_bit(0);
00904 id_ = value;
00905 }
00906
00907
00908 inline bool Server::has_host() const {
00909 return _has_bit(1);
00910 }
00911 inline void Server::clear_host() {
00912 if (host_ != &_default_host_) {
00913 host_->clear();
00914 }
00915 _clear_bit(1);
00916 }
00917 inline const ::std::string& Server::host() const {
00918 return *host_;
00919 }
00920 inline void Server::set_host(const ::std::string& value) {
00921 _set_bit(1);
00922 if (host_ == &_default_host_) {
00923 host_ = new ::std::string;
00924 }
00925 host_->assign(value);
00926 }
00927 inline void Server::set_host(const char* value) {
00928 _set_bit(1);
00929 if (host_ == &_default_host_) {
00930 host_ = new ::std::string;
00931 }
00932 host_->assign(value);
00933 }
00934 inline void Server::set_host(const char* value, size_t size) {
00935 _set_bit(1);
00936 if (host_ == &_default_host_) {
00937 host_ = new ::std::string;
00938 }
00939 host_->assign(reinterpret_cast<const char*>(value), size);
00940 }
00941 inline ::std::string* Server::mutable_host() {
00942 _set_bit(1);
00943 if (host_ == &_default_host_) {
00944 host_ = new ::std::string;
00945 }
00946 return host_;
00947 }
00948
00949
00950 inline bool Server::has_port() const {
00951 return _has_bit(2);
00952 }
00953 inline void Server::clear_port() {
00954 port_ = 0u;
00955 _clear_bit(2);
00956 }
00957 inline ::google::protobuf::uint32 Server::port() const {
00958 return port_;
00959 }
00960 inline void Server::set_port(::google::protobuf::uint32 value) {
00961 _set_bit(2);
00962 port_ = value;
00963 }
00964
00965
00966 inline bool Server::has_num_default() const {
00967 return _has_bit(3);
00968 }
00969 inline void Server::clear_num_default() {
00970 num_default_ = 10u;
00971 _clear_bit(3);
00972 }
00973 inline ::google::protobuf::uint32 Server::num_default() const {
00974 return num_default_;
00975 }
00976 inline void Server::set_num_default(::google::protobuf::uint32 value) {
00977 _set_bit(3);
00978 num_default_ = value;
00979 }
00980
00981
00982 inline bool Server::has_num_max() const {
00983 return _has_bit(4);
00984 }
00985 inline void Server::clear_num_max() {
00986 num_max_ = 30u;
00987 _clear_bit(4);
00988 }
00989 inline ::google::protobuf::uint32 Server::num_max() const {
00990 return num_max_;
00991 }
00992 inline void Server::set_num_max(::google::protobuf::uint32 value) {
00993 _set_bit(4);
00994 num_max_ = value;
00995 }
00996
00997
00998
00999
01000
01001
01002 inline bool Cluster::has_id() const {
01003 return _has_bit(0);
01004 }
01005 inline void Cluster::clear_id() {
01006 id_ = 0u;
01007 _clear_bit(0);
01008 }
01009 inline ::google::protobuf::uint32 Cluster::id() const {
01010 return id_;
01011 }
01012 inline void Cluster::set_id(::google::protobuf::uint32 value) {
01013 _set_bit(0);
01014 id_ = value;
01015 }
01016
01017
01018 inline int Cluster::server_size() const {
01019 return server_.size();
01020 }
01021 inline void Cluster::clear_server() {
01022 server_.Clear();
01023 }
01024 inline const ::Lux::Config::Server& Cluster::server(int index) const {
01025 return server_.Get(index);
01026 }
01027 inline ::Lux::Config::Server* Cluster::mutable_server(int index) {
01028 return server_.Mutable(index);
01029 }
01030 inline ::Lux::Config::Server* Cluster::add_server() {
01031 return server_.Add();
01032 }
01033 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Server >&
01034 Cluster::server() const {
01035 return server_;
01036 }
01037 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Server >*
01038 Cluster::mutable_server() {
01039 return &server_;
01040 }
01041
01042
01043
01044
01045
01046
01047 inline int Clusters::cluster_size() const {
01048 return cluster_.size();
01049 }
01050 inline void Clusters::clear_cluster() {
01051 cluster_.Clear();
01052 }
01053 inline const ::Lux::Config::Cluster& Clusters::cluster(int index) const {
01054 return cluster_.Get(index);
01055 }
01056 inline ::Lux::Config::Cluster* Clusters::mutable_cluster(int index) {
01057 return cluster_.Mutable(index);
01058 }
01059 inline ::Lux::Config::Cluster* Clusters::add_cluster() {
01060 return cluster_.Add();
01061 }
01062 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Cluster >&
01063 Clusters::cluster() const {
01064 return cluster_;
01065 }
01066 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Cluster >*
01067 Clusters::mutable_cluster() {
01068 return &cluster_;
01069 }
01070
01071
01072
01073
01074
01075
01076 inline int ProxyMerger::cluster_id_size() const {
01077 return cluster_id_.size();
01078 }
01079 inline void ProxyMerger::clear_cluster_id() {
01080 cluster_id_.Clear();
01081 }
01082 inline ::google::protobuf::uint32 ProxyMerger::cluster_id(int index) const {
01083 return cluster_id_.Get(index);
01084 }
01085 inline void ProxyMerger::set_cluster_id(int index, ::google::protobuf::uint32 value) {
01086 cluster_id_.Set(index, value);
01087 }
01088 inline void ProxyMerger::add_cluster_id(::google::protobuf::uint32 value) {
01089 cluster_id_.Add(value);
01090 }
01091 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01092 ProxyMerger::cluster_id() const {
01093 return cluster_id_;
01094 }
01095 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01096 ProxyMerger::mutable_cluster_id() {
01097 return &cluster_id_;
01098 }
01099
01100
01101 inline int ProxyMerger::merger_id_size() const {
01102 return merger_id_.size();
01103 }
01104 inline void ProxyMerger::clear_merger_id() {
01105 merger_id_.Clear();
01106 }
01107 inline ::google::protobuf::uint32 ProxyMerger::merger_id(int index) const {
01108 return merger_id_.Get(index);
01109 }
01110 inline void ProxyMerger::set_merger_id(int index, ::google::protobuf::uint32 value) {
01111 merger_id_.Set(index, value);
01112 }
01113 inline void ProxyMerger::add_merger_id(::google::protobuf::uint32 value) {
01114 merger_id_.Add(value);
01115 }
01116 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01117 ProxyMerger::merger_id() const {
01118 return merger_id_;
01119 }
01120 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01121 ProxyMerger::mutable_merger_id() {
01122 return &merger_id_;
01123 }
01124
01125
01126 inline bool ProxyMerger::has_server() const {
01127 return _has_bit(2);
01128 }
01129 inline void ProxyMerger::clear_server() {
01130 if (server_ != NULL) server_->::Lux::Config::Server::Clear();
01131 _clear_bit(2);
01132 }
01133 inline const ::Lux::Config::Server& ProxyMerger::server() const {
01134 return server_ != NULL ? *server_ : *default_instance_->server_;
01135 }
01136 inline ::Lux::Config::Server* ProxyMerger::mutable_server() {
01137 _set_bit(2);
01138 if (server_ == NULL) server_ = new ::Lux::Config::Server;
01139 return server_;
01140 }
01141
01142
01143
01144
01145
01146
01147 inline int ProxyMergers::proxy_merger_size() const {
01148 return proxy_merger_.size();
01149 }
01150 inline void ProxyMergers::clear_proxy_merger() {
01151 proxy_merger_.Clear();
01152 }
01153 inline const ::Lux::Config::ProxyMerger& ProxyMergers::proxy_merger(int index) const {
01154 return proxy_merger_.Get(index);
01155 }
01156 inline ::Lux::Config::ProxyMerger* ProxyMergers::mutable_proxy_merger(int index) {
01157 return proxy_merger_.Mutable(index);
01158 }
01159 inline ::Lux::Config::ProxyMerger* ProxyMergers::add_proxy_merger() {
01160 return proxy_merger_.Add();
01161 }
01162 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::ProxyMerger >&
01163 ProxyMergers::proxy_merger() const {
01164 return proxy_merger_;
01165 }
01166 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::ProxyMerger >*
01167 ProxyMergers::mutable_proxy_merger() {
01168 return &proxy_merger_;
01169 }
01170
01171
01172
01173
01174
01175
01176 inline bool Dispatcher::has_cluster_id() const {
01177 return _has_bit(0);
01178 }
01179 inline void Dispatcher::clear_cluster_id() {
01180 cluster_id_ = 0u;
01181 _clear_bit(0);
01182 }
01183 inline ::google::protobuf::uint32 Dispatcher::cluster_id() const {
01184 return cluster_id_;
01185 }
01186 inline void Dispatcher::set_cluster_id(::google::protobuf::uint32 value) {
01187 _set_bit(0);
01188 cluster_id_ = value;
01189 }
01190
01191
01192 inline int Dispatcher::merger_id_size() const {
01193 return merger_id_.size();
01194 }
01195 inline void Dispatcher::clear_merger_id() {
01196 merger_id_.Clear();
01197 }
01198 inline ::google::protobuf::uint32 Dispatcher::merger_id(int index) const {
01199 return merger_id_.Get(index);
01200 }
01201 inline void Dispatcher::set_merger_id(int index, ::google::protobuf::uint32 value) {
01202 merger_id_.Set(index, value);
01203 }
01204 inline void Dispatcher::add_merger_id(::google::protobuf::uint32 value) {
01205 merger_id_.Add(value);
01206 }
01207 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01208 Dispatcher::merger_id() const {
01209 return merger_id_;
01210 }
01211 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01212 Dispatcher::mutable_merger_id() {
01213 return &merger_id_;
01214 }
01215
01216
01217 inline bool Dispatcher::has_server() const {
01218 return _has_bit(2);
01219 }
01220 inline void Dispatcher::clear_server() {
01221 if (server_ != NULL) server_->::Lux::Config::Server::Clear();
01222 _clear_bit(2);
01223 }
01224 inline const ::Lux::Config::Server& Dispatcher::server() const {
01225 return server_ != NULL ? *server_ : *default_instance_->server_;
01226 }
01227 inline ::Lux::Config::Server* Dispatcher::mutable_server() {
01228 _set_bit(2);
01229 if (server_ == NULL) server_ = new ::Lux::Config::Server;
01230 return server_;
01231 }
01232
01233
01234
01235
01236
01237
01238 inline int Dispatchers::dispatcher_size() const {
01239 return dispatcher_.size();
01240 }
01241 inline void Dispatchers::clear_dispatcher() {
01242 dispatcher_.Clear();
01243 }
01244 inline const ::Lux::Config::Dispatcher& Dispatchers::dispatcher(int index) const {
01245 return dispatcher_.Get(index);
01246 }
01247 inline ::Lux::Config::Dispatcher* Dispatchers::mutable_dispatcher(int index) {
01248 return dispatcher_.Mutable(index);
01249 }
01250 inline ::Lux::Config::Dispatcher* Dispatchers::add_dispatcher() {
01251 return dispatcher_.Add();
01252 }
01253 inline const ::google::protobuf::RepeatedPtrField< ::Lux::Config::Dispatcher >&
01254 Dispatchers::dispatcher() const {
01255 return dispatcher_;
01256 }
01257 inline ::google::protobuf::RepeatedPtrField< ::Lux::Config::Dispatcher >*
01258 Dispatchers::mutable_dispatcher() {
01259 return &dispatcher_;
01260 }
01261
01262
01263
01264
01265
01266
01267 inline bool ServerConfig::has_clusters() const {
01268 return _has_bit(0);
01269 }
01270 inline void ServerConfig::clear_clusters() {
01271 if (clusters_ != NULL) clusters_->::Lux::Config::Clusters::Clear();
01272 _clear_bit(0);
01273 }
01274 inline const ::Lux::Config::Clusters& ServerConfig::clusters() const {
01275 return clusters_ != NULL ? *clusters_ : *default_instance_->clusters_;
01276 }
01277 inline ::Lux::Config::Clusters* ServerConfig::mutable_clusters() {
01278 _set_bit(0);
01279 if (clusters_ == NULL) clusters_ = new ::Lux::Config::Clusters;
01280 return clusters_;
01281 }
01282
01283
01284 inline bool ServerConfig::has_dispatchers() const {
01285 return _has_bit(1);
01286 }
01287 inline void ServerConfig::clear_dispatchers() {
01288 if (dispatchers_ != NULL) dispatchers_->::Lux::Config::Dispatchers::Clear();
01289 _clear_bit(1);
01290 }
01291 inline const ::Lux::Config::Dispatchers& ServerConfig::dispatchers() const {
01292 return dispatchers_ != NULL ? *dispatchers_ : *default_instance_->dispatchers_;
01293 }
01294 inline ::Lux::Config::Dispatchers* ServerConfig::mutable_dispatchers() {
01295 _set_bit(1);
01296 if (dispatchers_ == NULL) dispatchers_ = new ::Lux::Config::Dispatchers;
01297 return dispatchers_;
01298 }
01299
01300
01301 inline bool ServerConfig::has_proxy_mergers() const {
01302 return _has_bit(2);
01303 }
01304 inline void ServerConfig::clear_proxy_mergers() {
01305 if (proxy_mergers_ != NULL) proxy_mergers_->::Lux::Config::ProxyMergers::Clear();
01306 _clear_bit(2);
01307 }
01308 inline const ::Lux::Config::ProxyMergers& ServerConfig::proxy_mergers() const {
01309 return proxy_mergers_ != NULL ? *proxy_mergers_ : *default_instance_->proxy_mergers_;
01310 }
01311 inline ::Lux::Config::ProxyMergers* ServerConfig::mutable_proxy_mergers() {
01312 _set_bit(2);
01313 if (proxy_mergers_ == NULL) proxy_mergers_ = new ::Lux::Config::ProxyMergers;
01314 return proxy_mergers_;
01315 }
01316
01317
01318
01319
01320 }
01321 }
01322
01323 #ifndef SWIG
01324 namespace google {
01325 namespace protobuf {
01326
01327
01328 }
01329 }
01330 #endif // SWIG
01331
01332
01333
01334 #endif // PROTOBUF_lux_2fdist_2fserver_2dconfig_2eproto__INCLUDED