ProtobufLAMessages.pb.h 91 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: ProtobufLAMessages.proto
  3. #ifndef PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED
  4. #define PROTOBUF_ProtobufLAMessages_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_lite.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. // @@protoc_insertion_point(includes)
  22. // Internal implementation detail -- do not call these.
  23. void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  24. void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  25. void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  26. class protobuf_sgx_attributes_t;
  27. class protobuf_sgx_ec256_public_t;
  28. class protobuf_sgx_report_body_t;
  29. class protobuf_sgx_report_t;
  30. class protobuf_sgx_target_info_t;
  31. class protobuf_sgx_dh_msg1_t;
  32. class protobuf_sgx_dh_msg2_t;
  33. class protobuf_sgx_dh_msg3_body_t;
  34. class protobuf_sgx_dh_msg3_t;
  35. class protobuf_post_LA_encrypted_msg_t;
  36. // ===================================================================
  37. class protobuf_sgx_attributes_t : public ::google::protobuf::MessageLite {
  38. public:
  39. protobuf_sgx_attributes_t();
  40. virtual ~protobuf_sgx_attributes_t();
  41. protobuf_sgx_attributes_t(const protobuf_sgx_attributes_t& from);
  42. inline protobuf_sgx_attributes_t& operator=(const protobuf_sgx_attributes_t& from) {
  43. CopyFrom(from);
  44. return *this;
  45. }
  46. inline const ::std::string& unknown_fields() const {
  47. return _unknown_fields_;
  48. }
  49. inline ::std::string* mutable_unknown_fields() {
  50. return &_unknown_fields_;
  51. }
  52. static const protobuf_sgx_attributes_t& default_instance();
  53. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  54. // Returns the internal default instance pointer. This function can
  55. // return NULL thus should not be used by the user. This is intended
  56. // for Protobuf internal code. Please use default_instance() declared
  57. // above instead.
  58. static inline const protobuf_sgx_attributes_t* internal_default_instance() {
  59. return default_instance_;
  60. }
  61. #endif
  62. void Swap(protobuf_sgx_attributes_t* other);
  63. // implements Message ----------------------------------------------
  64. protobuf_sgx_attributes_t* New() const;
  65. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  66. void CopyFrom(const protobuf_sgx_attributes_t& from);
  67. void MergeFrom(const protobuf_sgx_attributes_t& from);
  68. void Clear();
  69. bool IsInitialized() const;
  70. int ByteSize() const;
  71. bool MergePartialFromCodedStream(
  72. ::google::protobuf::io::CodedInputStream* input);
  73. void SerializeWithCachedSizes(
  74. ::google::protobuf::io::CodedOutputStream* output) const;
  75. void DiscardUnknownFields();
  76. int GetCachedSize() const { return _cached_size_; }
  77. private:
  78. void SharedCtor();
  79. void SharedDtor();
  80. void SetCachedSize(int size) const;
  81. public:
  82. ::std::string GetTypeName() const;
  83. // nested types ----------------------------------------------------
  84. // accessors -------------------------------------------------------
  85. // required uint64 flags = 1;
  86. inline bool has_flags() const;
  87. inline void clear_flags();
  88. static const int kFlagsFieldNumber = 1;
  89. inline ::google::protobuf::uint64 flags() const;
  90. inline void set_flags(::google::protobuf::uint64 value);
  91. // required uint64 xfrm = 2;
  92. inline bool has_xfrm() const;
  93. inline void clear_xfrm();
  94. static const int kXfrmFieldNumber = 2;
  95. inline ::google::protobuf::uint64 xfrm() const;
  96. inline void set_xfrm(::google::protobuf::uint64 value);
  97. // @@protoc_insertion_point(class_scope:protobuf_sgx_attributes_t)
  98. private:
  99. inline void set_has_flags();
  100. inline void clear_has_flags();
  101. inline void set_has_xfrm();
  102. inline void clear_has_xfrm();
  103. ::std::string _unknown_fields_;
  104. ::google::protobuf::uint32 _has_bits_[1];
  105. mutable int _cached_size_;
  106. ::google::protobuf::uint64 flags_;
  107. ::google::protobuf::uint64 xfrm_;
  108. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  109. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  110. #else
  111. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  112. #endif
  113. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  114. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  115. void InitAsDefaultInstance();
  116. static protobuf_sgx_attributes_t* default_instance_;
  117. };
  118. // -------------------------------------------------------------------
  119. class protobuf_sgx_ec256_public_t : public ::google::protobuf::MessageLite {
  120. public:
  121. protobuf_sgx_ec256_public_t();
  122. virtual ~protobuf_sgx_ec256_public_t();
  123. protobuf_sgx_ec256_public_t(const protobuf_sgx_ec256_public_t& from);
  124. inline protobuf_sgx_ec256_public_t& operator=(const protobuf_sgx_ec256_public_t& from) {
  125. CopyFrom(from);
  126. return *this;
  127. }
  128. inline const ::std::string& unknown_fields() const {
  129. return _unknown_fields_;
  130. }
  131. inline ::std::string* mutable_unknown_fields() {
  132. return &_unknown_fields_;
  133. }
  134. static const protobuf_sgx_ec256_public_t& default_instance();
  135. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  136. // Returns the internal default instance pointer. This function can
  137. // return NULL thus should not be used by the user. This is intended
  138. // for Protobuf internal code. Please use default_instance() declared
  139. // above instead.
  140. static inline const protobuf_sgx_ec256_public_t* internal_default_instance() {
  141. return default_instance_;
  142. }
  143. #endif
  144. void Swap(protobuf_sgx_ec256_public_t* other);
  145. // implements Message ----------------------------------------------
  146. protobuf_sgx_ec256_public_t* New() const;
  147. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  148. void CopyFrom(const protobuf_sgx_ec256_public_t& from);
  149. void MergeFrom(const protobuf_sgx_ec256_public_t& from);
  150. void Clear();
  151. bool IsInitialized() const;
  152. int ByteSize() const;
  153. bool MergePartialFromCodedStream(
  154. ::google::protobuf::io::CodedInputStream* input);
  155. void SerializeWithCachedSizes(
  156. ::google::protobuf::io::CodedOutputStream* output) const;
  157. void DiscardUnknownFields();
  158. int GetCachedSize() const { return _cached_size_; }
  159. private:
  160. void SharedCtor();
  161. void SharedDtor();
  162. void SetCachedSize(int size) const;
  163. public:
  164. ::std::string GetTypeName() const;
  165. // nested types ----------------------------------------------------
  166. // accessors -------------------------------------------------------
  167. // repeated uint32 gx = 1 [packed = true];
  168. inline int gx_size() const;
  169. inline void clear_gx();
  170. static const int kGxFieldNumber = 1;
  171. inline ::google::protobuf::uint32 gx(int index) const;
  172. inline void set_gx(int index, ::google::protobuf::uint32 value);
  173. inline void add_gx(::google::protobuf::uint32 value);
  174. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  175. gx() const;
  176. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  177. mutable_gx();
  178. // repeated uint32 gy = 2 [packed = true];
  179. inline int gy_size() const;
  180. inline void clear_gy();
  181. static const int kGyFieldNumber = 2;
  182. inline ::google::protobuf::uint32 gy(int index) const;
  183. inline void set_gy(int index, ::google::protobuf::uint32 value);
  184. inline void add_gy(::google::protobuf::uint32 value);
  185. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  186. gy() const;
  187. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  188. mutable_gy();
  189. // @@protoc_insertion_point(class_scope:protobuf_sgx_ec256_public_t)
  190. private:
  191. ::std::string _unknown_fields_;
  192. ::google::protobuf::uint32 _has_bits_[1];
  193. mutable int _cached_size_;
  194. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > gx_;
  195. mutable int _gx_cached_byte_size_;
  196. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > gy_;
  197. mutable int _gy_cached_byte_size_;
  198. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  199. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  200. #else
  201. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  202. #endif
  203. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  204. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  205. void InitAsDefaultInstance();
  206. static protobuf_sgx_ec256_public_t* default_instance_;
  207. };
  208. // -------------------------------------------------------------------
  209. class protobuf_sgx_report_body_t : public ::google::protobuf::MessageLite {
  210. public:
  211. protobuf_sgx_report_body_t();
  212. virtual ~protobuf_sgx_report_body_t();
  213. protobuf_sgx_report_body_t(const protobuf_sgx_report_body_t& from);
  214. inline protobuf_sgx_report_body_t& operator=(const protobuf_sgx_report_body_t& from) {
  215. CopyFrom(from);
  216. return *this;
  217. }
  218. inline const ::std::string& unknown_fields() const {
  219. return _unknown_fields_;
  220. }
  221. inline ::std::string* mutable_unknown_fields() {
  222. return &_unknown_fields_;
  223. }
  224. static const protobuf_sgx_report_body_t& default_instance();
  225. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  226. // Returns the internal default instance pointer. This function can
  227. // return NULL thus should not be used by the user. This is intended
  228. // for Protobuf internal code. Please use default_instance() declared
  229. // above instead.
  230. static inline const protobuf_sgx_report_body_t* internal_default_instance() {
  231. return default_instance_;
  232. }
  233. #endif
  234. void Swap(protobuf_sgx_report_body_t* other);
  235. // implements Message ----------------------------------------------
  236. protobuf_sgx_report_body_t* New() const;
  237. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  238. void CopyFrom(const protobuf_sgx_report_body_t& from);
  239. void MergeFrom(const protobuf_sgx_report_body_t& from);
  240. void Clear();
  241. bool IsInitialized() const;
  242. int ByteSize() const;
  243. bool MergePartialFromCodedStream(
  244. ::google::protobuf::io::CodedInputStream* input);
  245. void SerializeWithCachedSizes(
  246. ::google::protobuf::io::CodedOutputStream* output) const;
  247. void DiscardUnknownFields();
  248. int GetCachedSize() const { return _cached_size_; }
  249. private:
  250. void SharedCtor();
  251. void SharedDtor();
  252. void SetCachedSize(int size) const;
  253. public:
  254. ::std::string GetTypeName() const;
  255. // nested types ----------------------------------------------------
  256. // accessors -------------------------------------------------------
  257. // repeated uint32 cpu_svn = 1 [packed = true];
  258. inline int cpu_svn_size() const;
  259. inline void clear_cpu_svn();
  260. static const int kCpuSvnFieldNumber = 1;
  261. inline ::google::protobuf::uint32 cpu_svn(int index) const;
  262. inline void set_cpu_svn(int index, ::google::protobuf::uint32 value);
  263. inline void add_cpu_svn(::google::protobuf::uint32 value);
  264. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  265. cpu_svn() const;
  266. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  267. mutable_cpu_svn();
  268. // required uint32 misc_select = 9;
  269. inline bool has_misc_select() const;
  270. inline void clear_misc_select();
  271. static const int kMiscSelectFieldNumber = 9;
  272. inline ::google::protobuf::uint32 misc_select() const;
  273. inline void set_misc_select(::google::protobuf::uint32 value);
  274. // repeated uint32 reserved1 = 2 [packed = true];
  275. inline int reserved1_size() const;
  276. inline void clear_reserved1();
  277. static const int kReserved1FieldNumber = 2;
  278. inline ::google::protobuf::uint32 reserved1(int index) const;
  279. inline void set_reserved1(int index, ::google::protobuf::uint32 value);
  280. inline void add_reserved1(::google::protobuf::uint32 value);
  281. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  282. reserved1() const;
  283. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  284. mutable_reserved1();
  285. // required .protobuf_sgx_attributes_t attributes = 10;
  286. inline bool has_attributes() const;
  287. inline void clear_attributes();
  288. static const int kAttributesFieldNumber = 10;
  289. inline const ::protobuf_sgx_attributes_t& attributes() const;
  290. inline ::protobuf_sgx_attributes_t* mutable_attributes();
  291. inline ::protobuf_sgx_attributes_t* release_attributes();
  292. inline void set_allocated_attributes(::protobuf_sgx_attributes_t* attributes);
  293. // repeated uint32 mr_enclave = 3 [packed = true];
  294. inline int mr_enclave_size() const;
  295. inline void clear_mr_enclave();
  296. static const int kMrEnclaveFieldNumber = 3;
  297. inline ::google::protobuf::uint32 mr_enclave(int index) const;
  298. inline void set_mr_enclave(int index, ::google::protobuf::uint32 value);
  299. inline void add_mr_enclave(::google::protobuf::uint32 value);
  300. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  301. mr_enclave() const;
  302. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  303. mutable_mr_enclave();
  304. // repeated uint32 reserved2 = 4 [packed = true];
  305. inline int reserved2_size() const;
  306. inline void clear_reserved2();
  307. static const int kReserved2FieldNumber = 4;
  308. inline ::google::protobuf::uint32 reserved2(int index) const;
  309. inline void set_reserved2(int index, ::google::protobuf::uint32 value);
  310. inline void add_reserved2(::google::protobuf::uint32 value);
  311. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  312. reserved2() const;
  313. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  314. mutable_reserved2();
  315. // repeated uint32 mr_signer = 5 [packed = true];
  316. inline int mr_signer_size() const;
  317. inline void clear_mr_signer();
  318. static const int kMrSignerFieldNumber = 5;
  319. inline ::google::protobuf::uint32 mr_signer(int index) const;
  320. inline void set_mr_signer(int index, ::google::protobuf::uint32 value);
  321. inline void add_mr_signer(::google::protobuf::uint32 value);
  322. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  323. mr_signer() const;
  324. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  325. mutable_mr_signer();
  326. // repeated uint32 reserved3 = 6 [packed = true];
  327. inline int reserved3_size() const;
  328. inline void clear_reserved3();
  329. static const int kReserved3FieldNumber = 6;
  330. inline ::google::protobuf::uint32 reserved3(int index) const;
  331. inline void set_reserved3(int index, ::google::protobuf::uint32 value);
  332. inline void add_reserved3(::google::protobuf::uint32 value);
  333. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  334. reserved3() const;
  335. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  336. mutable_reserved3();
  337. // required uint32 isv_prod_id = 11;
  338. inline bool has_isv_prod_id() const;
  339. inline void clear_isv_prod_id();
  340. static const int kIsvProdIdFieldNumber = 11;
  341. inline ::google::protobuf::uint32 isv_prod_id() const;
  342. inline void set_isv_prod_id(::google::protobuf::uint32 value);
  343. // required uint32 isv_svn = 12;
  344. inline bool has_isv_svn() const;
  345. inline void clear_isv_svn();
  346. static const int kIsvSvnFieldNumber = 12;
  347. inline ::google::protobuf::uint32 isv_svn() const;
  348. inline void set_isv_svn(::google::protobuf::uint32 value);
  349. // repeated uint32 reserved4 = 7 [packed = true];
  350. inline int reserved4_size() const;
  351. inline void clear_reserved4();
  352. static const int kReserved4FieldNumber = 7;
  353. inline ::google::protobuf::uint32 reserved4(int index) const;
  354. inline void set_reserved4(int index, ::google::protobuf::uint32 value);
  355. inline void add_reserved4(::google::protobuf::uint32 value);
  356. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  357. reserved4() const;
  358. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  359. mutable_reserved4();
  360. // repeated uint32 report_data = 8 [packed = true];
  361. inline int report_data_size() const;
  362. inline void clear_report_data();
  363. static const int kReportDataFieldNumber = 8;
  364. inline ::google::protobuf::uint32 report_data(int index) const;
  365. inline void set_report_data(int index, ::google::protobuf::uint32 value);
  366. inline void add_report_data(::google::protobuf::uint32 value);
  367. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  368. report_data() const;
  369. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  370. mutable_report_data();
  371. // @@protoc_insertion_point(class_scope:protobuf_sgx_report_body_t)
  372. private:
  373. inline void set_has_misc_select();
  374. inline void clear_has_misc_select();
  375. inline void set_has_attributes();
  376. inline void clear_has_attributes();
  377. inline void set_has_isv_prod_id();
  378. inline void clear_has_isv_prod_id();
  379. inline void set_has_isv_svn();
  380. inline void clear_has_isv_svn();
  381. ::std::string _unknown_fields_;
  382. ::google::protobuf::uint32 _has_bits_[1];
  383. mutable int _cached_size_;
  384. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cpu_svn_;
  385. mutable int _cpu_svn_cached_byte_size_;
  386. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved1_;
  387. mutable int _reserved1_cached_byte_size_;
  388. ::protobuf_sgx_attributes_t* attributes_;
  389. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_enclave_;
  390. mutable int _mr_enclave_cached_byte_size_;
  391. ::google::protobuf::uint32 misc_select_;
  392. ::google::protobuf::uint32 isv_prod_id_;
  393. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved2_;
  394. mutable int _reserved2_cached_byte_size_;
  395. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_signer_;
  396. mutable int _mr_signer_cached_byte_size_;
  397. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved3_;
  398. mutable int _reserved3_cached_byte_size_;
  399. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved4_;
  400. mutable int _reserved4_cached_byte_size_;
  401. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > report_data_;
  402. mutable int _report_data_cached_byte_size_;
  403. ::google::protobuf::uint32 isv_svn_;
  404. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  405. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  406. #else
  407. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  408. #endif
  409. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  410. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  411. void InitAsDefaultInstance();
  412. static protobuf_sgx_report_body_t* default_instance_;
  413. };
  414. // -------------------------------------------------------------------
  415. class protobuf_sgx_report_t : public ::google::protobuf::MessageLite {
  416. public:
  417. protobuf_sgx_report_t();
  418. virtual ~protobuf_sgx_report_t();
  419. protobuf_sgx_report_t(const protobuf_sgx_report_t& from);
  420. inline protobuf_sgx_report_t& operator=(const protobuf_sgx_report_t& from) {
  421. CopyFrom(from);
  422. return *this;
  423. }
  424. inline const ::std::string& unknown_fields() const {
  425. return _unknown_fields_;
  426. }
  427. inline ::std::string* mutable_unknown_fields() {
  428. return &_unknown_fields_;
  429. }
  430. static const protobuf_sgx_report_t& default_instance();
  431. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  432. // Returns the internal default instance pointer. This function can
  433. // return NULL thus should not be used by the user. This is intended
  434. // for Protobuf internal code. Please use default_instance() declared
  435. // above instead.
  436. static inline const protobuf_sgx_report_t* internal_default_instance() {
  437. return default_instance_;
  438. }
  439. #endif
  440. void Swap(protobuf_sgx_report_t* other);
  441. // implements Message ----------------------------------------------
  442. protobuf_sgx_report_t* New() const;
  443. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  444. void CopyFrom(const protobuf_sgx_report_t& from);
  445. void MergeFrom(const protobuf_sgx_report_t& from);
  446. void Clear();
  447. bool IsInitialized() const;
  448. int ByteSize() const;
  449. bool MergePartialFromCodedStream(
  450. ::google::protobuf::io::CodedInputStream* input);
  451. void SerializeWithCachedSizes(
  452. ::google::protobuf::io::CodedOutputStream* output) const;
  453. void DiscardUnknownFields();
  454. int GetCachedSize() const { return _cached_size_; }
  455. private:
  456. void SharedCtor();
  457. void SharedDtor();
  458. void SetCachedSize(int size) const;
  459. public:
  460. ::std::string GetTypeName() const;
  461. // nested types ----------------------------------------------------
  462. // accessors -------------------------------------------------------
  463. // required .protobuf_sgx_report_body_t body = 1;
  464. inline bool has_body() const;
  465. inline void clear_body();
  466. static const int kBodyFieldNumber = 1;
  467. inline const ::protobuf_sgx_report_body_t& body() const;
  468. inline ::protobuf_sgx_report_body_t* mutable_body();
  469. inline ::protobuf_sgx_report_body_t* release_body();
  470. inline void set_allocated_body(::protobuf_sgx_report_body_t* body);
  471. // repeated uint32 key_id = 2 [packed = true];
  472. inline int key_id_size() const;
  473. inline void clear_key_id();
  474. static const int kKeyIdFieldNumber = 2;
  475. inline ::google::protobuf::uint32 key_id(int index) const;
  476. inline void set_key_id(int index, ::google::protobuf::uint32 value);
  477. inline void add_key_id(::google::protobuf::uint32 value);
  478. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  479. key_id() const;
  480. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  481. mutable_key_id();
  482. // repeated uint32 mac = 3 [packed = true];
  483. inline int mac_size() const;
  484. inline void clear_mac();
  485. static const int kMacFieldNumber = 3;
  486. inline ::google::protobuf::uint32 mac(int index) const;
  487. inline void set_mac(int index, ::google::protobuf::uint32 value);
  488. inline void add_mac(::google::protobuf::uint32 value);
  489. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  490. mac() const;
  491. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  492. mutable_mac();
  493. // @@protoc_insertion_point(class_scope:protobuf_sgx_report_t)
  494. private:
  495. inline void set_has_body();
  496. inline void clear_has_body();
  497. ::std::string _unknown_fields_;
  498. ::google::protobuf::uint32 _has_bits_[1];
  499. mutable int _cached_size_;
  500. ::protobuf_sgx_report_body_t* body_;
  501. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > key_id_;
  502. mutable int _key_id_cached_byte_size_;
  503. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mac_;
  504. mutable int _mac_cached_byte_size_;
  505. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  506. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  507. #else
  508. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  509. #endif
  510. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  511. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  512. void InitAsDefaultInstance();
  513. static protobuf_sgx_report_t* default_instance_;
  514. };
  515. // -------------------------------------------------------------------
  516. class protobuf_sgx_target_info_t : public ::google::protobuf::MessageLite {
  517. public:
  518. protobuf_sgx_target_info_t();
  519. virtual ~protobuf_sgx_target_info_t();
  520. protobuf_sgx_target_info_t(const protobuf_sgx_target_info_t& from);
  521. inline protobuf_sgx_target_info_t& operator=(const protobuf_sgx_target_info_t& from) {
  522. CopyFrom(from);
  523. return *this;
  524. }
  525. inline const ::std::string& unknown_fields() const {
  526. return _unknown_fields_;
  527. }
  528. inline ::std::string* mutable_unknown_fields() {
  529. return &_unknown_fields_;
  530. }
  531. static const protobuf_sgx_target_info_t& default_instance();
  532. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  533. // Returns the internal default instance pointer. This function can
  534. // return NULL thus should not be used by the user. This is intended
  535. // for Protobuf internal code. Please use default_instance() declared
  536. // above instead.
  537. static inline const protobuf_sgx_target_info_t* internal_default_instance() {
  538. return default_instance_;
  539. }
  540. #endif
  541. void Swap(protobuf_sgx_target_info_t* other);
  542. // implements Message ----------------------------------------------
  543. protobuf_sgx_target_info_t* New() const;
  544. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  545. void CopyFrom(const protobuf_sgx_target_info_t& from);
  546. void MergeFrom(const protobuf_sgx_target_info_t& from);
  547. void Clear();
  548. bool IsInitialized() const;
  549. int ByteSize() const;
  550. bool MergePartialFromCodedStream(
  551. ::google::protobuf::io::CodedInputStream* input);
  552. void SerializeWithCachedSizes(
  553. ::google::protobuf::io::CodedOutputStream* output) const;
  554. void DiscardUnknownFields();
  555. int GetCachedSize() const { return _cached_size_; }
  556. private:
  557. void SharedCtor();
  558. void SharedDtor();
  559. void SetCachedSize(int size) const;
  560. public:
  561. ::std::string GetTypeName() const;
  562. // nested types ----------------------------------------------------
  563. // accessors -------------------------------------------------------
  564. // repeated uint32 mr_enclave = 1 [packed = true];
  565. inline int mr_enclave_size() const;
  566. inline void clear_mr_enclave();
  567. static const int kMrEnclaveFieldNumber = 1;
  568. inline ::google::protobuf::uint32 mr_enclave(int index) const;
  569. inline void set_mr_enclave(int index, ::google::protobuf::uint32 value);
  570. inline void add_mr_enclave(::google::protobuf::uint32 value);
  571. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  572. mr_enclave() const;
  573. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  574. mutable_mr_enclave();
  575. // required .protobuf_sgx_attributes_t attributes = 4;
  576. inline bool has_attributes() const;
  577. inline void clear_attributes();
  578. static const int kAttributesFieldNumber = 4;
  579. inline const ::protobuf_sgx_attributes_t& attributes() const;
  580. inline ::protobuf_sgx_attributes_t* mutable_attributes();
  581. inline ::protobuf_sgx_attributes_t* release_attributes();
  582. inline void set_allocated_attributes(::protobuf_sgx_attributes_t* attributes);
  583. // repeated uint32 reserved1 = 2 [packed = true];
  584. inline int reserved1_size() const;
  585. inline void clear_reserved1();
  586. static const int kReserved1FieldNumber = 2;
  587. inline ::google::protobuf::uint32 reserved1(int index) const;
  588. inline void set_reserved1(int index, ::google::protobuf::uint32 value);
  589. inline void add_reserved1(::google::protobuf::uint32 value);
  590. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  591. reserved1() const;
  592. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  593. mutable_reserved1();
  594. // required uint32 misc_select = 5;
  595. inline bool has_misc_select() const;
  596. inline void clear_misc_select();
  597. static const int kMiscSelectFieldNumber = 5;
  598. inline ::google::protobuf::uint32 misc_select() const;
  599. inline void set_misc_select(::google::protobuf::uint32 value);
  600. // repeated uint32 reserved2 = 3 [packed = true];
  601. inline int reserved2_size() const;
  602. inline void clear_reserved2();
  603. static const int kReserved2FieldNumber = 3;
  604. inline ::google::protobuf::uint32 reserved2(int index) const;
  605. inline void set_reserved2(int index, ::google::protobuf::uint32 value);
  606. inline void add_reserved2(::google::protobuf::uint32 value);
  607. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  608. reserved2() const;
  609. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  610. mutable_reserved2();
  611. // @@protoc_insertion_point(class_scope:protobuf_sgx_target_info_t)
  612. private:
  613. inline void set_has_attributes();
  614. inline void clear_has_attributes();
  615. inline void set_has_misc_select();
  616. inline void clear_has_misc_select();
  617. ::std::string _unknown_fields_;
  618. ::google::protobuf::uint32 _has_bits_[1];
  619. mutable int _cached_size_;
  620. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_enclave_;
  621. mutable int _mr_enclave_cached_byte_size_;
  622. ::protobuf_sgx_attributes_t* attributes_;
  623. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved1_;
  624. mutable int _reserved1_cached_byte_size_;
  625. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved2_;
  626. mutable int _reserved2_cached_byte_size_;
  627. ::google::protobuf::uint32 misc_select_;
  628. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  629. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  630. #else
  631. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  632. #endif
  633. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  634. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  635. void InitAsDefaultInstance();
  636. static protobuf_sgx_target_info_t* default_instance_;
  637. };
  638. // -------------------------------------------------------------------
  639. class protobuf_sgx_dh_msg1_t : public ::google::protobuf::MessageLite {
  640. public:
  641. protobuf_sgx_dh_msg1_t();
  642. virtual ~protobuf_sgx_dh_msg1_t();
  643. protobuf_sgx_dh_msg1_t(const protobuf_sgx_dh_msg1_t& from);
  644. inline protobuf_sgx_dh_msg1_t& operator=(const protobuf_sgx_dh_msg1_t& from) {
  645. CopyFrom(from);
  646. return *this;
  647. }
  648. inline const ::std::string& unknown_fields() const {
  649. return _unknown_fields_;
  650. }
  651. inline ::std::string* mutable_unknown_fields() {
  652. return &_unknown_fields_;
  653. }
  654. static const protobuf_sgx_dh_msg1_t& default_instance();
  655. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  656. // Returns the internal default instance pointer. This function can
  657. // return NULL thus should not be used by the user. This is intended
  658. // for Protobuf internal code. Please use default_instance() declared
  659. // above instead.
  660. static inline const protobuf_sgx_dh_msg1_t* internal_default_instance() {
  661. return default_instance_;
  662. }
  663. #endif
  664. void Swap(protobuf_sgx_dh_msg1_t* other);
  665. // implements Message ----------------------------------------------
  666. protobuf_sgx_dh_msg1_t* New() const;
  667. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  668. void CopyFrom(const protobuf_sgx_dh_msg1_t& from);
  669. void MergeFrom(const protobuf_sgx_dh_msg1_t& from);
  670. void Clear();
  671. bool IsInitialized() const;
  672. int ByteSize() const;
  673. bool MergePartialFromCodedStream(
  674. ::google::protobuf::io::CodedInputStream* input);
  675. void SerializeWithCachedSizes(
  676. ::google::protobuf::io::CodedOutputStream* output) const;
  677. void DiscardUnknownFields();
  678. int GetCachedSize() const { return _cached_size_; }
  679. private:
  680. void SharedCtor();
  681. void SharedDtor();
  682. void SetCachedSize(int size) const;
  683. public:
  684. ::std::string GetTypeName() const;
  685. // nested types ----------------------------------------------------
  686. // accessors -------------------------------------------------------
  687. // required .protobuf_sgx_ec256_public_t g_a = 1;
  688. inline bool has_g_a() const;
  689. inline void clear_g_a();
  690. static const int kGAFieldNumber = 1;
  691. inline const ::protobuf_sgx_ec256_public_t& g_a() const;
  692. inline ::protobuf_sgx_ec256_public_t* mutable_g_a();
  693. inline ::protobuf_sgx_ec256_public_t* release_g_a();
  694. inline void set_allocated_g_a(::protobuf_sgx_ec256_public_t* g_a);
  695. // required .protobuf_sgx_target_info_t target = 2;
  696. inline bool has_target() const;
  697. inline void clear_target();
  698. static const int kTargetFieldNumber = 2;
  699. inline const ::protobuf_sgx_target_info_t& target() const;
  700. inline ::protobuf_sgx_target_info_t* mutable_target();
  701. inline ::protobuf_sgx_target_info_t* release_target();
  702. inline void set_allocated_target(::protobuf_sgx_target_info_t* target);
  703. // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg1_t)
  704. private:
  705. inline void set_has_g_a();
  706. inline void clear_has_g_a();
  707. inline void set_has_target();
  708. inline void clear_has_target();
  709. ::std::string _unknown_fields_;
  710. ::google::protobuf::uint32 _has_bits_[1];
  711. mutable int _cached_size_;
  712. ::protobuf_sgx_ec256_public_t* g_a_;
  713. ::protobuf_sgx_target_info_t* target_;
  714. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  715. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  716. #else
  717. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  718. #endif
  719. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  720. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  721. void InitAsDefaultInstance();
  722. static protobuf_sgx_dh_msg1_t* default_instance_;
  723. };
  724. // -------------------------------------------------------------------
  725. class protobuf_sgx_dh_msg2_t : public ::google::protobuf::MessageLite {
  726. public:
  727. protobuf_sgx_dh_msg2_t();
  728. virtual ~protobuf_sgx_dh_msg2_t();
  729. protobuf_sgx_dh_msg2_t(const protobuf_sgx_dh_msg2_t& from);
  730. inline protobuf_sgx_dh_msg2_t& operator=(const protobuf_sgx_dh_msg2_t& from) {
  731. CopyFrom(from);
  732. return *this;
  733. }
  734. inline const ::std::string& unknown_fields() const {
  735. return _unknown_fields_;
  736. }
  737. inline ::std::string* mutable_unknown_fields() {
  738. return &_unknown_fields_;
  739. }
  740. static const protobuf_sgx_dh_msg2_t& default_instance();
  741. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  742. // Returns the internal default instance pointer. This function can
  743. // return NULL thus should not be used by the user. This is intended
  744. // for Protobuf internal code. Please use default_instance() declared
  745. // above instead.
  746. static inline const protobuf_sgx_dh_msg2_t* internal_default_instance() {
  747. return default_instance_;
  748. }
  749. #endif
  750. void Swap(protobuf_sgx_dh_msg2_t* other);
  751. // implements Message ----------------------------------------------
  752. protobuf_sgx_dh_msg2_t* New() const;
  753. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  754. void CopyFrom(const protobuf_sgx_dh_msg2_t& from);
  755. void MergeFrom(const protobuf_sgx_dh_msg2_t& from);
  756. void Clear();
  757. bool IsInitialized() const;
  758. int ByteSize() const;
  759. bool MergePartialFromCodedStream(
  760. ::google::protobuf::io::CodedInputStream* input);
  761. void SerializeWithCachedSizes(
  762. ::google::protobuf::io::CodedOutputStream* output) const;
  763. void DiscardUnknownFields();
  764. int GetCachedSize() const { return _cached_size_; }
  765. private:
  766. void SharedCtor();
  767. void SharedDtor();
  768. void SetCachedSize(int size) const;
  769. public:
  770. ::std::string GetTypeName() const;
  771. // nested types ----------------------------------------------------
  772. // accessors -------------------------------------------------------
  773. // required .protobuf_sgx_ec256_public_t g_b = 1;
  774. inline bool has_g_b() const;
  775. inline void clear_g_b();
  776. static const int kGBFieldNumber = 1;
  777. inline const ::protobuf_sgx_ec256_public_t& g_b() const;
  778. inline ::protobuf_sgx_ec256_public_t* mutable_g_b();
  779. inline ::protobuf_sgx_ec256_public_t* release_g_b();
  780. inline void set_allocated_g_b(::protobuf_sgx_ec256_public_t* g_b);
  781. // required .protobuf_sgx_report_t report = 2;
  782. inline bool has_report() const;
  783. inline void clear_report();
  784. static const int kReportFieldNumber = 2;
  785. inline const ::protobuf_sgx_report_t& report() const;
  786. inline ::protobuf_sgx_report_t* mutable_report();
  787. inline ::protobuf_sgx_report_t* release_report();
  788. inline void set_allocated_report(::protobuf_sgx_report_t* report);
  789. // repeated uint32 cmac = 3 [packed = true];
  790. inline int cmac_size() const;
  791. inline void clear_cmac();
  792. static const int kCmacFieldNumber = 3;
  793. inline ::google::protobuf::uint32 cmac(int index) const;
  794. inline void set_cmac(int index, ::google::protobuf::uint32 value);
  795. inline void add_cmac(::google::protobuf::uint32 value);
  796. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  797. cmac() const;
  798. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  799. mutable_cmac();
  800. // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg2_t)
  801. private:
  802. inline void set_has_g_b();
  803. inline void clear_has_g_b();
  804. inline void set_has_report();
  805. inline void clear_has_report();
  806. ::std::string _unknown_fields_;
  807. ::google::protobuf::uint32 _has_bits_[1];
  808. mutable int _cached_size_;
  809. ::protobuf_sgx_ec256_public_t* g_b_;
  810. ::protobuf_sgx_report_t* report_;
  811. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cmac_;
  812. mutable int _cmac_cached_byte_size_;
  813. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  814. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  815. #else
  816. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  817. #endif
  818. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  819. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  820. void InitAsDefaultInstance();
  821. static protobuf_sgx_dh_msg2_t* default_instance_;
  822. };
  823. // -------------------------------------------------------------------
  824. class protobuf_sgx_dh_msg3_body_t : public ::google::protobuf::MessageLite {
  825. public:
  826. protobuf_sgx_dh_msg3_body_t();
  827. virtual ~protobuf_sgx_dh_msg3_body_t();
  828. protobuf_sgx_dh_msg3_body_t(const protobuf_sgx_dh_msg3_body_t& from);
  829. inline protobuf_sgx_dh_msg3_body_t& operator=(const protobuf_sgx_dh_msg3_body_t& from) {
  830. CopyFrom(from);
  831. return *this;
  832. }
  833. inline const ::std::string& unknown_fields() const {
  834. return _unknown_fields_;
  835. }
  836. inline ::std::string* mutable_unknown_fields() {
  837. return &_unknown_fields_;
  838. }
  839. static const protobuf_sgx_dh_msg3_body_t& default_instance();
  840. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  841. // Returns the internal default instance pointer. This function can
  842. // return NULL thus should not be used by the user. This is intended
  843. // for Protobuf internal code. Please use default_instance() declared
  844. // above instead.
  845. static inline const protobuf_sgx_dh_msg3_body_t* internal_default_instance() {
  846. return default_instance_;
  847. }
  848. #endif
  849. void Swap(protobuf_sgx_dh_msg3_body_t* other);
  850. // implements Message ----------------------------------------------
  851. protobuf_sgx_dh_msg3_body_t* New() const;
  852. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  853. void CopyFrom(const protobuf_sgx_dh_msg3_body_t& from);
  854. void MergeFrom(const protobuf_sgx_dh_msg3_body_t& from);
  855. void Clear();
  856. bool IsInitialized() const;
  857. int ByteSize() const;
  858. bool MergePartialFromCodedStream(
  859. ::google::protobuf::io::CodedInputStream* input);
  860. void SerializeWithCachedSizes(
  861. ::google::protobuf::io::CodedOutputStream* output) const;
  862. void DiscardUnknownFields();
  863. int GetCachedSize() const { return _cached_size_; }
  864. private:
  865. void SharedCtor();
  866. void SharedDtor();
  867. void SetCachedSize(int size) const;
  868. public:
  869. ::std::string GetTypeName() const;
  870. // nested types ----------------------------------------------------
  871. // accessors -------------------------------------------------------
  872. // required .protobuf_sgx_report_t report = 1;
  873. inline bool has_report() const;
  874. inline void clear_report();
  875. static const int kReportFieldNumber = 1;
  876. inline const ::protobuf_sgx_report_t& report() const;
  877. inline ::protobuf_sgx_report_t* mutable_report();
  878. inline ::protobuf_sgx_report_t* release_report();
  879. inline void set_allocated_report(::protobuf_sgx_report_t* report);
  880. // repeated uint32 additional_prop = 2;
  881. inline int additional_prop_size() const;
  882. inline void clear_additional_prop();
  883. static const int kAdditionalPropFieldNumber = 2;
  884. inline ::google::protobuf::uint32 additional_prop(int index) const;
  885. inline void set_additional_prop(int index, ::google::protobuf::uint32 value);
  886. inline void add_additional_prop(::google::protobuf::uint32 value);
  887. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  888. additional_prop() const;
  889. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  890. mutable_additional_prop();
  891. // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg3_body_t)
  892. private:
  893. inline void set_has_report();
  894. inline void clear_has_report();
  895. ::std::string _unknown_fields_;
  896. ::google::protobuf::uint32 _has_bits_[1];
  897. mutable int _cached_size_;
  898. ::protobuf_sgx_report_t* report_;
  899. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > additional_prop_;
  900. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  901. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  902. #else
  903. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  904. #endif
  905. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  906. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  907. void InitAsDefaultInstance();
  908. static protobuf_sgx_dh_msg3_body_t* default_instance_;
  909. };
  910. // -------------------------------------------------------------------
  911. class protobuf_sgx_dh_msg3_t : public ::google::protobuf::MessageLite {
  912. public:
  913. protobuf_sgx_dh_msg3_t();
  914. virtual ~protobuf_sgx_dh_msg3_t();
  915. protobuf_sgx_dh_msg3_t(const protobuf_sgx_dh_msg3_t& from);
  916. inline protobuf_sgx_dh_msg3_t& operator=(const protobuf_sgx_dh_msg3_t& from) {
  917. CopyFrom(from);
  918. return *this;
  919. }
  920. inline const ::std::string& unknown_fields() const {
  921. return _unknown_fields_;
  922. }
  923. inline ::std::string* mutable_unknown_fields() {
  924. return &_unknown_fields_;
  925. }
  926. static const protobuf_sgx_dh_msg3_t& default_instance();
  927. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  928. // Returns the internal default instance pointer. This function can
  929. // return NULL thus should not be used by the user. This is intended
  930. // for Protobuf internal code. Please use default_instance() declared
  931. // above instead.
  932. static inline const protobuf_sgx_dh_msg3_t* internal_default_instance() {
  933. return default_instance_;
  934. }
  935. #endif
  936. void Swap(protobuf_sgx_dh_msg3_t* other);
  937. // implements Message ----------------------------------------------
  938. protobuf_sgx_dh_msg3_t* New() const;
  939. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  940. void CopyFrom(const protobuf_sgx_dh_msg3_t& from);
  941. void MergeFrom(const protobuf_sgx_dh_msg3_t& from);
  942. void Clear();
  943. bool IsInitialized() const;
  944. int ByteSize() const;
  945. bool MergePartialFromCodedStream(
  946. ::google::protobuf::io::CodedInputStream* input);
  947. void SerializeWithCachedSizes(
  948. ::google::protobuf::io::CodedOutputStream* output) const;
  949. void DiscardUnknownFields();
  950. int GetCachedSize() const { return _cached_size_; }
  951. private:
  952. void SharedCtor();
  953. void SharedDtor();
  954. void SetCachedSize(int size) const;
  955. public:
  956. ::std::string GetTypeName() const;
  957. // nested types ----------------------------------------------------
  958. // accessors -------------------------------------------------------
  959. // required .protobuf_sgx_dh_msg3_body_t msg3_body = 1;
  960. inline bool has_msg3_body() const;
  961. inline void clear_msg3_body();
  962. static const int kMsg3BodyFieldNumber = 1;
  963. inline const ::protobuf_sgx_dh_msg3_body_t& msg3_body() const;
  964. inline ::protobuf_sgx_dh_msg3_body_t* mutable_msg3_body();
  965. inline ::protobuf_sgx_dh_msg3_body_t* release_msg3_body();
  966. inline void set_allocated_msg3_body(::protobuf_sgx_dh_msg3_body_t* msg3_body);
  967. // repeated uint32 cmac = 2 [packed = true];
  968. inline int cmac_size() const;
  969. inline void clear_cmac();
  970. static const int kCmacFieldNumber = 2;
  971. inline ::google::protobuf::uint32 cmac(int index) const;
  972. inline void set_cmac(int index, ::google::protobuf::uint32 value);
  973. inline void add_cmac(::google::protobuf::uint32 value);
  974. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  975. cmac() const;
  976. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  977. mutable_cmac();
  978. // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg3_t)
  979. private:
  980. inline void set_has_msg3_body();
  981. inline void clear_has_msg3_body();
  982. ::std::string _unknown_fields_;
  983. ::google::protobuf::uint32 _has_bits_[1];
  984. mutable int _cached_size_;
  985. ::protobuf_sgx_dh_msg3_body_t* msg3_body_;
  986. ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cmac_;
  987. mutable int _cmac_cached_byte_size_;
  988. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  989. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  990. #else
  991. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  992. #endif
  993. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  994. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  995. void InitAsDefaultInstance();
  996. static protobuf_sgx_dh_msg3_t* default_instance_;
  997. };
  998. // -------------------------------------------------------------------
  999. class protobuf_post_LA_encrypted_msg_t : public ::google::protobuf::MessageLite {
  1000. public:
  1001. protobuf_post_LA_encrypted_msg_t();
  1002. virtual ~protobuf_post_LA_encrypted_msg_t();
  1003. protobuf_post_LA_encrypted_msg_t(const protobuf_post_LA_encrypted_msg_t& from);
  1004. inline protobuf_post_LA_encrypted_msg_t& operator=(const protobuf_post_LA_encrypted_msg_t& from) {
  1005. CopyFrom(from);
  1006. return *this;
  1007. }
  1008. inline const ::std::string& unknown_fields() const {
  1009. return _unknown_fields_;
  1010. }
  1011. inline ::std::string* mutable_unknown_fields() {
  1012. return &_unknown_fields_;
  1013. }
  1014. static const protobuf_post_LA_encrypted_msg_t& default_instance();
  1015. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1016. // Returns the internal default instance pointer. This function can
  1017. // return NULL thus should not be used by the user. This is intended
  1018. // for Protobuf internal code. Please use default_instance() declared
  1019. // above instead.
  1020. static inline const protobuf_post_LA_encrypted_msg_t* internal_default_instance() {
  1021. return default_instance_;
  1022. }
  1023. #endif
  1024. void Swap(protobuf_post_LA_encrypted_msg_t* other);
  1025. // implements Message ----------------------------------------------
  1026. protobuf_post_LA_encrypted_msg_t* New() const;
  1027. void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
  1028. void CopyFrom(const protobuf_post_LA_encrypted_msg_t& from);
  1029. void MergeFrom(const protobuf_post_LA_encrypted_msg_t& from);
  1030. void Clear();
  1031. bool IsInitialized() const;
  1032. int ByteSize() const;
  1033. bool MergePartialFromCodedStream(
  1034. ::google::protobuf::io::CodedInputStream* input);
  1035. void SerializeWithCachedSizes(
  1036. ::google::protobuf::io::CodedOutputStream* output) const;
  1037. void DiscardUnknownFields();
  1038. int GetCachedSize() const { return _cached_size_; }
  1039. private:
  1040. void SharedCtor();
  1041. void SharedDtor();
  1042. void SetCachedSize(int size) const;
  1043. public:
  1044. ::std::string GetTypeName() const;
  1045. // nested types ----------------------------------------------------
  1046. // accessors -------------------------------------------------------
  1047. // repeated bytes msg = 1;
  1048. inline int msg_size() const;
  1049. inline void clear_msg();
  1050. static const int kMsgFieldNumber = 1;
  1051. inline const ::std::string& msg(int index) const;
  1052. inline ::std::string* mutable_msg(int index);
  1053. inline void set_msg(int index, const ::std::string& value);
  1054. inline void set_msg(int index, const char* value);
  1055. inline void set_msg(int index, const void* value, size_t size);
  1056. inline ::std::string* add_msg();
  1057. inline void add_msg(const ::std::string& value);
  1058. inline void add_msg(const char* value);
  1059. inline void add_msg(const void* value, size_t size);
  1060. inline const ::google::protobuf::RepeatedPtrField< ::std::string>& msg() const;
  1061. inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_msg();
  1062. // @@protoc_insertion_point(class_scope:protobuf_post_LA_encrypted_msg_t)
  1063. private:
  1064. ::std::string _unknown_fields_;
  1065. ::google::protobuf::uint32 _has_bits_[1];
  1066. mutable int _cached_size_;
  1067. ::google::protobuf::RepeatedPtrField< ::std::string> msg_;
  1068. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1069. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  1070. #else
  1071. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  1072. #endif
  1073. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  1074. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  1075. void InitAsDefaultInstance();
  1076. static protobuf_post_LA_encrypted_msg_t* default_instance_;
  1077. };
  1078. // ===================================================================
  1079. // ===================================================================
  1080. // protobuf_sgx_attributes_t
  1081. // required uint64 flags = 1;
  1082. inline bool protobuf_sgx_attributes_t::has_flags() const {
  1083. return (_has_bits_[0] & 0x00000001u) != 0;
  1084. }
  1085. inline void protobuf_sgx_attributes_t::set_has_flags() {
  1086. _has_bits_[0] |= 0x00000001u;
  1087. }
  1088. inline void protobuf_sgx_attributes_t::clear_has_flags() {
  1089. _has_bits_[0] &= ~0x00000001u;
  1090. }
  1091. inline void protobuf_sgx_attributes_t::clear_flags() {
  1092. flags_ = GOOGLE_ULONGLONG(0);
  1093. clear_has_flags();
  1094. }
  1095. inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::flags() const {
  1096. // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.flags)
  1097. return flags_;
  1098. }
  1099. inline void protobuf_sgx_attributes_t::set_flags(::google::protobuf::uint64 value) {
  1100. set_has_flags();
  1101. flags_ = value;
  1102. // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.flags)
  1103. }
  1104. // required uint64 xfrm = 2;
  1105. inline bool protobuf_sgx_attributes_t::has_xfrm() const {
  1106. return (_has_bits_[0] & 0x00000002u) != 0;
  1107. }
  1108. inline void protobuf_sgx_attributes_t::set_has_xfrm() {
  1109. _has_bits_[0] |= 0x00000002u;
  1110. }
  1111. inline void protobuf_sgx_attributes_t::clear_has_xfrm() {
  1112. _has_bits_[0] &= ~0x00000002u;
  1113. }
  1114. inline void protobuf_sgx_attributes_t::clear_xfrm() {
  1115. xfrm_ = GOOGLE_ULONGLONG(0);
  1116. clear_has_xfrm();
  1117. }
  1118. inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::xfrm() const {
  1119. // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.xfrm)
  1120. return xfrm_;
  1121. }
  1122. inline void protobuf_sgx_attributes_t::set_xfrm(::google::protobuf::uint64 value) {
  1123. set_has_xfrm();
  1124. xfrm_ = value;
  1125. // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.xfrm)
  1126. }
  1127. // -------------------------------------------------------------------
  1128. // protobuf_sgx_ec256_public_t
  1129. // repeated uint32 gx = 1 [packed = true];
  1130. inline int protobuf_sgx_ec256_public_t::gx_size() const {
  1131. return gx_.size();
  1132. }
  1133. inline void protobuf_sgx_ec256_public_t::clear_gx() {
  1134. gx_.Clear();
  1135. }
  1136. inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gx(int index) const {
  1137. // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gx)
  1138. return gx_.Get(index);
  1139. }
  1140. inline void protobuf_sgx_ec256_public_t::set_gx(int index, ::google::protobuf::uint32 value) {
  1141. gx_.Set(index, value);
  1142. // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gx)
  1143. }
  1144. inline void protobuf_sgx_ec256_public_t::add_gx(::google::protobuf::uint32 value) {
  1145. gx_.Add(value);
  1146. // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gx)
  1147. }
  1148. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1149. protobuf_sgx_ec256_public_t::gx() const {
  1150. // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gx)
  1151. return gx_;
  1152. }
  1153. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1154. protobuf_sgx_ec256_public_t::mutable_gx() {
  1155. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gx)
  1156. return &gx_;
  1157. }
  1158. // repeated uint32 gy = 2 [packed = true];
  1159. inline int protobuf_sgx_ec256_public_t::gy_size() const {
  1160. return gy_.size();
  1161. }
  1162. inline void protobuf_sgx_ec256_public_t::clear_gy() {
  1163. gy_.Clear();
  1164. }
  1165. inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gy(int index) const {
  1166. // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gy)
  1167. return gy_.Get(index);
  1168. }
  1169. inline void protobuf_sgx_ec256_public_t::set_gy(int index, ::google::protobuf::uint32 value) {
  1170. gy_.Set(index, value);
  1171. // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gy)
  1172. }
  1173. inline void protobuf_sgx_ec256_public_t::add_gy(::google::protobuf::uint32 value) {
  1174. gy_.Add(value);
  1175. // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gy)
  1176. }
  1177. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1178. protobuf_sgx_ec256_public_t::gy() const {
  1179. // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gy)
  1180. return gy_;
  1181. }
  1182. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1183. protobuf_sgx_ec256_public_t::mutable_gy() {
  1184. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gy)
  1185. return &gy_;
  1186. }
  1187. // -------------------------------------------------------------------
  1188. // protobuf_sgx_report_body_t
  1189. // repeated uint32 cpu_svn = 1 [packed = true];
  1190. inline int protobuf_sgx_report_body_t::cpu_svn_size() const {
  1191. return cpu_svn_.size();
  1192. }
  1193. inline void protobuf_sgx_report_body_t::clear_cpu_svn() {
  1194. cpu_svn_.Clear();
  1195. }
  1196. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::cpu_svn(int index) const {
  1197. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.cpu_svn)
  1198. return cpu_svn_.Get(index);
  1199. }
  1200. inline void protobuf_sgx_report_body_t::set_cpu_svn(int index, ::google::protobuf::uint32 value) {
  1201. cpu_svn_.Set(index, value);
  1202. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.cpu_svn)
  1203. }
  1204. inline void protobuf_sgx_report_body_t::add_cpu_svn(::google::protobuf::uint32 value) {
  1205. cpu_svn_.Add(value);
  1206. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.cpu_svn)
  1207. }
  1208. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1209. protobuf_sgx_report_body_t::cpu_svn() const {
  1210. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.cpu_svn)
  1211. return cpu_svn_;
  1212. }
  1213. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1214. protobuf_sgx_report_body_t::mutable_cpu_svn() {
  1215. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.cpu_svn)
  1216. return &cpu_svn_;
  1217. }
  1218. // required uint32 misc_select = 9;
  1219. inline bool protobuf_sgx_report_body_t::has_misc_select() const {
  1220. return (_has_bits_[0] & 0x00000002u) != 0;
  1221. }
  1222. inline void protobuf_sgx_report_body_t::set_has_misc_select() {
  1223. _has_bits_[0] |= 0x00000002u;
  1224. }
  1225. inline void protobuf_sgx_report_body_t::clear_has_misc_select() {
  1226. _has_bits_[0] &= ~0x00000002u;
  1227. }
  1228. inline void protobuf_sgx_report_body_t::clear_misc_select() {
  1229. misc_select_ = 0u;
  1230. clear_has_misc_select();
  1231. }
  1232. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::misc_select() const {
  1233. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.misc_select)
  1234. return misc_select_;
  1235. }
  1236. inline void protobuf_sgx_report_body_t::set_misc_select(::google::protobuf::uint32 value) {
  1237. set_has_misc_select();
  1238. misc_select_ = value;
  1239. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.misc_select)
  1240. }
  1241. // repeated uint32 reserved1 = 2 [packed = true];
  1242. inline int protobuf_sgx_report_body_t::reserved1_size() const {
  1243. return reserved1_.size();
  1244. }
  1245. inline void protobuf_sgx_report_body_t::clear_reserved1() {
  1246. reserved1_.Clear();
  1247. }
  1248. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved1(int index) const {
  1249. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved1)
  1250. return reserved1_.Get(index);
  1251. }
  1252. inline void protobuf_sgx_report_body_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
  1253. reserved1_.Set(index, value);
  1254. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved1)
  1255. }
  1256. inline void protobuf_sgx_report_body_t::add_reserved1(::google::protobuf::uint32 value) {
  1257. reserved1_.Add(value);
  1258. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved1)
  1259. }
  1260. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1261. protobuf_sgx_report_body_t::reserved1() const {
  1262. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved1)
  1263. return reserved1_;
  1264. }
  1265. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1266. protobuf_sgx_report_body_t::mutable_reserved1() {
  1267. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved1)
  1268. return &reserved1_;
  1269. }
  1270. // required .protobuf_sgx_attributes_t attributes = 10;
  1271. inline bool protobuf_sgx_report_body_t::has_attributes() const {
  1272. return (_has_bits_[0] & 0x00000008u) != 0;
  1273. }
  1274. inline void protobuf_sgx_report_body_t::set_has_attributes() {
  1275. _has_bits_[0] |= 0x00000008u;
  1276. }
  1277. inline void protobuf_sgx_report_body_t::clear_has_attributes() {
  1278. _has_bits_[0] &= ~0x00000008u;
  1279. }
  1280. inline void protobuf_sgx_report_body_t::clear_attributes() {
  1281. if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
  1282. clear_has_attributes();
  1283. }
  1284. inline const ::protobuf_sgx_attributes_t& protobuf_sgx_report_body_t::attributes() const {
  1285. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.attributes)
  1286. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1287. return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
  1288. #else
  1289. return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
  1290. #endif
  1291. }
  1292. inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::mutable_attributes() {
  1293. set_has_attributes();
  1294. if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
  1295. // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_body_t.attributes)
  1296. return attributes_;
  1297. }
  1298. inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::release_attributes() {
  1299. clear_has_attributes();
  1300. ::protobuf_sgx_attributes_t* temp = attributes_;
  1301. attributes_ = NULL;
  1302. return temp;
  1303. }
  1304. inline void protobuf_sgx_report_body_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
  1305. delete attributes_;
  1306. attributes_ = attributes;
  1307. if (attributes) {
  1308. set_has_attributes();
  1309. } else {
  1310. clear_has_attributes();
  1311. }
  1312. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_body_t.attributes)
  1313. }
  1314. // repeated uint32 mr_enclave = 3 [packed = true];
  1315. inline int protobuf_sgx_report_body_t::mr_enclave_size() const {
  1316. return mr_enclave_.size();
  1317. }
  1318. inline void protobuf_sgx_report_body_t::clear_mr_enclave() {
  1319. mr_enclave_.Clear();
  1320. }
  1321. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_enclave(int index) const {
  1322. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_enclave)
  1323. return mr_enclave_.Get(index);
  1324. }
  1325. inline void protobuf_sgx_report_body_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
  1326. mr_enclave_.Set(index, value);
  1327. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_enclave)
  1328. }
  1329. inline void protobuf_sgx_report_body_t::add_mr_enclave(::google::protobuf::uint32 value) {
  1330. mr_enclave_.Add(value);
  1331. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_enclave)
  1332. }
  1333. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1334. protobuf_sgx_report_body_t::mr_enclave() const {
  1335. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_enclave)
  1336. return mr_enclave_;
  1337. }
  1338. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1339. protobuf_sgx_report_body_t::mutable_mr_enclave() {
  1340. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_enclave)
  1341. return &mr_enclave_;
  1342. }
  1343. // repeated uint32 reserved2 = 4 [packed = true];
  1344. inline int protobuf_sgx_report_body_t::reserved2_size() const {
  1345. return reserved2_.size();
  1346. }
  1347. inline void protobuf_sgx_report_body_t::clear_reserved2() {
  1348. reserved2_.Clear();
  1349. }
  1350. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved2(int index) const {
  1351. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved2)
  1352. return reserved2_.Get(index);
  1353. }
  1354. inline void protobuf_sgx_report_body_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
  1355. reserved2_.Set(index, value);
  1356. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved2)
  1357. }
  1358. inline void protobuf_sgx_report_body_t::add_reserved2(::google::protobuf::uint32 value) {
  1359. reserved2_.Add(value);
  1360. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved2)
  1361. }
  1362. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1363. protobuf_sgx_report_body_t::reserved2() const {
  1364. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved2)
  1365. return reserved2_;
  1366. }
  1367. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1368. protobuf_sgx_report_body_t::mutable_reserved2() {
  1369. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved2)
  1370. return &reserved2_;
  1371. }
  1372. // repeated uint32 mr_signer = 5 [packed = true];
  1373. inline int protobuf_sgx_report_body_t::mr_signer_size() const {
  1374. return mr_signer_.size();
  1375. }
  1376. inline void protobuf_sgx_report_body_t::clear_mr_signer() {
  1377. mr_signer_.Clear();
  1378. }
  1379. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_signer(int index) const {
  1380. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_signer)
  1381. return mr_signer_.Get(index);
  1382. }
  1383. inline void protobuf_sgx_report_body_t::set_mr_signer(int index, ::google::protobuf::uint32 value) {
  1384. mr_signer_.Set(index, value);
  1385. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_signer)
  1386. }
  1387. inline void protobuf_sgx_report_body_t::add_mr_signer(::google::protobuf::uint32 value) {
  1388. mr_signer_.Add(value);
  1389. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_signer)
  1390. }
  1391. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1392. protobuf_sgx_report_body_t::mr_signer() const {
  1393. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_signer)
  1394. return mr_signer_;
  1395. }
  1396. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1397. protobuf_sgx_report_body_t::mutable_mr_signer() {
  1398. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_signer)
  1399. return &mr_signer_;
  1400. }
  1401. // repeated uint32 reserved3 = 6 [packed = true];
  1402. inline int protobuf_sgx_report_body_t::reserved3_size() const {
  1403. return reserved3_.size();
  1404. }
  1405. inline void protobuf_sgx_report_body_t::clear_reserved3() {
  1406. reserved3_.Clear();
  1407. }
  1408. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved3(int index) const {
  1409. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved3)
  1410. return reserved3_.Get(index);
  1411. }
  1412. inline void protobuf_sgx_report_body_t::set_reserved3(int index, ::google::protobuf::uint32 value) {
  1413. reserved3_.Set(index, value);
  1414. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved3)
  1415. }
  1416. inline void protobuf_sgx_report_body_t::add_reserved3(::google::protobuf::uint32 value) {
  1417. reserved3_.Add(value);
  1418. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved3)
  1419. }
  1420. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1421. protobuf_sgx_report_body_t::reserved3() const {
  1422. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved3)
  1423. return reserved3_;
  1424. }
  1425. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1426. protobuf_sgx_report_body_t::mutable_reserved3() {
  1427. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved3)
  1428. return &reserved3_;
  1429. }
  1430. // required uint32 isv_prod_id = 11;
  1431. inline bool protobuf_sgx_report_body_t::has_isv_prod_id() const {
  1432. return (_has_bits_[0] & 0x00000100u) != 0;
  1433. }
  1434. inline void protobuf_sgx_report_body_t::set_has_isv_prod_id() {
  1435. _has_bits_[0] |= 0x00000100u;
  1436. }
  1437. inline void protobuf_sgx_report_body_t::clear_has_isv_prod_id() {
  1438. _has_bits_[0] &= ~0x00000100u;
  1439. }
  1440. inline void protobuf_sgx_report_body_t::clear_isv_prod_id() {
  1441. isv_prod_id_ = 0u;
  1442. clear_has_isv_prod_id();
  1443. }
  1444. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_prod_id() const {
  1445. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_prod_id)
  1446. return isv_prod_id_;
  1447. }
  1448. inline void protobuf_sgx_report_body_t::set_isv_prod_id(::google::protobuf::uint32 value) {
  1449. set_has_isv_prod_id();
  1450. isv_prod_id_ = value;
  1451. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_prod_id)
  1452. }
  1453. // required uint32 isv_svn = 12;
  1454. inline bool protobuf_sgx_report_body_t::has_isv_svn() const {
  1455. return (_has_bits_[0] & 0x00000200u) != 0;
  1456. }
  1457. inline void protobuf_sgx_report_body_t::set_has_isv_svn() {
  1458. _has_bits_[0] |= 0x00000200u;
  1459. }
  1460. inline void protobuf_sgx_report_body_t::clear_has_isv_svn() {
  1461. _has_bits_[0] &= ~0x00000200u;
  1462. }
  1463. inline void protobuf_sgx_report_body_t::clear_isv_svn() {
  1464. isv_svn_ = 0u;
  1465. clear_has_isv_svn();
  1466. }
  1467. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_svn() const {
  1468. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_svn)
  1469. return isv_svn_;
  1470. }
  1471. inline void protobuf_sgx_report_body_t::set_isv_svn(::google::protobuf::uint32 value) {
  1472. set_has_isv_svn();
  1473. isv_svn_ = value;
  1474. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_svn)
  1475. }
  1476. // repeated uint32 reserved4 = 7 [packed = true];
  1477. inline int protobuf_sgx_report_body_t::reserved4_size() const {
  1478. return reserved4_.size();
  1479. }
  1480. inline void protobuf_sgx_report_body_t::clear_reserved4() {
  1481. reserved4_.Clear();
  1482. }
  1483. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved4(int index) const {
  1484. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved4)
  1485. return reserved4_.Get(index);
  1486. }
  1487. inline void protobuf_sgx_report_body_t::set_reserved4(int index, ::google::protobuf::uint32 value) {
  1488. reserved4_.Set(index, value);
  1489. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved4)
  1490. }
  1491. inline void protobuf_sgx_report_body_t::add_reserved4(::google::protobuf::uint32 value) {
  1492. reserved4_.Add(value);
  1493. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved4)
  1494. }
  1495. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1496. protobuf_sgx_report_body_t::reserved4() const {
  1497. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved4)
  1498. return reserved4_;
  1499. }
  1500. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1501. protobuf_sgx_report_body_t::mutable_reserved4() {
  1502. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved4)
  1503. return &reserved4_;
  1504. }
  1505. // repeated uint32 report_data = 8 [packed = true];
  1506. inline int protobuf_sgx_report_body_t::report_data_size() const {
  1507. return report_data_.size();
  1508. }
  1509. inline void protobuf_sgx_report_body_t::clear_report_data() {
  1510. report_data_.Clear();
  1511. }
  1512. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::report_data(int index) const {
  1513. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.report_data)
  1514. return report_data_.Get(index);
  1515. }
  1516. inline void protobuf_sgx_report_body_t::set_report_data(int index, ::google::protobuf::uint32 value) {
  1517. report_data_.Set(index, value);
  1518. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.report_data)
  1519. }
  1520. inline void protobuf_sgx_report_body_t::add_report_data(::google::protobuf::uint32 value) {
  1521. report_data_.Add(value);
  1522. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.report_data)
  1523. }
  1524. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1525. protobuf_sgx_report_body_t::report_data() const {
  1526. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.report_data)
  1527. return report_data_;
  1528. }
  1529. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1530. protobuf_sgx_report_body_t::mutable_report_data() {
  1531. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.report_data)
  1532. return &report_data_;
  1533. }
  1534. // -------------------------------------------------------------------
  1535. // protobuf_sgx_report_t
  1536. // required .protobuf_sgx_report_body_t body = 1;
  1537. inline bool protobuf_sgx_report_t::has_body() const {
  1538. return (_has_bits_[0] & 0x00000001u) != 0;
  1539. }
  1540. inline void protobuf_sgx_report_t::set_has_body() {
  1541. _has_bits_[0] |= 0x00000001u;
  1542. }
  1543. inline void protobuf_sgx_report_t::clear_has_body() {
  1544. _has_bits_[0] &= ~0x00000001u;
  1545. }
  1546. inline void protobuf_sgx_report_t::clear_body() {
  1547. if (body_ != NULL) body_->::protobuf_sgx_report_body_t::Clear();
  1548. clear_has_body();
  1549. }
  1550. inline const ::protobuf_sgx_report_body_t& protobuf_sgx_report_t::body() const {
  1551. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.body)
  1552. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1553. return body_ != NULL ? *body_ : *default_instance().body_;
  1554. #else
  1555. return body_ != NULL ? *body_ : *default_instance_->body_;
  1556. #endif
  1557. }
  1558. inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::mutable_body() {
  1559. set_has_body();
  1560. if (body_ == NULL) body_ = new ::protobuf_sgx_report_body_t;
  1561. // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_t.body)
  1562. return body_;
  1563. }
  1564. inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::release_body() {
  1565. clear_has_body();
  1566. ::protobuf_sgx_report_body_t* temp = body_;
  1567. body_ = NULL;
  1568. return temp;
  1569. }
  1570. inline void protobuf_sgx_report_t::set_allocated_body(::protobuf_sgx_report_body_t* body) {
  1571. delete body_;
  1572. body_ = body;
  1573. if (body) {
  1574. set_has_body();
  1575. } else {
  1576. clear_has_body();
  1577. }
  1578. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_t.body)
  1579. }
  1580. // repeated uint32 key_id = 2 [packed = true];
  1581. inline int protobuf_sgx_report_t::key_id_size() const {
  1582. return key_id_.size();
  1583. }
  1584. inline void protobuf_sgx_report_t::clear_key_id() {
  1585. key_id_.Clear();
  1586. }
  1587. inline ::google::protobuf::uint32 protobuf_sgx_report_t::key_id(int index) const {
  1588. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.key_id)
  1589. return key_id_.Get(index);
  1590. }
  1591. inline void protobuf_sgx_report_t::set_key_id(int index, ::google::protobuf::uint32 value) {
  1592. key_id_.Set(index, value);
  1593. // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.key_id)
  1594. }
  1595. inline void protobuf_sgx_report_t::add_key_id(::google::protobuf::uint32 value) {
  1596. key_id_.Add(value);
  1597. // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.key_id)
  1598. }
  1599. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1600. protobuf_sgx_report_t::key_id() const {
  1601. // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.key_id)
  1602. return key_id_;
  1603. }
  1604. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1605. protobuf_sgx_report_t::mutable_key_id() {
  1606. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.key_id)
  1607. return &key_id_;
  1608. }
  1609. // repeated uint32 mac = 3 [packed = true];
  1610. inline int protobuf_sgx_report_t::mac_size() const {
  1611. return mac_.size();
  1612. }
  1613. inline void protobuf_sgx_report_t::clear_mac() {
  1614. mac_.Clear();
  1615. }
  1616. inline ::google::protobuf::uint32 protobuf_sgx_report_t::mac(int index) const {
  1617. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.mac)
  1618. return mac_.Get(index);
  1619. }
  1620. inline void protobuf_sgx_report_t::set_mac(int index, ::google::protobuf::uint32 value) {
  1621. mac_.Set(index, value);
  1622. // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.mac)
  1623. }
  1624. inline void protobuf_sgx_report_t::add_mac(::google::protobuf::uint32 value) {
  1625. mac_.Add(value);
  1626. // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.mac)
  1627. }
  1628. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1629. protobuf_sgx_report_t::mac() const {
  1630. // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.mac)
  1631. return mac_;
  1632. }
  1633. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1634. protobuf_sgx_report_t::mutable_mac() {
  1635. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.mac)
  1636. return &mac_;
  1637. }
  1638. // -------------------------------------------------------------------
  1639. // protobuf_sgx_target_info_t
  1640. // repeated uint32 mr_enclave = 1 [packed = true];
  1641. inline int protobuf_sgx_target_info_t::mr_enclave_size() const {
  1642. return mr_enclave_.size();
  1643. }
  1644. inline void protobuf_sgx_target_info_t::clear_mr_enclave() {
  1645. mr_enclave_.Clear();
  1646. }
  1647. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::mr_enclave(int index) const {
  1648. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.mr_enclave)
  1649. return mr_enclave_.Get(index);
  1650. }
  1651. inline void protobuf_sgx_target_info_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
  1652. mr_enclave_.Set(index, value);
  1653. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.mr_enclave)
  1654. }
  1655. inline void protobuf_sgx_target_info_t::add_mr_enclave(::google::protobuf::uint32 value) {
  1656. mr_enclave_.Add(value);
  1657. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.mr_enclave)
  1658. }
  1659. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1660. protobuf_sgx_target_info_t::mr_enclave() const {
  1661. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.mr_enclave)
  1662. return mr_enclave_;
  1663. }
  1664. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1665. protobuf_sgx_target_info_t::mutable_mr_enclave() {
  1666. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.mr_enclave)
  1667. return &mr_enclave_;
  1668. }
  1669. // required .protobuf_sgx_attributes_t attributes = 4;
  1670. inline bool protobuf_sgx_target_info_t::has_attributes() const {
  1671. return (_has_bits_[0] & 0x00000002u) != 0;
  1672. }
  1673. inline void protobuf_sgx_target_info_t::set_has_attributes() {
  1674. _has_bits_[0] |= 0x00000002u;
  1675. }
  1676. inline void protobuf_sgx_target_info_t::clear_has_attributes() {
  1677. _has_bits_[0] &= ~0x00000002u;
  1678. }
  1679. inline void protobuf_sgx_target_info_t::clear_attributes() {
  1680. if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
  1681. clear_has_attributes();
  1682. }
  1683. inline const ::protobuf_sgx_attributes_t& protobuf_sgx_target_info_t::attributes() const {
  1684. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.attributes)
  1685. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1686. return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
  1687. #else
  1688. return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
  1689. #endif
  1690. }
  1691. inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::mutable_attributes() {
  1692. set_has_attributes();
  1693. if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
  1694. // @@protoc_insertion_point(field_mutable:protobuf_sgx_target_info_t.attributes)
  1695. return attributes_;
  1696. }
  1697. inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::release_attributes() {
  1698. clear_has_attributes();
  1699. ::protobuf_sgx_attributes_t* temp = attributes_;
  1700. attributes_ = NULL;
  1701. return temp;
  1702. }
  1703. inline void protobuf_sgx_target_info_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
  1704. delete attributes_;
  1705. attributes_ = attributes;
  1706. if (attributes) {
  1707. set_has_attributes();
  1708. } else {
  1709. clear_has_attributes();
  1710. }
  1711. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_target_info_t.attributes)
  1712. }
  1713. // repeated uint32 reserved1 = 2 [packed = true];
  1714. inline int protobuf_sgx_target_info_t::reserved1_size() const {
  1715. return reserved1_.size();
  1716. }
  1717. inline void protobuf_sgx_target_info_t::clear_reserved1() {
  1718. reserved1_.Clear();
  1719. }
  1720. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved1(int index) const {
  1721. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved1)
  1722. return reserved1_.Get(index);
  1723. }
  1724. inline void protobuf_sgx_target_info_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
  1725. reserved1_.Set(index, value);
  1726. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved1)
  1727. }
  1728. inline void protobuf_sgx_target_info_t::add_reserved1(::google::protobuf::uint32 value) {
  1729. reserved1_.Add(value);
  1730. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved1)
  1731. }
  1732. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1733. protobuf_sgx_target_info_t::reserved1() const {
  1734. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved1)
  1735. return reserved1_;
  1736. }
  1737. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1738. protobuf_sgx_target_info_t::mutable_reserved1() {
  1739. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved1)
  1740. return &reserved1_;
  1741. }
  1742. // required uint32 misc_select = 5;
  1743. inline bool protobuf_sgx_target_info_t::has_misc_select() const {
  1744. return (_has_bits_[0] & 0x00000008u) != 0;
  1745. }
  1746. inline void protobuf_sgx_target_info_t::set_has_misc_select() {
  1747. _has_bits_[0] |= 0x00000008u;
  1748. }
  1749. inline void protobuf_sgx_target_info_t::clear_has_misc_select() {
  1750. _has_bits_[0] &= ~0x00000008u;
  1751. }
  1752. inline void protobuf_sgx_target_info_t::clear_misc_select() {
  1753. misc_select_ = 0u;
  1754. clear_has_misc_select();
  1755. }
  1756. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::misc_select() const {
  1757. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.misc_select)
  1758. return misc_select_;
  1759. }
  1760. inline void protobuf_sgx_target_info_t::set_misc_select(::google::protobuf::uint32 value) {
  1761. set_has_misc_select();
  1762. misc_select_ = value;
  1763. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.misc_select)
  1764. }
  1765. // repeated uint32 reserved2 = 3 [packed = true];
  1766. inline int protobuf_sgx_target_info_t::reserved2_size() const {
  1767. return reserved2_.size();
  1768. }
  1769. inline void protobuf_sgx_target_info_t::clear_reserved2() {
  1770. reserved2_.Clear();
  1771. }
  1772. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved2(int index) const {
  1773. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved2)
  1774. return reserved2_.Get(index);
  1775. }
  1776. inline void protobuf_sgx_target_info_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
  1777. reserved2_.Set(index, value);
  1778. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved2)
  1779. }
  1780. inline void protobuf_sgx_target_info_t::add_reserved2(::google::protobuf::uint32 value) {
  1781. reserved2_.Add(value);
  1782. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved2)
  1783. }
  1784. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1785. protobuf_sgx_target_info_t::reserved2() const {
  1786. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved2)
  1787. return reserved2_;
  1788. }
  1789. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1790. protobuf_sgx_target_info_t::mutable_reserved2() {
  1791. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved2)
  1792. return &reserved2_;
  1793. }
  1794. // -------------------------------------------------------------------
  1795. // protobuf_sgx_dh_msg1_t
  1796. // required .protobuf_sgx_ec256_public_t g_a = 1;
  1797. inline bool protobuf_sgx_dh_msg1_t::has_g_a() const {
  1798. return (_has_bits_[0] & 0x00000001u) != 0;
  1799. }
  1800. inline void protobuf_sgx_dh_msg1_t::set_has_g_a() {
  1801. _has_bits_[0] |= 0x00000001u;
  1802. }
  1803. inline void protobuf_sgx_dh_msg1_t::clear_has_g_a() {
  1804. _has_bits_[0] &= ~0x00000001u;
  1805. }
  1806. inline void protobuf_sgx_dh_msg1_t::clear_g_a() {
  1807. if (g_a_ != NULL) g_a_->::protobuf_sgx_ec256_public_t::Clear();
  1808. clear_has_g_a();
  1809. }
  1810. inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg1_t::g_a() const {
  1811. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.g_a)
  1812. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1813. return g_a_ != NULL ? *g_a_ : *default_instance().g_a_;
  1814. #else
  1815. return g_a_ != NULL ? *g_a_ : *default_instance_->g_a_;
  1816. #endif
  1817. }
  1818. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::mutable_g_a() {
  1819. set_has_g_a();
  1820. if (g_a_ == NULL) g_a_ = new ::protobuf_sgx_ec256_public_t;
  1821. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.g_a)
  1822. return g_a_;
  1823. }
  1824. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::release_g_a() {
  1825. clear_has_g_a();
  1826. ::protobuf_sgx_ec256_public_t* temp = g_a_;
  1827. g_a_ = NULL;
  1828. return temp;
  1829. }
  1830. inline void protobuf_sgx_dh_msg1_t::set_allocated_g_a(::protobuf_sgx_ec256_public_t* g_a) {
  1831. delete g_a_;
  1832. g_a_ = g_a;
  1833. if (g_a) {
  1834. set_has_g_a();
  1835. } else {
  1836. clear_has_g_a();
  1837. }
  1838. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.g_a)
  1839. }
  1840. // required .protobuf_sgx_target_info_t target = 2;
  1841. inline bool protobuf_sgx_dh_msg1_t::has_target() const {
  1842. return (_has_bits_[0] & 0x00000002u) != 0;
  1843. }
  1844. inline void protobuf_sgx_dh_msg1_t::set_has_target() {
  1845. _has_bits_[0] |= 0x00000002u;
  1846. }
  1847. inline void protobuf_sgx_dh_msg1_t::clear_has_target() {
  1848. _has_bits_[0] &= ~0x00000002u;
  1849. }
  1850. inline void protobuf_sgx_dh_msg1_t::clear_target() {
  1851. if (target_ != NULL) target_->::protobuf_sgx_target_info_t::Clear();
  1852. clear_has_target();
  1853. }
  1854. inline const ::protobuf_sgx_target_info_t& protobuf_sgx_dh_msg1_t::target() const {
  1855. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.target)
  1856. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1857. return target_ != NULL ? *target_ : *default_instance().target_;
  1858. #else
  1859. return target_ != NULL ? *target_ : *default_instance_->target_;
  1860. #endif
  1861. }
  1862. inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::mutable_target() {
  1863. set_has_target();
  1864. if (target_ == NULL) target_ = new ::protobuf_sgx_target_info_t;
  1865. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.target)
  1866. return target_;
  1867. }
  1868. inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::release_target() {
  1869. clear_has_target();
  1870. ::protobuf_sgx_target_info_t* temp = target_;
  1871. target_ = NULL;
  1872. return temp;
  1873. }
  1874. inline void protobuf_sgx_dh_msg1_t::set_allocated_target(::protobuf_sgx_target_info_t* target) {
  1875. delete target_;
  1876. target_ = target;
  1877. if (target) {
  1878. set_has_target();
  1879. } else {
  1880. clear_has_target();
  1881. }
  1882. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.target)
  1883. }
  1884. // -------------------------------------------------------------------
  1885. // protobuf_sgx_dh_msg2_t
  1886. // required .protobuf_sgx_ec256_public_t g_b = 1;
  1887. inline bool protobuf_sgx_dh_msg2_t::has_g_b() const {
  1888. return (_has_bits_[0] & 0x00000001u) != 0;
  1889. }
  1890. inline void protobuf_sgx_dh_msg2_t::set_has_g_b() {
  1891. _has_bits_[0] |= 0x00000001u;
  1892. }
  1893. inline void protobuf_sgx_dh_msg2_t::clear_has_g_b() {
  1894. _has_bits_[0] &= ~0x00000001u;
  1895. }
  1896. inline void protobuf_sgx_dh_msg2_t::clear_g_b() {
  1897. if (g_b_ != NULL) g_b_->::protobuf_sgx_ec256_public_t::Clear();
  1898. clear_has_g_b();
  1899. }
  1900. inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg2_t::g_b() const {
  1901. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.g_b)
  1902. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1903. return g_b_ != NULL ? *g_b_ : *default_instance().g_b_;
  1904. #else
  1905. return g_b_ != NULL ? *g_b_ : *default_instance_->g_b_;
  1906. #endif
  1907. }
  1908. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::mutable_g_b() {
  1909. set_has_g_b();
  1910. if (g_b_ == NULL) g_b_ = new ::protobuf_sgx_ec256_public_t;
  1911. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.g_b)
  1912. return g_b_;
  1913. }
  1914. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::release_g_b() {
  1915. clear_has_g_b();
  1916. ::protobuf_sgx_ec256_public_t* temp = g_b_;
  1917. g_b_ = NULL;
  1918. return temp;
  1919. }
  1920. inline void protobuf_sgx_dh_msg2_t::set_allocated_g_b(::protobuf_sgx_ec256_public_t* g_b) {
  1921. delete g_b_;
  1922. g_b_ = g_b;
  1923. if (g_b) {
  1924. set_has_g_b();
  1925. } else {
  1926. clear_has_g_b();
  1927. }
  1928. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.g_b)
  1929. }
  1930. // required .protobuf_sgx_report_t report = 2;
  1931. inline bool protobuf_sgx_dh_msg2_t::has_report() const {
  1932. return (_has_bits_[0] & 0x00000002u) != 0;
  1933. }
  1934. inline void protobuf_sgx_dh_msg2_t::set_has_report() {
  1935. _has_bits_[0] |= 0x00000002u;
  1936. }
  1937. inline void protobuf_sgx_dh_msg2_t::clear_has_report() {
  1938. _has_bits_[0] &= ~0x00000002u;
  1939. }
  1940. inline void protobuf_sgx_dh_msg2_t::clear_report() {
  1941. if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
  1942. clear_has_report();
  1943. }
  1944. inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg2_t::report() const {
  1945. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.report)
  1946. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1947. return report_ != NULL ? *report_ : *default_instance().report_;
  1948. #else
  1949. return report_ != NULL ? *report_ : *default_instance_->report_;
  1950. #endif
  1951. }
  1952. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::mutable_report() {
  1953. set_has_report();
  1954. if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
  1955. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.report)
  1956. return report_;
  1957. }
  1958. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::release_report() {
  1959. clear_has_report();
  1960. ::protobuf_sgx_report_t* temp = report_;
  1961. report_ = NULL;
  1962. return temp;
  1963. }
  1964. inline void protobuf_sgx_dh_msg2_t::set_allocated_report(::protobuf_sgx_report_t* report) {
  1965. delete report_;
  1966. report_ = report;
  1967. if (report) {
  1968. set_has_report();
  1969. } else {
  1970. clear_has_report();
  1971. }
  1972. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.report)
  1973. }
  1974. // repeated uint32 cmac = 3 [packed = true];
  1975. inline int protobuf_sgx_dh_msg2_t::cmac_size() const {
  1976. return cmac_.size();
  1977. }
  1978. inline void protobuf_sgx_dh_msg2_t::clear_cmac() {
  1979. cmac_.Clear();
  1980. }
  1981. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg2_t::cmac(int index) const {
  1982. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.cmac)
  1983. return cmac_.Get(index);
  1984. }
  1985. inline void protobuf_sgx_dh_msg2_t::set_cmac(int index, ::google::protobuf::uint32 value) {
  1986. cmac_.Set(index, value);
  1987. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg2_t.cmac)
  1988. }
  1989. inline void protobuf_sgx_dh_msg2_t::add_cmac(::google::protobuf::uint32 value) {
  1990. cmac_.Add(value);
  1991. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg2_t.cmac)
  1992. }
  1993. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1994. protobuf_sgx_dh_msg2_t::cmac() const {
  1995. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg2_t.cmac)
  1996. return cmac_;
  1997. }
  1998. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1999. protobuf_sgx_dh_msg2_t::mutable_cmac() {
  2000. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg2_t.cmac)
  2001. return &cmac_;
  2002. }
  2003. // -------------------------------------------------------------------
  2004. // protobuf_sgx_dh_msg3_body_t
  2005. // required .protobuf_sgx_report_t report = 1;
  2006. inline bool protobuf_sgx_dh_msg3_body_t::has_report() const {
  2007. return (_has_bits_[0] & 0x00000001u) != 0;
  2008. }
  2009. inline void protobuf_sgx_dh_msg3_body_t::set_has_report() {
  2010. _has_bits_[0] |= 0x00000001u;
  2011. }
  2012. inline void protobuf_sgx_dh_msg3_body_t::clear_has_report() {
  2013. _has_bits_[0] &= ~0x00000001u;
  2014. }
  2015. inline void protobuf_sgx_dh_msg3_body_t::clear_report() {
  2016. if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
  2017. clear_has_report();
  2018. }
  2019. inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg3_body_t::report() const {
  2020. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.report)
  2021. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  2022. return report_ != NULL ? *report_ : *default_instance().report_;
  2023. #else
  2024. return report_ != NULL ? *report_ : *default_instance_->report_;
  2025. #endif
  2026. }
  2027. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::mutable_report() {
  2028. set_has_report();
  2029. if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
  2030. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_body_t.report)
  2031. return report_;
  2032. }
  2033. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::release_report() {
  2034. clear_has_report();
  2035. ::protobuf_sgx_report_t* temp = report_;
  2036. report_ = NULL;
  2037. return temp;
  2038. }
  2039. inline void protobuf_sgx_dh_msg3_body_t::set_allocated_report(::protobuf_sgx_report_t* report) {
  2040. delete report_;
  2041. report_ = report;
  2042. if (report) {
  2043. set_has_report();
  2044. } else {
  2045. clear_has_report();
  2046. }
  2047. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_body_t.report)
  2048. }
  2049. // repeated uint32 additional_prop = 2;
  2050. inline int protobuf_sgx_dh_msg3_body_t::additional_prop_size() const {
  2051. return additional_prop_.size();
  2052. }
  2053. inline void protobuf_sgx_dh_msg3_body_t::clear_additional_prop() {
  2054. additional_prop_.Clear();
  2055. }
  2056. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_body_t::additional_prop(int index) const {
  2057. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2058. return additional_prop_.Get(index);
  2059. }
  2060. inline void protobuf_sgx_dh_msg3_body_t::set_additional_prop(int index, ::google::protobuf::uint32 value) {
  2061. additional_prop_.Set(index, value);
  2062. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2063. }
  2064. inline void protobuf_sgx_dh_msg3_body_t::add_additional_prop(::google::protobuf::uint32 value) {
  2065. additional_prop_.Add(value);
  2066. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2067. }
  2068. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  2069. protobuf_sgx_dh_msg3_body_t::additional_prop() const {
  2070. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2071. return additional_prop_;
  2072. }
  2073. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  2074. protobuf_sgx_dh_msg3_body_t::mutable_additional_prop() {
  2075. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2076. return &additional_prop_;
  2077. }
  2078. // -------------------------------------------------------------------
  2079. // protobuf_sgx_dh_msg3_t
  2080. // required .protobuf_sgx_dh_msg3_body_t msg3_body = 1;
  2081. inline bool protobuf_sgx_dh_msg3_t::has_msg3_body() const {
  2082. return (_has_bits_[0] & 0x00000001u) != 0;
  2083. }
  2084. inline void protobuf_sgx_dh_msg3_t::set_has_msg3_body() {
  2085. _has_bits_[0] |= 0x00000001u;
  2086. }
  2087. inline void protobuf_sgx_dh_msg3_t::clear_has_msg3_body() {
  2088. _has_bits_[0] &= ~0x00000001u;
  2089. }
  2090. inline void protobuf_sgx_dh_msg3_t::clear_msg3_body() {
  2091. if (msg3_body_ != NULL) msg3_body_->::protobuf_sgx_dh_msg3_body_t::Clear();
  2092. clear_has_msg3_body();
  2093. }
  2094. inline const ::protobuf_sgx_dh_msg3_body_t& protobuf_sgx_dh_msg3_t::msg3_body() const {
  2095. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.msg3_body)
  2096. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  2097. return msg3_body_ != NULL ? *msg3_body_ : *default_instance().msg3_body_;
  2098. #else
  2099. return msg3_body_ != NULL ? *msg3_body_ : *default_instance_->msg3_body_;
  2100. #endif
  2101. }
  2102. inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::mutable_msg3_body() {
  2103. set_has_msg3_body();
  2104. if (msg3_body_ == NULL) msg3_body_ = new ::protobuf_sgx_dh_msg3_body_t;
  2105. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_t.msg3_body)
  2106. return msg3_body_;
  2107. }
  2108. inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::release_msg3_body() {
  2109. clear_has_msg3_body();
  2110. ::protobuf_sgx_dh_msg3_body_t* temp = msg3_body_;
  2111. msg3_body_ = NULL;
  2112. return temp;
  2113. }
  2114. inline void protobuf_sgx_dh_msg3_t::set_allocated_msg3_body(::protobuf_sgx_dh_msg3_body_t* msg3_body) {
  2115. delete msg3_body_;
  2116. msg3_body_ = msg3_body;
  2117. if (msg3_body) {
  2118. set_has_msg3_body();
  2119. } else {
  2120. clear_has_msg3_body();
  2121. }
  2122. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_t.msg3_body)
  2123. }
  2124. // repeated uint32 cmac = 2 [packed = true];
  2125. inline int protobuf_sgx_dh_msg3_t::cmac_size() const {
  2126. return cmac_.size();
  2127. }
  2128. inline void protobuf_sgx_dh_msg3_t::clear_cmac() {
  2129. cmac_.Clear();
  2130. }
  2131. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_t::cmac(int index) const {
  2132. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.cmac)
  2133. return cmac_.Get(index);
  2134. }
  2135. inline void protobuf_sgx_dh_msg3_t::set_cmac(int index, ::google::protobuf::uint32 value) {
  2136. cmac_.Set(index, value);
  2137. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_t.cmac)
  2138. }
  2139. inline void protobuf_sgx_dh_msg3_t::add_cmac(::google::protobuf::uint32 value) {
  2140. cmac_.Add(value);
  2141. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_t.cmac)
  2142. }
  2143. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  2144. protobuf_sgx_dh_msg3_t::cmac() const {
  2145. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_t.cmac)
  2146. return cmac_;
  2147. }
  2148. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  2149. protobuf_sgx_dh_msg3_t::mutable_cmac() {
  2150. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_t.cmac)
  2151. return &cmac_;
  2152. }
  2153. // -------------------------------------------------------------------
  2154. // protobuf_post_LA_encrypted_msg_t
  2155. // repeated bytes msg = 1;
  2156. inline int protobuf_post_LA_encrypted_msg_t::msg_size() const {
  2157. return msg_.size();
  2158. }
  2159. inline void protobuf_post_LA_encrypted_msg_t::clear_msg() {
  2160. msg_.Clear();
  2161. }
  2162. inline const ::std::string& protobuf_post_LA_encrypted_msg_t::msg(int index) const {
  2163. // @@protoc_insertion_point(field_get:protobuf_post_LA_encrypted_msg_t.msg)
  2164. return msg_.Get(index);
  2165. }
  2166. inline ::std::string* protobuf_post_LA_encrypted_msg_t::mutable_msg(int index) {
  2167. // @@protoc_insertion_point(field_mutable:protobuf_post_LA_encrypted_msg_t.msg)
  2168. return msg_.Mutable(index);
  2169. }
  2170. inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const ::std::string& value) {
  2171. // @@protoc_insertion_point(field_set:protobuf_post_LA_encrypted_msg_t.msg)
  2172. msg_.Mutable(index)->assign(value);
  2173. }
  2174. inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const char* value) {
  2175. msg_.Mutable(index)->assign(value);
  2176. // @@protoc_insertion_point(field_set_char:protobuf_post_LA_encrypted_msg_t.msg)
  2177. }
  2178. inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const void* value, size_t size) {
  2179. msg_.Mutable(index)->assign(
  2180. reinterpret_cast<const char*>(value), size);
  2181. // @@protoc_insertion_point(field_set_pointer:protobuf_post_LA_encrypted_msg_t.msg)
  2182. }
  2183. inline ::std::string* protobuf_post_LA_encrypted_msg_t::add_msg() {
  2184. return msg_.Add();
  2185. }
  2186. inline void protobuf_post_LA_encrypted_msg_t::add_msg(const ::std::string& value) {
  2187. msg_.Add()->assign(value);
  2188. // @@protoc_insertion_point(field_add:protobuf_post_LA_encrypted_msg_t.msg)
  2189. }
  2190. inline void protobuf_post_LA_encrypted_msg_t::add_msg(const char* value) {
  2191. msg_.Add()->assign(value);
  2192. // @@protoc_insertion_point(field_add_char:protobuf_post_LA_encrypted_msg_t.msg)
  2193. }
  2194. inline void protobuf_post_LA_encrypted_msg_t::add_msg(const void* value, size_t size) {
  2195. msg_.Add()->assign(reinterpret_cast<const char*>(value), size);
  2196. // @@protoc_insertion_point(field_add_pointer:protobuf_post_LA_encrypted_msg_t.msg)
  2197. }
  2198. inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
  2199. protobuf_post_LA_encrypted_msg_t::msg() const {
  2200. // @@protoc_insertion_point(field_list:protobuf_post_LA_encrypted_msg_t.msg)
  2201. return msg_;
  2202. }
  2203. inline ::google::protobuf::RepeatedPtrField< ::std::string>*
  2204. protobuf_post_LA_encrypted_msg_t::mutable_msg() {
  2205. // @@protoc_insertion_point(field_mutable_list:protobuf_post_LA_encrypted_msg_t.msg)
  2206. return &msg_;
  2207. }
  2208. // @@protoc_insertion_point(namespace_scope)
  2209. // @@protoc_insertion_point(global_scope)
  2210. #endif // PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED