ProtobufLAMessages.pb.h 85 KB

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