PostLAMessages.pb.h 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: PostLAMessages.proto
  3. #ifndef PROTOBUF_PostLAMessages_2eproto__INCLUDED
  4. #define PROTOBUF_PostLAMessages_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2006000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. // @@protoc_insertion_point(includes)
  23. // Internal implementation detail -- do not call these.
  24. void protobuf_AddDesc_PostLAMessages_2eproto();
  25. void protobuf_AssignDesc_PostLAMessages_2eproto();
  26. void protobuf_ShutdownFile_PostLAMessages_2eproto();
  27. class ciphertext_data;
  28. class extension_to_decryptor_msg;
  29. class decryptor_to_extension_msg;
  30. class mitigator_header;
  31. // ===================================================================
  32. class ciphertext_data : public ::google::protobuf::Message {
  33. public:
  34. ciphertext_data();
  35. virtual ~ciphertext_data();
  36. ciphertext_data(const ciphertext_data& from);
  37. inline ciphertext_data& operator=(const ciphertext_data& from) {
  38. CopyFrom(from);
  39. return *this;
  40. }
  41. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  42. return _unknown_fields_;
  43. }
  44. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  45. return &_unknown_fields_;
  46. }
  47. static const ::google::protobuf::Descriptor* descriptor();
  48. static const ciphertext_data& default_instance();
  49. void Swap(ciphertext_data* other);
  50. // implements Message ----------------------------------------------
  51. ciphertext_data* New() const;
  52. void CopyFrom(const ::google::protobuf::Message& from);
  53. void MergeFrom(const ::google::protobuf::Message& from);
  54. void CopyFrom(const ciphertext_data& from);
  55. void MergeFrom(const ciphertext_data& from);
  56. void Clear();
  57. bool IsInitialized() const;
  58. int ByteSize() const;
  59. bool MergePartialFromCodedStream(
  60. ::google::protobuf::io::CodedInputStream* input);
  61. void SerializeWithCachedSizes(
  62. ::google::protobuf::io::CodedOutputStream* output) const;
  63. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  64. int GetCachedSize() const { return _cached_size_; }
  65. private:
  66. void SharedCtor();
  67. void SharedDtor();
  68. void SetCachedSize(int size) const;
  69. public:
  70. ::google::protobuf::Metadata GetMetadata() const;
  71. // nested types ----------------------------------------------------
  72. // accessors -------------------------------------------------------
  73. // required bytes field = 1;
  74. inline bool has_field() const;
  75. inline void clear_field();
  76. static const int kFieldFieldNumber = 1;
  77. inline const ::std::string& field() const;
  78. inline void set_field(const ::std::string& value);
  79. inline void set_field(const char* value);
  80. inline void set_field(const void* value, size_t size);
  81. inline ::std::string* mutable_field();
  82. inline ::std::string* release_field();
  83. inline void set_allocated_field(::std::string* field);
  84. // @@protoc_insertion_point(class_scope:ciphertext_data)
  85. private:
  86. inline void set_has_field();
  87. inline void clear_has_field();
  88. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  89. ::google::protobuf::uint32 _has_bits_[1];
  90. mutable int _cached_size_;
  91. ::std::string* field_;
  92. friend void protobuf_AddDesc_PostLAMessages_2eproto();
  93. friend void protobuf_AssignDesc_PostLAMessages_2eproto();
  94. friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
  95. void InitAsDefaultInstance();
  96. static ciphertext_data* default_instance_;
  97. };
  98. // -------------------------------------------------------------------
  99. class extension_to_decryptor_msg : public ::google::protobuf::Message {
  100. public:
  101. extension_to_decryptor_msg();
  102. virtual ~extension_to_decryptor_msg();
  103. extension_to_decryptor_msg(const extension_to_decryptor_msg& from);
  104. inline extension_to_decryptor_msg& operator=(const extension_to_decryptor_msg& from) {
  105. CopyFrom(from);
  106. return *this;
  107. }
  108. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  109. return _unknown_fields_;
  110. }
  111. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  112. return &_unknown_fields_;
  113. }
  114. static const ::google::protobuf::Descriptor* descriptor();
  115. static const extension_to_decryptor_msg& default_instance();
  116. void Swap(extension_to_decryptor_msg* other);
  117. // implements Message ----------------------------------------------
  118. extension_to_decryptor_msg* New() const;
  119. void CopyFrom(const ::google::protobuf::Message& from);
  120. void MergeFrom(const ::google::protobuf::Message& from);
  121. void CopyFrom(const extension_to_decryptor_msg& from);
  122. void MergeFrom(const extension_to_decryptor_msg& from);
  123. void Clear();
  124. bool IsInitialized() const;
  125. int ByteSize() const;
  126. bool MergePartialFromCodedStream(
  127. ::google::protobuf::io::CodedInputStream* input);
  128. void SerializeWithCachedSizes(
  129. ::google::protobuf::io::CodedOutputStream* output) const;
  130. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  131. int GetCachedSize() const { return _cached_size_; }
  132. private:
  133. void SharedCtor();
  134. void SharedDtor();
  135. void SetCachedSize(int size) const;
  136. public:
  137. ::google::protobuf::Metadata GetMetadata() const;
  138. // nested types ----------------------------------------------------
  139. // accessors -------------------------------------------------------
  140. // required bytes ciphertext_client_public_key = 1;
  141. inline bool has_ciphertext_client_public_key() const;
  142. inline void clear_ciphertext_client_public_key();
  143. static const int kCiphertextClientPublicKeyFieldNumber = 1;
  144. inline const ::std::string& ciphertext_client_public_key() const;
  145. inline void set_ciphertext_client_public_key(const ::std::string& value);
  146. inline void set_ciphertext_client_public_key(const char* value);
  147. inline void set_ciphertext_client_public_key(const void* value, size_t size);
  148. inline ::std::string* mutable_ciphertext_client_public_key();
  149. inline ::std::string* release_ciphertext_client_public_key();
  150. inline void set_allocated_ciphertext_client_public_key(::std::string* ciphertext_client_public_key);
  151. // repeated .ciphertext_data fields = 2;
  152. inline int fields_size() const;
  153. inline void clear_fields();
  154. static const int kFieldsFieldNumber = 2;
  155. inline const ::ciphertext_data& fields(int index) const;
  156. inline ::ciphertext_data* mutable_fields(int index);
  157. inline ::ciphertext_data* add_fields();
  158. inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
  159. fields() const;
  160. inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
  161. mutable_fields();
  162. // @@protoc_insertion_point(class_scope:extension_to_decryptor_msg)
  163. private:
  164. inline void set_has_ciphertext_client_public_key();
  165. inline void clear_has_ciphertext_client_public_key();
  166. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  167. ::google::protobuf::uint32 _has_bits_[1];
  168. mutable int _cached_size_;
  169. ::std::string* ciphertext_client_public_key_;
  170. ::google::protobuf::RepeatedPtrField< ::ciphertext_data > fields_;
  171. friend void protobuf_AddDesc_PostLAMessages_2eproto();
  172. friend void protobuf_AssignDesc_PostLAMessages_2eproto();
  173. friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
  174. void InitAsDefaultInstance();
  175. static extension_to_decryptor_msg* default_instance_;
  176. };
  177. // -------------------------------------------------------------------
  178. class decryptor_to_extension_msg : public ::google::protobuf::Message {
  179. public:
  180. decryptor_to_extension_msg();
  181. virtual ~decryptor_to_extension_msg();
  182. decryptor_to_extension_msg(const decryptor_to_extension_msg& from);
  183. inline decryptor_to_extension_msg& operator=(const decryptor_to_extension_msg& from) {
  184. CopyFrom(from);
  185. return *this;
  186. }
  187. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  188. return _unknown_fields_;
  189. }
  190. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  191. return &_unknown_fields_;
  192. }
  193. static const ::google::protobuf::Descriptor* descriptor();
  194. static const decryptor_to_extension_msg& default_instance();
  195. void Swap(decryptor_to_extension_msg* other);
  196. // implements Message ----------------------------------------------
  197. decryptor_to_extension_msg* New() const;
  198. void CopyFrom(const ::google::protobuf::Message& from);
  199. void MergeFrom(const ::google::protobuf::Message& from);
  200. void CopyFrom(const decryptor_to_extension_msg& from);
  201. void MergeFrom(const decryptor_to_extension_msg& from);
  202. void Clear();
  203. bool IsInitialized() const;
  204. int ByteSize() const;
  205. bool MergePartialFromCodedStream(
  206. ::google::protobuf::io::CodedInputStream* input);
  207. void SerializeWithCachedSizes(
  208. ::google::protobuf::io::CodedOutputStream* output) const;
  209. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  210. int GetCachedSize() const { return _cached_size_; }
  211. private:
  212. void SharedCtor();
  213. void SharedDtor();
  214. void SetCachedSize(int size) const;
  215. public:
  216. ::google::protobuf::Metadata GetMetadata() const;
  217. // nested types ----------------------------------------------------
  218. // accessors -------------------------------------------------------
  219. // repeated .ciphertext_data fields = 1;
  220. inline int fields_size() const;
  221. inline void clear_fields();
  222. static const int kFieldsFieldNumber = 1;
  223. inline const ::ciphertext_data& fields(int index) const;
  224. inline ::ciphertext_data* mutable_fields(int index);
  225. inline ::ciphertext_data* add_fields();
  226. inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
  227. fields() const;
  228. inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
  229. mutable_fields();
  230. // @@protoc_insertion_point(class_scope:decryptor_to_extension_msg)
  231. private:
  232. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  233. ::google::protobuf::uint32 _has_bits_[1];
  234. mutable int _cached_size_;
  235. ::google::protobuf::RepeatedPtrField< ::ciphertext_data > fields_;
  236. friend void protobuf_AddDesc_PostLAMessages_2eproto();
  237. friend void protobuf_AssignDesc_PostLAMessages_2eproto();
  238. friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
  239. void InitAsDefaultInstance();
  240. static decryptor_to_extension_msg* default_instance_;
  241. };
  242. // -------------------------------------------------------------------
  243. class mitigator_header : public ::google::protobuf::Message {
  244. public:
  245. mitigator_header();
  246. virtual ~mitigator_header();
  247. mitigator_header(const mitigator_header& from);
  248. inline mitigator_header& operator=(const mitigator_header& from) {
  249. CopyFrom(from);
  250. return *this;
  251. }
  252. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  253. return _unknown_fields_;
  254. }
  255. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  256. return &_unknown_fields_;
  257. }
  258. static const ::google::protobuf::Descriptor* descriptor();
  259. static const mitigator_header& default_instance();
  260. void Swap(mitigator_header* other);
  261. // implements Message ----------------------------------------------
  262. mitigator_header* New() const;
  263. void CopyFrom(const ::google::protobuf::Message& from);
  264. void MergeFrom(const ::google::protobuf::Message& from);
  265. void CopyFrom(const mitigator_header& from);
  266. void MergeFrom(const mitigator_header& from);
  267. void Clear();
  268. bool IsInitialized() const;
  269. int ByteSize() const;
  270. bool MergePartialFromCodedStream(
  271. ::google::protobuf::io::CodedInputStream* input);
  272. void SerializeWithCachedSizes(
  273. ::google::protobuf::io::CodedOutputStream* output) const;
  274. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  275. int GetCachedSize() const { return _cached_size_; }
  276. private:
  277. void SharedCtor();
  278. void SharedDtor();
  279. void SetCachedSize(int size) const;
  280. public:
  281. ::google::protobuf::Metadata GetMetadata() const;
  282. // nested types ----------------------------------------------------
  283. // accessors -------------------------------------------------------
  284. // required bytes name = 1;
  285. inline bool has_name() const;
  286. inline void clear_name();
  287. static const int kNameFieldNumber = 1;
  288. inline const ::std::string& name() const;
  289. inline void set_name(const ::std::string& value);
  290. inline void set_name(const char* value);
  291. inline void set_name(const void* value, size_t size);
  292. inline ::std::string* mutable_name();
  293. inline ::std::string* release_name();
  294. inline void set_allocated_name(::std::string* name);
  295. // required bytes value = 2;
  296. inline bool has_value() const;
  297. inline void clear_value();
  298. static const int kValueFieldNumber = 2;
  299. inline const ::std::string& value() const;
  300. inline void set_value(const ::std::string& value);
  301. inline void set_value(const char* value);
  302. inline void set_value(const void* value, size_t size);
  303. inline ::std::string* mutable_value();
  304. inline ::std::string* release_value();
  305. inline void set_allocated_value(::std::string* value);
  306. // @@protoc_insertion_point(class_scope:mitigator_header)
  307. private:
  308. inline void set_has_name();
  309. inline void clear_has_name();
  310. inline void set_has_value();
  311. inline void clear_has_value();
  312. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  313. ::google::protobuf::uint32 _has_bits_[1];
  314. mutable int _cached_size_;
  315. ::std::string* name_;
  316. ::std::string* value_;
  317. friend void protobuf_AddDesc_PostLAMessages_2eproto();
  318. friend void protobuf_AssignDesc_PostLAMessages_2eproto();
  319. friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
  320. void InitAsDefaultInstance();
  321. static mitigator_header* default_instance_;
  322. };
  323. // ===================================================================
  324. // ===================================================================
  325. // ciphertext_data
  326. // required bytes field = 1;
  327. inline bool ciphertext_data::has_field() const {
  328. return (_has_bits_[0] & 0x00000001u) != 0;
  329. }
  330. inline void ciphertext_data::set_has_field() {
  331. _has_bits_[0] |= 0x00000001u;
  332. }
  333. inline void ciphertext_data::clear_has_field() {
  334. _has_bits_[0] &= ~0x00000001u;
  335. }
  336. inline void ciphertext_data::clear_field() {
  337. if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  338. field_->clear();
  339. }
  340. clear_has_field();
  341. }
  342. inline const ::std::string& ciphertext_data::field() const {
  343. // @@protoc_insertion_point(field_get:ciphertext_data.field)
  344. return *field_;
  345. }
  346. inline void ciphertext_data::set_field(const ::std::string& value) {
  347. set_has_field();
  348. if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  349. field_ = new ::std::string;
  350. }
  351. field_->assign(value);
  352. // @@protoc_insertion_point(field_set:ciphertext_data.field)
  353. }
  354. inline void ciphertext_data::set_field(const char* value) {
  355. set_has_field();
  356. if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  357. field_ = new ::std::string;
  358. }
  359. field_->assign(value);
  360. // @@protoc_insertion_point(field_set_char:ciphertext_data.field)
  361. }
  362. inline void ciphertext_data::set_field(const void* value, size_t size) {
  363. set_has_field();
  364. if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  365. field_ = new ::std::string;
  366. }
  367. field_->assign(reinterpret_cast<const char*>(value), size);
  368. // @@protoc_insertion_point(field_set_pointer:ciphertext_data.field)
  369. }
  370. inline ::std::string* ciphertext_data::mutable_field() {
  371. set_has_field();
  372. if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  373. field_ = new ::std::string;
  374. }
  375. // @@protoc_insertion_point(field_mutable:ciphertext_data.field)
  376. return field_;
  377. }
  378. inline ::std::string* ciphertext_data::release_field() {
  379. clear_has_field();
  380. if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  381. return NULL;
  382. } else {
  383. ::std::string* temp = field_;
  384. field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  385. return temp;
  386. }
  387. }
  388. inline void ciphertext_data::set_allocated_field(::std::string* field) {
  389. if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  390. delete field_;
  391. }
  392. if (field) {
  393. set_has_field();
  394. field_ = field;
  395. } else {
  396. clear_has_field();
  397. field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  398. }
  399. // @@protoc_insertion_point(field_set_allocated:ciphertext_data.field)
  400. }
  401. // -------------------------------------------------------------------
  402. // extension_to_decryptor_msg
  403. // required bytes ciphertext_client_public_key = 1;
  404. inline bool extension_to_decryptor_msg::has_ciphertext_client_public_key() const {
  405. return (_has_bits_[0] & 0x00000001u) != 0;
  406. }
  407. inline void extension_to_decryptor_msg::set_has_ciphertext_client_public_key() {
  408. _has_bits_[0] |= 0x00000001u;
  409. }
  410. inline void extension_to_decryptor_msg::clear_has_ciphertext_client_public_key() {
  411. _has_bits_[0] &= ~0x00000001u;
  412. }
  413. inline void extension_to_decryptor_msg::clear_ciphertext_client_public_key() {
  414. if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  415. ciphertext_client_public_key_->clear();
  416. }
  417. clear_has_ciphertext_client_public_key();
  418. }
  419. inline const ::std::string& extension_to_decryptor_msg::ciphertext_client_public_key() const {
  420. // @@protoc_insertion_point(field_get:extension_to_decryptor_msg.ciphertext_client_public_key)
  421. return *ciphertext_client_public_key_;
  422. }
  423. inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const ::std::string& value) {
  424. set_has_ciphertext_client_public_key();
  425. if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  426. ciphertext_client_public_key_ = new ::std::string;
  427. }
  428. ciphertext_client_public_key_->assign(value);
  429. // @@protoc_insertion_point(field_set:extension_to_decryptor_msg.ciphertext_client_public_key)
  430. }
  431. inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const char* value) {
  432. set_has_ciphertext_client_public_key();
  433. if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  434. ciphertext_client_public_key_ = new ::std::string;
  435. }
  436. ciphertext_client_public_key_->assign(value);
  437. // @@protoc_insertion_point(field_set_char:extension_to_decryptor_msg.ciphertext_client_public_key)
  438. }
  439. inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const void* value, size_t size) {
  440. set_has_ciphertext_client_public_key();
  441. if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  442. ciphertext_client_public_key_ = new ::std::string;
  443. }
  444. ciphertext_client_public_key_->assign(reinterpret_cast<const char*>(value), size);
  445. // @@protoc_insertion_point(field_set_pointer:extension_to_decryptor_msg.ciphertext_client_public_key)
  446. }
  447. inline ::std::string* extension_to_decryptor_msg::mutable_ciphertext_client_public_key() {
  448. set_has_ciphertext_client_public_key();
  449. if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  450. ciphertext_client_public_key_ = new ::std::string;
  451. }
  452. // @@protoc_insertion_point(field_mutable:extension_to_decryptor_msg.ciphertext_client_public_key)
  453. return ciphertext_client_public_key_;
  454. }
  455. inline ::std::string* extension_to_decryptor_msg::release_ciphertext_client_public_key() {
  456. clear_has_ciphertext_client_public_key();
  457. if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  458. return NULL;
  459. } else {
  460. ::std::string* temp = ciphertext_client_public_key_;
  461. ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  462. return temp;
  463. }
  464. }
  465. inline void extension_to_decryptor_msg::set_allocated_ciphertext_client_public_key(::std::string* ciphertext_client_public_key) {
  466. if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  467. delete ciphertext_client_public_key_;
  468. }
  469. if (ciphertext_client_public_key) {
  470. set_has_ciphertext_client_public_key();
  471. ciphertext_client_public_key_ = ciphertext_client_public_key;
  472. } else {
  473. clear_has_ciphertext_client_public_key();
  474. ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  475. }
  476. // @@protoc_insertion_point(field_set_allocated:extension_to_decryptor_msg.ciphertext_client_public_key)
  477. }
  478. // repeated .ciphertext_data fields = 2;
  479. inline int extension_to_decryptor_msg::fields_size() const {
  480. return fields_.size();
  481. }
  482. inline void extension_to_decryptor_msg::clear_fields() {
  483. fields_.Clear();
  484. }
  485. inline const ::ciphertext_data& extension_to_decryptor_msg::fields(int index) const {
  486. // @@protoc_insertion_point(field_get:extension_to_decryptor_msg.fields)
  487. return fields_.Get(index);
  488. }
  489. inline ::ciphertext_data* extension_to_decryptor_msg::mutable_fields(int index) {
  490. // @@protoc_insertion_point(field_mutable:extension_to_decryptor_msg.fields)
  491. return fields_.Mutable(index);
  492. }
  493. inline ::ciphertext_data* extension_to_decryptor_msg::add_fields() {
  494. // @@protoc_insertion_point(field_add:extension_to_decryptor_msg.fields)
  495. return fields_.Add();
  496. }
  497. inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
  498. extension_to_decryptor_msg::fields() const {
  499. // @@protoc_insertion_point(field_list:extension_to_decryptor_msg.fields)
  500. return fields_;
  501. }
  502. inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
  503. extension_to_decryptor_msg::mutable_fields() {
  504. // @@protoc_insertion_point(field_mutable_list:extension_to_decryptor_msg.fields)
  505. return &fields_;
  506. }
  507. // -------------------------------------------------------------------
  508. // decryptor_to_extension_msg
  509. // repeated .ciphertext_data fields = 1;
  510. inline int decryptor_to_extension_msg::fields_size() const {
  511. return fields_.size();
  512. }
  513. inline void decryptor_to_extension_msg::clear_fields() {
  514. fields_.Clear();
  515. }
  516. inline const ::ciphertext_data& decryptor_to_extension_msg::fields(int index) const {
  517. // @@protoc_insertion_point(field_get:decryptor_to_extension_msg.fields)
  518. return fields_.Get(index);
  519. }
  520. inline ::ciphertext_data* decryptor_to_extension_msg::mutable_fields(int index) {
  521. // @@protoc_insertion_point(field_mutable:decryptor_to_extension_msg.fields)
  522. return fields_.Mutable(index);
  523. }
  524. inline ::ciphertext_data* decryptor_to_extension_msg::add_fields() {
  525. // @@protoc_insertion_point(field_add:decryptor_to_extension_msg.fields)
  526. return fields_.Add();
  527. }
  528. inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
  529. decryptor_to_extension_msg::fields() const {
  530. // @@protoc_insertion_point(field_list:decryptor_to_extension_msg.fields)
  531. return fields_;
  532. }
  533. inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
  534. decryptor_to_extension_msg::mutable_fields() {
  535. // @@protoc_insertion_point(field_mutable_list:decryptor_to_extension_msg.fields)
  536. return &fields_;
  537. }
  538. // -------------------------------------------------------------------
  539. // mitigator_header
  540. // required bytes name = 1;
  541. inline bool mitigator_header::has_name() const {
  542. return (_has_bits_[0] & 0x00000001u) != 0;
  543. }
  544. inline void mitigator_header::set_has_name() {
  545. _has_bits_[0] |= 0x00000001u;
  546. }
  547. inline void mitigator_header::clear_has_name() {
  548. _has_bits_[0] &= ~0x00000001u;
  549. }
  550. inline void mitigator_header::clear_name() {
  551. if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  552. name_->clear();
  553. }
  554. clear_has_name();
  555. }
  556. inline const ::std::string& mitigator_header::name() const {
  557. // @@protoc_insertion_point(field_get:mitigator_header.name)
  558. return *name_;
  559. }
  560. inline void mitigator_header::set_name(const ::std::string& value) {
  561. set_has_name();
  562. if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  563. name_ = new ::std::string;
  564. }
  565. name_->assign(value);
  566. // @@protoc_insertion_point(field_set:mitigator_header.name)
  567. }
  568. inline void mitigator_header::set_name(const char* value) {
  569. set_has_name();
  570. if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  571. name_ = new ::std::string;
  572. }
  573. name_->assign(value);
  574. // @@protoc_insertion_point(field_set_char:mitigator_header.name)
  575. }
  576. inline void mitigator_header::set_name(const void* value, size_t size) {
  577. set_has_name();
  578. if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  579. name_ = new ::std::string;
  580. }
  581. name_->assign(reinterpret_cast<const char*>(value), size);
  582. // @@protoc_insertion_point(field_set_pointer:mitigator_header.name)
  583. }
  584. inline ::std::string* mitigator_header::mutable_name() {
  585. set_has_name();
  586. if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  587. name_ = new ::std::string;
  588. }
  589. // @@protoc_insertion_point(field_mutable:mitigator_header.name)
  590. return name_;
  591. }
  592. inline ::std::string* mitigator_header::release_name() {
  593. clear_has_name();
  594. if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  595. return NULL;
  596. } else {
  597. ::std::string* temp = name_;
  598. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  599. return temp;
  600. }
  601. }
  602. inline void mitigator_header::set_allocated_name(::std::string* name) {
  603. if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  604. delete name_;
  605. }
  606. if (name) {
  607. set_has_name();
  608. name_ = name;
  609. } else {
  610. clear_has_name();
  611. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  612. }
  613. // @@protoc_insertion_point(field_set_allocated:mitigator_header.name)
  614. }
  615. // required bytes value = 2;
  616. inline bool mitigator_header::has_value() const {
  617. return (_has_bits_[0] & 0x00000002u) != 0;
  618. }
  619. inline void mitigator_header::set_has_value() {
  620. _has_bits_[0] |= 0x00000002u;
  621. }
  622. inline void mitigator_header::clear_has_value() {
  623. _has_bits_[0] &= ~0x00000002u;
  624. }
  625. inline void mitigator_header::clear_value() {
  626. if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  627. value_->clear();
  628. }
  629. clear_has_value();
  630. }
  631. inline const ::std::string& mitigator_header::value() const {
  632. // @@protoc_insertion_point(field_get:mitigator_header.value)
  633. return *value_;
  634. }
  635. inline void mitigator_header::set_value(const ::std::string& value) {
  636. set_has_value();
  637. if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  638. value_ = new ::std::string;
  639. }
  640. value_->assign(value);
  641. // @@protoc_insertion_point(field_set:mitigator_header.value)
  642. }
  643. inline void mitigator_header::set_value(const char* value) {
  644. set_has_value();
  645. if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  646. value_ = new ::std::string;
  647. }
  648. value_->assign(value);
  649. // @@protoc_insertion_point(field_set_char:mitigator_header.value)
  650. }
  651. inline void mitigator_header::set_value(const void* value, size_t size) {
  652. set_has_value();
  653. if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  654. value_ = new ::std::string;
  655. }
  656. value_->assign(reinterpret_cast<const char*>(value), size);
  657. // @@protoc_insertion_point(field_set_pointer:mitigator_header.value)
  658. }
  659. inline ::std::string* mitigator_header::mutable_value() {
  660. set_has_value();
  661. if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  662. value_ = new ::std::string;
  663. }
  664. // @@protoc_insertion_point(field_mutable:mitigator_header.value)
  665. return value_;
  666. }
  667. inline ::std::string* mitigator_header::release_value() {
  668. clear_has_value();
  669. if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  670. return NULL;
  671. } else {
  672. ::std::string* temp = value_;
  673. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  674. return temp;
  675. }
  676. }
  677. inline void mitigator_header::set_allocated_value(::std::string* value) {
  678. if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  679. delete value_;
  680. }
  681. if (value) {
  682. set_has_value();
  683. value_ = value;
  684. } else {
  685. clear_has_value();
  686. value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  687. }
  688. // @@protoc_insertion_point(field_set_allocated:mitigator_header.value)
  689. }
  690. // @@protoc_insertion_point(namespace_scope)
  691. #ifndef SWIG
  692. namespace google {
  693. namespace protobuf {
  694. } // namespace google
  695. } // namespace protobuf
  696. #endif // SWIG
  697. // @@protoc_insertion_point(global_scope)
  698. #endif // PROTOBUF_PostLAMessages_2eproto__INCLUDED