ProtobufLAMessages.pb.h 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501
  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. // required bytes msg = 1;
  1048. inline bool has_msg() const;
  1049. inline void clear_msg();
  1050. static const int kMsgFieldNumber = 1;
  1051. inline const ::std::string& msg() const;
  1052. inline void set_msg(const ::std::string& value);
  1053. inline void set_msg(const char* value);
  1054. inline void set_msg(const void* value, size_t size);
  1055. inline ::std::string* mutable_msg();
  1056. inline ::std::string* release_msg();
  1057. inline void set_allocated_msg(::std::string* msg);
  1058. // @@protoc_insertion_point(class_scope:protobuf_post_LA_encrypted_msg_t)
  1059. private:
  1060. inline void set_has_msg();
  1061. inline void clear_has_msg();
  1062. ::std::string _unknown_fields_;
  1063. ::google::protobuf::uint32 _has_bits_[1];
  1064. mutable int _cached_size_;
  1065. ::std::string* msg_;
  1066. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1067. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
  1068. #else
  1069. friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
  1070. #endif
  1071. friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
  1072. friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
  1073. void InitAsDefaultInstance();
  1074. static protobuf_post_LA_encrypted_msg_t* default_instance_;
  1075. };
  1076. // ===================================================================
  1077. // ===================================================================
  1078. // protobuf_sgx_attributes_t
  1079. // required uint64 flags = 1;
  1080. inline bool protobuf_sgx_attributes_t::has_flags() const {
  1081. return (_has_bits_[0] & 0x00000001u) != 0;
  1082. }
  1083. inline void protobuf_sgx_attributes_t::set_has_flags() {
  1084. _has_bits_[0] |= 0x00000001u;
  1085. }
  1086. inline void protobuf_sgx_attributes_t::clear_has_flags() {
  1087. _has_bits_[0] &= ~0x00000001u;
  1088. }
  1089. inline void protobuf_sgx_attributes_t::clear_flags() {
  1090. flags_ = GOOGLE_ULONGLONG(0);
  1091. clear_has_flags();
  1092. }
  1093. inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::flags() const {
  1094. // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.flags)
  1095. return flags_;
  1096. }
  1097. inline void protobuf_sgx_attributes_t::set_flags(::google::protobuf::uint64 value) {
  1098. set_has_flags();
  1099. flags_ = value;
  1100. // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.flags)
  1101. }
  1102. // required uint64 xfrm = 2;
  1103. inline bool protobuf_sgx_attributes_t::has_xfrm() const {
  1104. return (_has_bits_[0] & 0x00000002u) != 0;
  1105. }
  1106. inline void protobuf_sgx_attributes_t::set_has_xfrm() {
  1107. _has_bits_[0] |= 0x00000002u;
  1108. }
  1109. inline void protobuf_sgx_attributes_t::clear_has_xfrm() {
  1110. _has_bits_[0] &= ~0x00000002u;
  1111. }
  1112. inline void protobuf_sgx_attributes_t::clear_xfrm() {
  1113. xfrm_ = GOOGLE_ULONGLONG(0);
  1114. clear_has_xfrm();
  1115. }
  1116. inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::xfrm() const {
  1117. // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.xfrm)
  1118. return xfrm_;
  1119. }
  1120. inline void protobuf_sgx_attributes_t::set_xfrm(::google::protobuf::uint64 value) {
  1121. set_has_xfrm();
  1122. xfrm_ = value;
  1123. // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.xfrm)
  1124. }
  1125. // -------------------------------------------------------------------
  1126. // protobuf_sgx_ec256_public_t
  1127. // repeated uint32 gx = 1 [packed = true];
  1128. inline int protobuf_sgx_ec256_public_t::gx_size() const {
  1129. return gx_.size();
  1130. }
  1131. inline void protobuf_sgx_ec256_public_t::clear_gx() {
  1132. gx_.Clear();
  1133. }
  1134. inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gx(int index) const {
  1135. // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gx)
  1136. return gx_.Get(index);
  1137. }
  1138. inline void protobuf_sgx_ec256_public_t::set_gx(int index, ::google::protobuf::uint32 value) {
  1139. gx_.Set(index, value);
  1140. // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gx)
  1141. }
  1142. inline void protobuf_sgx_ec256_public_t::add_gx(::google::protobuf::uint32 value) {
  1143. gx_.Add(value);
  1144. // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gx)
  1145. }
  1146. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1147. protobuf_sgx_ec256_public_t::gx() const {
  1148. // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gx)
  1149. return gx_;
  1150. }
  1151. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1152. protobuf_sgx_ec256_public_t::mutable_gx() {
  1153. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gx)
  1154. return &gx_;
  1155. }
  1156. // repeated uint32 gy = 2 [packed = true];
  1157. inline int protobuf_sgx_ec256_public_t::gy_size() const {
  1158. return gy_.size();
  1159. }
  1160. inline void protobuf_sgx_ec256_public_t::clear_gy() {
  1161. gy_.Clear();
  1162. }
  1163. inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gy(int index) const {
  1164. // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gy)
  1165. return gy_.Get(index);
  1166. }
  1167. inline void protobuf_sgx_ec256_public_t::set_gy(int index, ::google::protobuf::uint32 value) {
  1168. gy_.Set(index, value);
  1169. // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gy)
  1170. }
  1171. inline void protobuf_sgx_ec256_public_t::add_gy(::google::protobuf::uint32 value) {
  1172. gy_.Add(value);
  1173. // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gy)
  1174. }
  1175. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1176. protobuf_sgx_ec256_public_t::gy() const {
  1177. // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gy)
  1178. return gy_;
  1179. }
  1180. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1181. protobuf_sgx_ec256_public_t::mutable_gy() {
  1182. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gy)
  1183. return &gy_;
  1184. }
  1185. // -------------------------------------------------------------------
  1186. // protobuf_sgx_report_body_t
  1187. // repeated uint32 cpu_svn = 1 [packed = true];
  1188. inline int protobuf_sgx_report_body_t::cpu_svn_size() const {
  1189. return cpu_svn_.size();
  1190. }
  1191. inline void protobuf_sgx_report_body_t::clear_cpu_svn() {
  1192. cpu_svn_.Clear();
  1193. }
  1194. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::cpu_svn(int index) const {
  1195. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.cpu_svn)
  1196. return cpu_svn_.Get(index);
  1197. }
  1198. inline void protobuf_sgx_report_body_t::set_cpu_svn(int index, ::google::protobuf::uint32 value) {
  1199. cpu_svn_.Set(index, value);
  1200. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.cpu_svn)
  1201. }
  1202. inline void protobuf_sgx_report_body_t::add_cpu_svn(::google::protobuf::uint32 value) {
  1203. cpu_svn_.Add(value);
  1204. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.cpu_svn)
  1205. }
  1206. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1207. protobuf_sgx_report_body_t::cpu_svn() const {
  1208. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.cpu_svn)
  1209. return cpu_svn_;
  1210. }
  1211. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1212. protobuf_sgx_report_body_t::mutable_cpu_svn() {
  1213. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.cpu_svn)
  1214. return &cpu_svn_;
  1215. }
  1216. // required uint32 misc_select = 9;
  1217. inline bool protobuf_sgx_report_body_t::has_misc_select() const {
  1218. return (_has_bits_[0] & 0x00000002u) != 0;
  1219. }
  1220. inline void protobuf_sgx_report_body_t::set_has_misc_select() {
  1221. _has_bits_[0] |= 0x00000002u;
  1222. }
  1223. inline void protobuf_sgx_report_body_t::clear_has_misc_select() {
  1224. _has_bits_[0] &= ~0x00000002u;
  1225. }
  1226. inline void protobuf_sgx_report_body_t::clear_misc_select() {
  1227. misc_select_ = 0u;
  1228. clear_has_misc_select();
  1229. }
  1230. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::misc_select() const {
  1231. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.misc_select)
  1232. return misc_select_;
  1233. }
  1234. inline void protobuf_sgx_report_body_t::set_misc_select(::google::protobuf::uint32 value) {
  1235. set_has_misc_select();
  1236. misc_select_ = value;
  1237. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.misc_select)
  1238. }
  1239. // repeated uint32 reserved1 = 2 [packed = true];
  1240. inline int protobuf_sgx_report_body_t::reserved1_size() const {
  1241. return reserved1_.size();
  1242. }
  1243. inline void protobuf_sgx_report_body_t::clear_reserved1() {
  1244. reserved1_.Clear();
  1245. }
  1246. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved1(int index) const {
  1247. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved1)
  1248. return reserved1_.Get(index);
  1249. }
  1250. inline void protobuf_sgx_report_body_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
  1251. reserved1_.Set(index, value);
  1252. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved1)
  1253. }
  1254. inline void protobuf_sgx_report_body_t::add_reserved1(::google::protobuf::uint32 value) {
  1255. reserved1_.Add(value);
  1256. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved1)
  1257. }
  1258. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1259. protobuf_sgx_report_body_t::reserved1() const {
  1260. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved1)
  1261. return reserved1_;
  1262. }
  1263. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1264. protobuf_sgx_report_body_t::mutable_reserved1() {
  1265. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved1)
  1266. return &reserved1_;
  1267. }
  1268. // required .protobuf_sgx_attributes_t attributes = 10;
  1269. inline bool protobuf_sgx_report_body_t::has_attributes() const {
  1270. return (_has_bits_[0] & 0x00000008u) != 0;
  1271. }
  1272. inline void protobuf_sgx_report_body_t::set_has_attributes() {
  1273. _has_bits_[0] |= 0x00000008u;
  1274. }
  1275. inline void protobuf_sgx_report_body_t::clear_has_attributes() {
  1276. _has_bits_[0] &= ~0x00000008u;
  1277. }
  1278. inline void protobuf_sgx_report_body_t::clear_attributes() {
  1279. if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
  1280. clear_has_attributes();
  1281. }
  1282. inline const ::protobuf_sgx_attributes_t& protobuf_sgx_report_body_t::attributes() const {
  1283. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.attributes)
  1284. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1285. return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
  1286. #else
  1287. return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
  1288. #endif
  1289. }
  1290. inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::mutable_attributes() {
  1291. set_has_attributes();
  1292. if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
  1293. // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_body_t.attributes)
  1294. return attributes_;
  1295. }
  1296. inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::release_attributes() {
  1297. clear_has_attributes();
  1298. ::protobuf_sgx_attributes_t* temp = attributes_;
  1299. attributes_ = NULL;
  1300. return temp;
  1301. }
  1302. inline void protobuf_sgx_report_body_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
  1303. delete attributes_;
  1304. attributes_ = attributes;
  1305. if (attributes) {
  1306. set_has_attributes();
  1307. } else {
  1308. clear_has_attributes();
  1309. }
  1310. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_body_t.attributes)
  1311. }
  1312. // repeated uint32 mr_enclave = 3 [packed = true];
  1313. inline int protobuf_sgx_report_body_t::mr_enclave_size() const {
  1314. return mr_enclave_.size();
  1315. }
  1316. inline void protobuf_sgx_report_body_t::clear_mr_enclave() {
  1317. mr_enclave_.Clear();
  1318. }
  1319. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_enclave(int index) const {
  1320. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_enclave)
  1321. return mr_enclave_.Get(index);
  1322. }
  1323. inline void protobuf_sgx_report_body_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
  1324. mr_enclave_.Set(index, value);
  1325. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_enclave)
  1326. }
  1327. inline void protobuf_sgx_report_body_t::add_mr_enclave(::google::protobuf::uint32 value) {
  1328. mr_enclave_.Add(value);
  1329. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_enclave)
  1330. }
  1331. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1332. protobuf_sgx_report_body_t::mr_enclave() const {
  1333. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_enclave)
  1334. return mr_enclave_;
  1335. }
  1336. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1337. protobuf_sgx_report_body_t::mutable_mr_enclave() {
  1338. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_enclave)
  1339. return &mr_enclave_;
  1340. }
  1341. // repeated uint32 reserved2 = 4 [packed = true];
  1342. inline int protobuf_sgx_report_body_t::reserved2_size() const {
  1343. return reserved2_.size();
  1344. }
  1345. inline void protobuf_sgx_report_body_t::clear_reserved2() {
  1346. reserved2_.Clear();
  1347. }
  1348. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved2(int index) const {
  1349. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved2)
  1350. return reserved2_.Get(index);
  1351. }
  1352. inline void protobuf_sgx_report_body_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
  1353. reserved2_.Set(index, value);
  1354. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved2)
  1355. }
  1356. inline void protobuf_sgx_report_body_t::add_reserved2(::google::protobuf::uint32 value) {
  1357. reserved2_.Add(value);
  1358. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved2)
  1359. }
  1360. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1361. protobuf_sgx_report_body_t::reserved2() const {
  1362. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved2)
  1363. return reserved2_;
  1364. }
  1365. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1366. protobuf_sgx_report_body_t::mutable_reserved2() {
  1367. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved2)
  1368. return &reserved2_;
  1369. }
  1370. // repeated uint32 mr_signer = 5 [packed = true];
  1371. inline int protobuf_sgx_report_body_t::mr_signer_size() const {
  1372. return mr_signer_.size();
  1373. }
  1374. inline void protobuf_sgx_report_body_t::clear_mr_signer() {
  1375. mr_signer_.Clear();
  1376. }
  1377. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_signer(int index) const {
  1378. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_signer)
  1379. return mr_signer_.Get(index);
  1380. }
  1381. inline void protobuf_sgx_report_body_t::set_mr_signer(int index, ::google::protobuf::uint32 value) {
  1382. mr_signer_.Set(index, value);
  1383. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_signer)
  1384. }
  1385. inline void protobuf_sgx_report_body_t::add_mr_signer(::google::protobuf::uint32 value) {
  1386. mr_signer_.Add(value);
  1387. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_signer)
  1388. }
  1389. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1390. protobuf_sgx_report_body_t::mr_signer() const {
  1391. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_signer)
  1392. return mr_signer_;
  1393. }
  1394. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1395. protobuf_sgx_report_body_t::mutable_mr_signer() {
  1396. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_signer)
  1397. return &mr_signer_;
  1398. }
  1399. // repeated uint32 reserved3 = 6 [packed = true];
  1400. inline int protobuf_sgx_report_body_t::reserved3_size() const {
  1401. return reserved3_.size();
  1402. }
  1403. inline void protobuf_sgx_report_body_t::clear_reserved3() {
  1404. reserved3_.Clear();
  1405. }
  1406. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved3(int index) const {
  1407. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved3)
  1408. return reserved3_.Get(index);
  1409. }
  1410. inline void protobuf_sgx_report_body_t::set_reserved3(int index, ::google::protobuf::uint32 value) {
  1411. reserved3_.Set(index, value);
  1412. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved3)
  1413. }
  1414. inline void protobuf_sgx_report_body_t::add_reserved3(::google::protobuf::uint32 value) {
  1415. reserved3_.Add(value);
  1416. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved3)
  1417. }
  1418. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1419. protobuf_sgx_report_body_t::reserved3() const {
  1420. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved3)
  1421. return reserved3_;
  1422. }
  1423. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1424. protobuf_sgx_report_body_t::mutable_reserved3() {
  1425. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved3)
  1426. return &reserved3_;
  1427. }
  1428. // required uint32 isv_prod_id = 11;
  1429. inline bool protobuf_sgx_report_body_t::has_isv_prod_id() const {
  1430. return (_has_bits_[0] & 0x00000100u) != 0;
  1431. }
  1432. inline void protobuf_sgx_report_body_t::set_has_isv_prod_id() {
  1433. _has_bits_[0] |= 0x00000100u;
  1434. }
  1435. inline void protobuf_sgx_report_body_t::clear_has_isv_prod_id() {
  1436. _has_bits_[0] &= ~0x00000100u;
  1437. }
  1438. inline void protobuf_sgx_report_body_t::clear_isv_prod_id() {
  1439. isv_prod_id_ = 0u;
  1440. clear_has_isv_prod_id();
  1441. }
  1442. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_prod_id() const {
  1443. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_prod_id)
  1444. return isv_prod_id_;
  1445. }
  1446. inline void protobuf_sgx_report_body_t::set_isv_prod_id(::google::protobuf::uint32 value) {
  1447. set_has_isv_prod_id();
  1448. isv_prod_id_ = value;
  1449. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_prod_id)
  1450. }
  1451. // required uint32 isv_svn = 12;
  1452. inline bool protobuf_sgx_report_body_t::has_isv_svn() const {
  1453. return (_has_bits_[0] & 0x00000200u) != 0;
  1454. }
  1455. inline void protobuf_sgx_report_body_t::set_has_isv_svn() {
  1456. _has_bits_[0] |= 0x00000200u;
  1457. }
  1458. inline void protobuf_sgx_report_body_t::clear_has_isv_svn() {
  1459. _has_bits_[0] &= ~0x00000200u;
  1460. }
  1461. inline void protobuf_sgx_report_body_t::clear_isv_svn() {
  1462. isv_svn_ = 0u;
  1463. clear_has_isv_svn();
  1464. }
  1465. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_svn() const {
  1466. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_svn)
  1467. return isv_svn_;
  1468. }
  1469. inline void protobuf_sgx_report_body_t::set_isv_svn(::google::protobuf::uint32 value) {
  1470. set_has_isv_svn();
  1471. isv_svn_ = value;
  1472. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_svn)
  1473. }
  1474. // repeated uint32 reserved4 = 7 [packed = true];
  1475. inline int protobuf_sgx_report_body_t::reserved4_size() const {
  1476. return reserved4_.size();
  1477. }
  1478. inline void protobuf_sgx_report_body_t::clear_reserved4() {
  1479. reserved4_.Clear();
  1480. }
  1481. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved4(int index) const {
  1482. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved4)
  1483. return reserved4_.Get(index);
  1484. }
  1485. inline void protobuf_sgx_report_body_t::set_reserved4(int index, ::google::protobuf::uint32 value) {
  1486. reserved4_.Set(index, value);
  1487. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved4)
  1488. }
  1489. inline void protobuf_sgx_report_body_t::add_reserved4(::google::protobuf::uint32 value) {
  1490. reserved4_.Add(value);
  1491. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved4)
  1492. }
  1493. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1494. protobuf_sgx_report_body_t::reserved4() const {
  1495. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved4)
  1496. return reserved4_;
  1497. }
  1498. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1499. protobuf_sgx_report_body_t::mutable_reserved4() {
  1500. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved4)
  1501. return &reserved4_;
  1502. }
  1503. // repeated uint32 report_data = 8 [packed = true];
  1504. inline int protobuf_sgx_report_body_t::report_data_size() const {
  1505. return report_data_.size();
  1506. }
  1507. inline void protobuf_sgx_report_body_t::clear_report_data() {
  1508. report_data_.Clear();
  1509. }
  1510. inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::report_data(int index) const {
  1511. // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.report_data)
  1512. return report_data_.Get(index);
  1513. }
  1514. inline void protobuf_sgx_report_body_t::set_report_data(int index, ::google::protobuf::uint32 value) {
  1515. report_data_.Set(index, value);
  1516. // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.report_data)
  1517. }
  1518. inline void protobuf_sgx_report_body_t::add_report_data(::google::protobuf::uint32 value) {
  1519. report_data_.Add(value);
  1520. // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.report_data)
  1521. }
  1522. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1523. protobuf_sgx_report_body_t::report_data() const {
  1524. // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.report_data)
  1525. return report_data_;
  1526. }
  1527. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1528. protobuf_sgx_report_body_t::mutable_report_data() {
  1529. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.report_data)
  1530. return &report_data_;
  1531. }
  1532. // -------------------------------------------------------------------
  1533. // protobuf_sgx_report_t
  1534. // required .protobuf_sgx_report_body_t body = 1;
  1535. inline bool protobuf_sgx_report_t::has_body() const {
  1536. return (_has_bits_[0] & 0x00000001u) != 0;
  1537. }
  1538. inline void protobuf_sgx_report_t::set_has_body() {
  1539. _has_bits_[0] |= 0x00000001u;
  1540. }
  1541. inline void protobuf_sgx_report_t::clear_has_body() {
  1542. _has_bits_[0] &= ~0x00000001u;
  1543. }
  1544. inline void protobuf_sgx_report_t::clear_body() {
  1545. if (body_ != NULL) body_->::protobuf_sgx_report_body_t::Clear();
  1546. clear_has_body();
  1547. }
  1548. inline const ::protobuf_sgx_report_body_t& protobuf_sgx_report_t::body() const {
  1549. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.body)
  1550. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1551. return body_ != NULL ? *body_ : *default_instance().body_;
  1552. #else
  1553. return body_ != NULL ? *body_ : *default_instance_->body_;
  1554. #endif
  1555. }
  1556. inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::mutable_body() {
  1557. set_has_body();
  1558. if (body_ == NULL) body_ = new ::protobuf_sgx_report_body_t;
  1559. // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_t.body)
  1560. return body_;
  1561. }
  1562. inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::release_body() {
  1563. clear_has_body();
  1564. ::protobuf_sgx_report_body_t* temp = body_;
  1565. body_ = NULL;
  1566. return temp;
  1567. }
  1568. inline void protobuf_sgx_report_t::set_allocated_body(::protobuf_sgx_report_body_t* body) {
  1569. delete body_;
  1570. body_ = body;
  1571. if (body) {
  1572. set_has_body();
  1573. } else {
  1574. clear_has_body();
  1575. }
  1576. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_t.body)
  1577. }
  1578. // repeated uint32 key_id = 2 [packed = true];
  1579. inline int protobuf_sgx_report_t::key_id_size() const {
  1580. return key_id_.size();
  1581. }
  1582. inline void protobuf_sgx_report_t::clear_key_id() {
  1583. key_id_.Clear();
  1584. }
  1585. inline ::google::protobuf::uint32 protobuf_sgx_report_t::key_id(int index) const {
  1586. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.key_id)
  1587. return key_id_.Get(index);
  1588. }
  1589. inline void protobuf_sgx_report_t::set_key_id(int index, ::google::protobuf::uint32 value) {
  1590. key_id_.Set(index, value);
  1591. // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.key_id)
  1592. }
  1593. inline void protobuf_sgx_report_t::add_key_id(::google::protobuf::uint32 value) {
  1594. key_id_.Add(value);
  1595. // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.key_id)
  1596. }
  1597. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1598. protobuf_sgx_report_t::key_id() const {
  1599. // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.key_id)
  1600. return key_id_;
  1601. }
  1602. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1603. protobuf_sgx_report_t::mutable_key_id() {
  1604. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.key_id)
  1605. return &key_id_;
  1606. }
  1607. // repeated uint32 mac = 3 [packed = true];
  1608. inline int protobuf_sgx_report_t::mac_size() const {
  1609. return mac_.size();
  1610. }
  1611. inline void protobuf_sgx_report_t::clear_mac() {
  1612. mac_.Clear();
  1613. }
  1614. inline ::google::protobuf::uint32 protobuf_sgx_report_t::mac(int index) const {
  1615. // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.mac)
  1616. return mac_.Get(index);
  1617. }
  1618. inline void protobuf_sgx_report_t::set_mac(int index, ::google::protobuf::uint32 value) {
  1619. mac_.Set(index, value);
  1620. // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.mac)
  1621. }
  1622. inline void protobuf_sgx_report_t::add_mac(::google::protobuf::uint32 value) {
  1623. mac_.Add(value);
  1624. // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.mac)
  1625. }
  1626. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1627. protobuf_sgx_report_t::mac() const {
  1628. // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.mac)
  1629. return mac_;
  1630. }
  1631. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1632. protobuf_sgx_report_t::mutable_mac() {
  1633. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.mac)
  1634. return &mac_;
  1635. }
  1636. // -------------------------------------------------------------------
  1637. // protobuf_sgx_target_info_t
  1638. // repeated uint32 mr_enclave = 1 [packed = true];
  1639. inline int protobuf_sgx_target_info_t::mr_enclave_size() const {
  1640. return mr_enclave_.size();
  1641. }
  1642. inline void protobuf_sgx_target_info_t::clear_mr_enclave() {
  1643. mr_enclave_.Clear();
  1644. }
  1645. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::mr_enclave(int index) const {
  1646. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.mr_enclave)
  1647. return mr_enclave_.Get(index);
  1648. }
  1649. inline void protobuf_sgx_target_info_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
  1650. mr_enclave_.Set(index, value);
  1651. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.mr_enclave)
  1652. }
  1653. inline void protobuf_sgx_target_info_t::add_mr_enclave(::google::protobuf::uint32 value) {
  1654. mr_enclave_.Add(value);
  1655. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.mr_enclave)
  1656. }
  1657. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1658. protobuf_sgx_target_info_t::mr_enclave() const {
  1659. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.mr_enclave)
  1660. return mr_enclave_;
  1661. }
  1662. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1663. protobuf_sgx_target_info_t::mutable_mr_enclave() {
  1664. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.mr_enclave)
  1665. return &mr_enclave_;
  1666. }
  1667. // required .protobuf_sgx_attributes_t attributes = 4;
  1668. inline bool protobuf_sgx_target_info_t::has_attributes() const {
  1669. return (_has_bits_[0] & 0x00000002u) != 0;
  1670. }
  1671. inline void protobuf_sgx_target_info_t::set_has_attributes() {
  1672. _has_bits_[0] |= 0x00000002u;
  1673. }
  1674. inline void protobuf_sgx_target_info_t::clear_has_attributes() {
  1675. _has_bits_[0] &= ~0x00000002u;
  1676. }
  1677. inline void protobuf_sgx_target_info_t::clear_attributes() {
  1678. if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
  1679. clear_has_attributes();
  1680. }
  1681. inline const ::protobuf_sgx_attributes_t& protobuf_sgx_target_info_t::attributes() const {
  1682. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.attributes)
  1683. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1684. return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
  1685. #else
  1686. return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
  1687. #endif
  1688. }
  1689. inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::mutable_attributes() {
  1690. set_has_attributes();
  1691. if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
  1692. // @@protoc_insertion_point(field_mutable:protobuf_sgx_target_info_t.attributes)
  1693. return attributes_;
  1694. }
  1695. inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::release_attributes() {
  1696. clear_has_attributes();
  1697. ::protobuf_sgx_attributes_t* temp = attributes_;
  1698. attributes_ = NULL;
  1699. return temp;
  1700. }
  1701. inline void protobuf_sgx_target_info_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
  1702. delete attributes_;
  1703. attributes_ = attributes;
  1704. if (attributes) {
  1705. set_has_attributes();
  1706. } else {
  1707. clear_has_attributes();
  1708. }
  1709. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_target_info_t.attributes)
  1710. }
  1711. // repeated uint32 reserved1 = 2 [packed = true];
  1712. inline int protobuf_sgx_target_info_t::reserved1_size() const {
  1713. return reserved1_.size();
  1714. }
  1715. inline void protobuf_sgx_target_info_t::clear_reserved1() {
  1716. reserved1_.Clear();
  1717. }
  1718. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved1(int index) const {
  1719. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved1)
  1720. return reserved1_.Get(index);
  1721. }
  1722. inline void protobuf_sgx_target_info_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
  1723. reserved1_.Set(index, value);
  1724. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved1)
  1725. }
  1726. inline void protobuf_sgx_target_info_t::add_reserved1(::google::protobuf::uint32 value) {
  1727. reserved1_.Add(value);
  1728. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved1)
  1729. }
  1730. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1731. protobuf_sgx_target_info_t::reserved1() const {
  1732. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved1)
  1733. return reserved1_;
  1734. }
  1735. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1736. protobuf_sgx_target_info_t::mutable_reserved1() {
  1737. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved1)
  1738. return &reserved1_;
  1739. }
  1740. // required uint32 misc_select = 5;
  1741. inline bool protobuf_sgx_target_info_t::has_misc_select() const {
  1742. return (_has_bits_[0] & 0x00000008u) != 0;
  1743. }
  1744. inline void protobuf_sgx_target_info_t::set_has_misc_select() {
  1745. _has_bits_[0] |= 0x00000008u;
  1746. }
  1747. inline void protobuf_sgx_target_info_t::clear_has_misc_select() {
  1748. _has_bits_[0] &= ~0x00000008u;
  1749. }
  1750. inline void protobuf_sgx_target_info_t::clear_misc_select() {
  1751. misc_select_ = 0u;
  1752. clear_has_misc_select();
  1753. }
  1754. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::misc_select() const {
  1755. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.misc_select)
  1756. return misc_select_;
  1757. }
  1758. inline void protobuf_sgx_target_info_t::set_misc_select(::google::protobuf::uint32 value) {
  1759. set_has_misc_select();
  1760. misc_select_ = value;
  1761. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.misc_select)
  1762. }
  1763. // repeated uint32 reserved2 = 3 [packed = true];
  1764. inline int protobuf_sgx_target_info_t::reserved2_size() const {
  1765. return reserved2_.size();
  1766. }
  1767. inline void protobuf_sgx_target_info_t::clear_reserved2() {
  1768. reserved2_.Clear();
  1769. }
  1770. inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved2(int index) const {
  1771. // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved2)
  1772. return reserved2_.Get(index);
  1773. }
  1774. inline void protobuf_sgx_target_info_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
  1775. reserved2_.Set(index, value);
  1776. // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved2)
  1777. }
  1778. inline void protobuf_sgx_target_info_t::add_reserved2(::google::protobuf::uint32 value) {
  1779. reserved2_.Add(value);
  1780. // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved2)
  1781. }
  1782. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1783. protobuf_sgx_target_info_t::reserved2() const {
  1784. // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved2)
  1785. return reserved2_;
  1786. }
  1787. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1788. protobuf_sgx_target_info_t::mutable_reserved2() {
  1789. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved2)
  1790. return &reserved2_;
  1791. }
  1792. // -------------------------------------------------------------------
  1793. // protobuf_sgx_dh_msg1_t
  1794. // required .protobuf_sgx_ec256_public_t g_a = 1;
  1795. inline bool protobuf_sgx_dh_msg1_t::has_g_a() const {
  1796. return (_has_bits_[0] & 0x00000001u) != 0;
  1797. }
  1798. inline void protobuf_sgx_dh_msg1_t::set_has_g_a() {
  1799. _has_bits_[0] |= 0x00000001u;
  1800. }
  1801. inline void protobuf_sgx_dh_msg1_t::clear_has_g_a() {
  1802. _has_bits_[0] &= ~0x00000001u;
  1803. }
  1804. inline void protobuf_sgx_dh_msg1_t::clear_g_a() {
  1805. if (g_a_ != NULL) g_a_->::protobuf_sgx_ec256_public_t::Clear();
  1806. clear_has_g_a();
  1807. }
  1808. inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg1_t::g_a() const {
  1809. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.g_a)
  1810. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1811. return g_a_ != NULL ? *g_a_ : *default_instance().g_a_;
  1812. #else
  1813. return g_a_ != NULL ? *g_a_ : *default_instance_->g_a_;
  1814. #endif
  1815. }
  1816. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::mutable_g_a() {
  1817. set_has_g_a();
  1818. if (g_a_ == NULL) g_a_ = new ::protobuf_sgx_ec256_public_t;
  1819. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.g_a)
  1820. return g_a_;
  1821. }
  1822. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::release_g_a() {
  1823. clear_has_g_a();
  1824. ::protobuf_sgx_ec256_public_t* temp = g_a_;
  1825. g_a_ = NULL;
  1826. return temp;
  1827. }
  1828. inline void protobuf_sgx_dh_msg1_t::set_allocated_g_a(::protobuf_sgx_ec256_public_t* g_a) {
  1829. delete g_a_;
  1830. g_a_ = g_a;
  1831. if (g_a) {
  1832. set_has_g_a();
  1833. } else {
  1834. clear_has_g_a();
  1835. }
  1836. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.g_a)
  1837. }
  1838. // required .protobuf_sgx_target_info_t target = 2;
  1839. inline bool protobuf_sgx_dh_msg1_t::has_target() const {
  1840. return (_has_bits_[0] & 0x00000002u) != 0;
  1841. }
  1842. inline void protobuf_sgx_dh_msg1_t::set_has_target() {
  1843. _has_bits_[0] |= 0x00000002u;
  1844. }
  1845. inline void protobuf_sgx_dh_msg1_t::clear_has_target() {
  1846. _has_bits_[0] &= ~0x00000002u;
  1847. }
  1848. inline void protobuf_sgx_dh_msg1_t::clear_target() {
  1849. if (target_ != NULL) target_->::protobuf_sgx_target_info_t::Clear();
  1850. clear_has_target();
  1851. }
  1852. inline const ::protobuf_sgx_target_info_t& protobuf_sgx_dh_msg1_t::target() const {
  1853. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.target)
  1854. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1855. return target_ != NULL ? *target_ : *default_instance().target_;
  1856. #else
  1857. return target_ != NULL ? *target_ : *default_instance_->target_;
  1858. #endif
  1859. }
  1860. inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::mutable_target() {
  1861. set_has_target();
  1862. if (target_ == NULL) target_ = new ::protobuf_sgx_target_info_t;
  1863. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.target)
  1864. return target_;
  1865. }
  1866. inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::release_target() {
  1867. clear_has_target();
  1868. ::protobuf_sgx_target_info_t* temp = target_;
  1869. target_ = NULL;
  1870. return temp;
  1871. }
  1872. inline void protobuf_sgx_dh_msg1_t::set_allocated_target(::protobuf_sgx_target_info_t* target) {
  1873. delete target_;
  1874. target_ = target;
  1875. if (target) {
  1876. set_has_target();
  1877. } else {
  1878. clear_has_target();
  1879. }
  1880. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.target)
  1881. }
  1882. // -------------------------------------------------------------------
  1883. // protobuf_sgx_dh_msg2_t
  1884. // required .protobuf_sgx_ec256_public_t g_b = 1;
  1885. inline bool protobuf_sgx_dh_msg2_t::has_g_b() const {
  1886. return (_has_bits_[0] & 0x00000001u) != 0;
  1887. }
  1888. inline void protobuf_sgx_dh_msg2_t::set_has_g_b() {
  1889. _has_bits_[0] |= 0x00000001u;
  1890. }
  1891. inline void protobuf_sgx_dh_msg2_t::clear_has_g_b() {
  1892. _has_bits_[0] &= ~0x00000001u;
  1893. }
  1894. inline void protobuf_sgx_dh_msg2_t::clear_g_b() {
  1895. if (g_b_ != NULL) g_b_->::protobuf_sgx_ec256_public_t::Clear();
  1896. clear_has_g_b();
  1897. }
  1898. inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg2_t::g_b() const {
  1899. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.g_b)
  1900. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1901. return g_b_ != NULL ? *g_b_ : *default_instance().g_b_;
  1902. #else
  1903. return g_b_ != NULL ? *g_b_ : *default_instance_->g_b_;
  1904. #endif
  1905. }
  1906. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::mutable_g_b() {
  1907. set_has_g_b();
  1908. if (g_b_ == NULL) g_b_ = new ::protobuf_sgx_ec256_public_t;
  1909. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.g_b)
  1910. return g_b_;
  1911. }
  1912. inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::release_g_b() {
  1913. clear_has_g_b();
  1914. ::protobuf_sgx_ec256_public_t* temp = g_b_;
  1915. g_b_ = NULL;
  1916. return temp;
  1917. }
  1918. inline void protobuf_sgx_dh_msg2_t::set_allocated_g_b(::protobuf_sgx_ec256_public_t* g_b) {
  1919. delete g_b_;
  1920. g_b_ = g_b;
  1921. if (g_b) {
  1922. set_has_g_b();
  1923. } else {
  1924. clear_has_g_b();
  1925. }
  1926. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.g_b)
  1927. }
  1928. // required .protobuf_sgx_report_t report = 2;
  1929. inline bool protobuf_sgx_dh_msg2_t::has_report() const {
  1930. return (_has_bits_[0] & 0x00000002u) != 0;
  1931. }
  1932. inline void protobuf_sgx_dh_msg2_t::set_has_report() {
  1933. _has_bits_[0] |= 0x00000002u;
  1934. }
  1935. inline void protobuf_sgx_dh_msg2_t::clear_has_report() {
  1936. _has_bits_[0] &= ~0x00000002u;
  1937. }
  1938. inline void protobuf_sgx_dh_msg2_t::clear_report() {
  1939. if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
  1940. clear_has_report();
  1941. }
  1942. inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg2_t::report() const {
  1943. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.report)
  1944. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  1945. return report_ != NULL ? *report_ : *default_instance().report_;
  1946. #else
  1947. return report_ != NULL ? *report_ : *default_instance_->report_;
  1948. #endif
  1949. }
  1950. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::mutable_report() {
  1951. set_has_report();
  1952. if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
  1953. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.report)
  1954. return report_;
  1955. }
  1956. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::release_report() {
  1957. clear_has_report();
  1958. ::protobuf_sgx_report_t* temp = report_;
  1959. report_ = NULL;
  1960. return temp;
  1961. }
  1962. inline void protobuf_sgx_dh_msg2_t::set_allocated_report(::protobuf_sgx_report_t* report) {
  1963. delete report_;
  1964. report_ = report;
  1965. if (report) {
  1966. set_has_report();
  1967. } else {
  1968. clear_has_report();
  1969. }
  1970. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.report)
  1971. }
  1972. // repeated uint32 cmac = 3 [packed = true];
  1973. inline int protobuf_sgx_dh_msg2_t::cmac_size() const {
  1974. return cmac_.size();
  1975. }
  1976. inline void protobuf_sgx_dh_msg2_t::clear_cmac() {
  1977. cmac_.Clear();
  1978. }
  1979. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg2_t::cmac(int index) const {
  1980. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.cmac)
  1981. return cmac_.Get(index);
  1982. }
  1983. inline void protobuf_sgx_dh_msg2_t::set_cmac(int index, ::google::protobuf::uint32 value) {
  1984. cmac_.Set(index, value);
  1985. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg2_t.cmac)
  1986. }
  1987. inline void protobuf_sgx_dh_msg2_t::add_cmac(::google::protobuf::uint32 value) {
  1988. cmac_.Add(value);
  1989. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg2_t.cmac)
  1990. }
  1991. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  1992. protobuf_sgx_dh_msg2_t::cmac() const {
  1993. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg2_t.cmac)
  1994. return cmac_;
  1995. }
  1996. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  1997. protobuf_sgx_dh_msg2_t::mutable_cmac() {
  1998. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg2_t.cmac)
  1999. return &cmac_;
  2000. }
  2001. // -------------------------------------------------------------------
  2002. // protobuf_sgx_dh_msg3_body_t
  2003. // required .protobuf_sgx_report_t report = 1;
  2004. inline bool protobuf_sgx_dh_msg3_body_t::has_report() const {
  2005. return (_has_bits_[0] & 0x00000001u) != 0;
  2006. }
  2007. inline void protobuf_sgx_dh_msg3_body_t::set_has_report() {
  2008. _has_bits_[0] |= 0x00000001u;
  2009. }
  2010. inline void protobuf_sgx_dh_msg3_body_t::clear_has_report() {
  2011. _has_bits_[0] &= ~0x00000001u;
  2012. }
  2013. inline void protobuf_sgx_dh_msg3_body_t::clear_report() {
  2014. if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
  2015. clear_has_report();
  2016. }
  2017. inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg3_body_t::report() const {
  2018. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.report)
  2019. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  2020. return report_ != NULL ? *report_ : *default_instance().report_;
  2021. #else
  2022. return report_ != NULL ? *report_ : *default_instance_->report_;
  2023. #endif
  2024. }
  2025. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::mutable_report() {
  2026. set_has_report();
  2027. if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
  2028. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_body_t.report)
  2029. return report_;
  2030. }
  2031. inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::release_report() {
  2032. clear_has_report();
  2033. ::protobuf_sgx_report_t* temp = report_;
  2034. report_ = NULL;
  2035. return temp;
  2036. }
  2037. inline void protobuf_sgx_dh_msg3_body_t::set_allocated_report(::protobuf_sgx_report_t* report) {
  2038. delete report_;
  2039. report_ = report;
  2040. if (report) {
  2041. set_has_report();
  2042. } else {
  2043. clear_has_report();
  2044. }
  2045. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_body_t.report)
  2046. }
  2047. // repeated uint32 additional_prop = 2;
  2048. inline int protobuf_sgx_dh_msg3_body_t::additional_prop_size() const {
  2049. return additional_prop_.size();
  2050. }
  2051. inline void protobuf_sgx_dh_msg3_body_t::clear_additional_prop() {
  2052. additional_prop_.Clear();
  2053. }
  2054. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_body_t::additional_prop(int index) const {
  2055. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2056. return additional_prop_.Get(index);
  2057. }
  2058. inline void protobuf_sgx_dh_msg3_body_t::set_additional_prop(int index, ::google::protobuf::uint32 value) {
  2059. additional_prop_.Set(index, value);
  2060. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2061. }
  2062. inline void protobuf_sgx_dh_msg3_body_t::add_additional_prop(::google::protobuf::uint32 value) {
  2063. additional_prop_.Add(value);
  2064. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2065. }
  2066. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  2067. protobuf_sgx_dh_msg3_body_t::additional_prop() const {
  2068. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2069. return additional_prop_;
  2070. }
  2071. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  2072. protobuf_sgx_dh_msg3_body_t::mutable_additional_prop() {
  2073. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
  2074. return &additional_prop_;
  2075. }
  2076. // -------------------------------------------------------------------
  2077. // protobuf_sgx_dh_msg3_t
  2078. // required .protobuf_sgx_dh_msg3_body_t msg3_body = 1;
  2079. inline bool protobuf_sgx_dh_msg3_t::has_msg3_body() const {
  2080. return (_has_bits_[0] & 0x00000001u) != 0;
  2081. }
  2082. inline void protobuf_sgx_dh_msg3_t::set_has_msg3_body() {
  2083. _has_bits_[0] |= 0x00000001u;
  2084. }
  2085. inline void protobuf_sgx_dh_msg3_t::clear_has_msg3_body() {
  2086. _has_bits_[0] &= ~0x00000001u;
  2087. }
  2088. inline void protobuf_sgx_dh_msg3_t::clear_msg3_body() {
  2089. if (msg3_body_ != NULL) msg3_body_->::protobuf_sgx_dh_msg3_body_t::Clear();
  2090. clear_has_msg3_body();
  2091. }
  2092. inline const ::protobuf_sgx_dh_msg3_body_t& protobuf_sgx_dh_msg3_t::msg3_body() const {
  2093. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.msg3_body)
  2094. #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
  2095. return msg3_body_ != NULL ? *msg3_body_ : *default_instance().msg3_body_;
  2096. #else
  2097. return msg3_body_ != NULL ? *msg3_body_ : *default_instance_->msg3_body_;
  2098. #endif
  2099. }
  2100. inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::mutable_msg3_body() {
  2101. set_has_msg3_body();
  2102. if (msg3_body_ == NULL) msg3_body_ = new ::protobuf_sgx_dh_msg3_body_t;
  2103. // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_t.msg3_body)
  2104. return msg3_body_;
  2105. }
  2106. inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::release_msg3_body() {
  2107. clear_has_msg3_body();
  2108. ::protobuf_sgx_dh_msg3_body_t* temp = msg3_body_;
  2109. msg3_body_ = NULL;
  2110. return temp;
  2111. }
  2112. inline void protobuf_sgx_dh_msg3_t::set_allocated_msg3_body(::protobuf_sgx_dh_msg3_body_t* msg3_body) {
  2113. delete msg3_body_;
  2114. msg3_body_ = msg3_body;
  2115. if (msg3_body) {
  2116. set_has_msg3_body();
  2117. } else {
  2118. clear_has_msg3_body();
  2119. }
  2120. // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_t.msg3_body)
  2121. }
  2122. // repeated uint32 cmac = 2 [packed = true];
  2123. inline int protobuf_sgx_dh_msg3_t::cmac_size() const {
  2124. return cmac_.size();
  2125. }
  2126. inline void protobuf_sgx_dh_msg3_t::clear_cmac() {
  2127. cmac_.Clear();
  2128. }
  2129. inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_t::cmac(int index) const {
  2130. // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.cmac)
  2131. return cmac_.Get(index);
  2132. }
  2133. inline void protobuf_sgx_dh_msg3_t::set_cmac(int index, ::google::protobuf::uint32 value) {
  2134. cmac_.Set(index, value);
  2135. // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_t.cmac)
  2136. }
  2137. inline void protobuf_sgx_dh_msg3_t::add_cmac(::google::protobuf::uint32 value) {
  2138. cmac_.Add(value);
  2139. // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_t.cmac)
  2140. }
  2141. inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
  2142. protobuf_sgx_dh_msg3_t::cmac() const {
  2143. // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_t.cmac)
  2144. return cmac_;
  2145. }
  2146. inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
  2147. protobuf_sgx_dh_msg3_t::mutable_cmac() {
  2148. // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_t.cmac)
  2149. return &cmac_;
  2150. }
  2151. // -------------------------------------------------------------------
  2152. // protobuf_post_LA_encrypted_msg_t
  2153. // required bytes msg = 1;
  2154. inline bool protobuf_post_LA_encrypted_msg_t::has_msg() const {
  2155. return (_has_bits_[0] & 0x00000001u) != 0;
  2156. }
  2157. inline void protobuf_post_LA_encrypted_msg_t::set_has_msg() {
  2158. _has_bits_[0] |= 0x00000001u;
  2159. }
  2160. inline void protobuf_post_LA_encrypted_msg_t::clear_has_msg() {
  2161. _has_bits_[0] &= ~0x00000001u;
  2162. }
  2163. inline void protobuf_post_LA_encrypted_msg_t::clear_msg() {
  2164. if (msg_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2165. msg_->clear();
  2166. }
  2167. clear_has_msg();
  2168. }
  2169. inline const ::std::string& protobuf_post_LA_encrypted_msg_t::msg() const {
  2170. // @@protoc_insertion_point(field_get:protobuf_post_LA_encrypted_msg_t.msg)
  2171. return *msg_;
  2172. }
  2173. inline void protobuf_post_LA_encrypted_msg_t::set_msg(const ::std::string& value) {
  2174. set_has_msg();
  2175. if (msg_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2176. msg_ = new ::std::string;
  2177. }
  2178. msg_->assign(value);
  2179. // @@protoc_insertion_point(field_set:protobuf_post_LA_encrypted_msg_t.msg)
  2180. }
  2181. inline void protobuf_post_LA_encrypted_msg_t::set_msg(const char* value) {
  2182. set_has_msg();
  2183. if (msg_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2184. msg_ = new ::std::string;
  2185. }
  2186. msg_->assign(value);
  2187. // @@protoc_insertion_point(field_set_char:protobuf_post_LA_encrypted_msg_t.msg)
  2188. }
  2189. inline void protobuf_post_LA_encrypted_msg_t::set_msg(const void* value, size_t size) {
  2190. set_has_msg();
  2191. if (msg_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2192. msg_ = new ::std::string;
  2193. }
  2194. msg_->assign(reinterpret_cast<const char*>(value), size);
  2195. // @@protoc_insertion_point(field_set_pointer:protobuf_post_LA_encrypted_msg_t.msg)
  2196. }
  2197. inline ::std::string* protobuf_post_LA_encrypted_msg_t::mutable_msg() {
  2198. set_has_msg();
  2199. if (msg_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2200. msg_ = new ::std::string;
  2201. }
  2202. // @@protoc_insertion_point(field_mutable:protobuf_post_LA_encrypted_msg_t.msg)
  2203. return msg_;
  2204. }
  2205. inline ::std::string* protobuf_post_LA_encrypted_msg_t::release_msg() {
  2206. clear_has_msg();
  2207. if (msg_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2208. return NULL;
  2209. } else {
  2210. ::std::string* temp = msg_;
  2211. msg_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2212. return temp;
  2213. }
  2214. }
  2215. inline void protobuf_post_LA_encrypted_msg_t::set_allocated_msg(::std::string* msg) {
  2216. if (msg_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  2217. delete msg_;
  2218. }
  2219. if (msg) {
  2220. set_has_msg();
  2221. msg_ = msg;
  2222. } else {
  2223. clear_has_msg();
  2224. msg_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  2225. }
  2226. // @@protoc_insertion_point(field_set_allocated:protobuf_post_LA_encrypted_msg_t.msg)
  2227. }
  2228. // @@protoc_insertion_point(namespace_scope)
  2229. // @@protoc_insertion_point(global_scope)
  2230. #endif // PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED