ProtobufLAMessages.pb.h 106 KB

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