12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: ProtobufLAMessages.proto
- #ifndef PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED
- #define PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 2006000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/message_lite.h>
- #include <google/protobuf/repeated_field.h>
- #include <google/protobuf/extension_set.h>
- // @@protoc_insertion_point(includes)
- // Internal implementation detail -- do not call these.
- void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- class protobuf_sgx_attributes_t;
- class protobuf_sgx_ec256_public_t;
- class protobuf_sgx_report_body_t;
- class protobuf_sgx_report_t;
- class protobuf_sgx_target_info_t;
- class protobuf_sgx_dh_msg1_t;
- class protobuf_sgx_dh_msg2_t;
- class protobuf_sgx_dh_msg3_body_t;
- class protobuf_sgx_dh_msg3_t;
- // ===================================================================
- class protobuf_sgx_attributes_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_attributes_t();
- virtual ~protobuf_sgx_attributes_t();
- protobuf_sgx_attributes_t(const protobuf_sgx_attributes_t& from);
- inline protobuf_sgx_attributes_t& operator=(const protobuf_sgx_attributes_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_attributes_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_attributes_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_attributes_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_attributes_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_attributes_t& from);
- void MergeFrom(const protobuf_sgx_attributes_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required uint64 flags = 1;
- inline bool has_flags() const;
- inline void clear_flags();
- static const int kFlagsFieldNumber = 1;
- inline ::google::protobuf::uint64 flags() const;
- inline void set_flags(::google::protobuf::uint64 value);
- // required uint64 xfrm = 2;
- inline bool has_xfrm() const;
- inline void clear_xfrm();
- static const int kXfrmFieldNumber = 2;
- inline ::google::protobuf::uint64 xfrm() const;
- inline void set_xfrm(::google::protobuf::uint64 value);
- // @@protoc_insertion_point(class_scope:protobuf_sgx_attributes_t)
- private:
- inline void set_has_flags();
- inline void clear_has_flags();
- inline void set_has_xfrm();
- inline void clear_has_xfrm();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::uint64 flags_;
- ::google::protobuf::uint64 xfrm_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_attributes_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_ec256_public_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_ec256_public_t();
- virtual ~protobuf_sgx_ec256_public_t();
- protobuf_sgx_ec256_public_t(const protobuf_sgx_ec256_public_t& from);
- inline protobuf_sgx_ec256_public_t& operator=(const protobuf_sgx_ec256_public_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_ec256_public_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_ec256_public_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_ec256_public_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_ec256_public_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_ec256_public_t& from);
- void MergeFrom(const protobuf_sgx_ec256_public_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated uint32 gx = 1 [packed = true];
- inline int gx_size() const;
- inline void clear_gx();
- static const int kGxFieldNumber = 1;
- inline ::google::protobuf::uint32 gx(int index) const;
- inline void set_gx(int index, ::google::protobuf::uint32 value);
- inline void add_gx(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- gx() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_gx();
- // repeated uint32 gy = 2 [packed = true];
- inline int gy_size() const;
- inline void clear_gy();
- static const int kGyFieldNumber = 2;
- inline ::google::protobuf::uint32 gy(int index) const;
- inline void set_gy(int index, ::google::protobuf::uint32 value);
- inline void add_gy(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- gy() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_gy();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_ec256_public_t)
- private:
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > gx_;
- mutable int _gx_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > gy_;
- mutable int _gy_cached_byte_size_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_ec256_public_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_report_body_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_report_body_t();
- virtual ~protobuf_sgx_report_body_t();
- protobuf_sgx_report_body_t(const protobuf_sgx_report_body_t& from);
- inline protobuf_sgx_report_body_t& operator=(const protobuf_sgx_report_body_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_report_body_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_report_body_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_report_body_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_report_body_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_report_body_t& from);
- void MergeFrom(const protobuf_sgx_report_body_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated uint32 cpu_svn = 1 [packed = true];
- inline int cpu_svn_size() const;
- inline void clear_cpu_svn();
- static const int kCpuSvnFieldNumber = 1;
- inline ::google::protobuf::uint32 cpu_svn(int index) const;
- inline void set_cpu_svn(int index, ::google::protobuf::uint32 value);
- inline void add_cpu_svn(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- cpu_svn() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_cpu_svn();
- // required uint32 misc_select = 9;
- inline bool has_misc_select() const;
- inline void clear_misc_select();
- static const int kMiscSelectFieldNumber = 9;
- inline ::google::protobuf::uint32 misc_select() const;
- inline void set_misc_select(::google::protobuf::uint32 value);
- // repeated uint32 reserved1 = 2 [packed = true];
- inline int reserved1_size() const;
- inline void clear_reserved1();
- static const int kReserved1FieldNumber = 2;
- inline ::google::protobuf::uint32 reserved1(int index) const;
- inline void set_reserved1(int index, ::google::protobuf::uint32 value);
- inline void add_reserved1(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved1() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved1();
- // required .protobuf_sgx_attributes_t attributes = 10;
- inline bool has_attributes() const;
- inline void clear_attributes();
- static const int kAttributesFieldNumber = 10;
- inline const ::protobuf_sgx_attributes_t& attributes() const;
- inline ::protobuf_sgx_attributes_t* mutable_attributes();
- inline ::protobuf_sgx_attributes_t* release_attributes();
- inline void set_allocated_attributes(::protobuf_sgx_attributes_t* attributes);
- // repeated uint32 mr_enclave = 3 [packed = true];
- inline int mr_enclave_size() const;
- inline void clear_mr_enclave();
- static const int kMrEnclaveFieldNumber = 3;
- inline ::google::protobuf::uint32 mr_enclave(int index) const;
- inline void set_mr_enclave(int index, ::google::protobuf::uint32 value);
- inline void add_mr_enclave(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- mr_enclave() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_mr_enclave();
- // repeated uint32 reserved2 = 4 [packed = true];
- inline int reserved2_size() const;
- inline void clear_reserved2();
- static const int kReserved2FieldNumber = 4;
- inline ::google::protobuf::uint32 reserved2(int index) const;
- inline void set_reserved2(int index, ::google::protobuf::uint32 value);
- inline void add_reserved2(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved2() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved2();
- // repeated uint32 mr_signer = 5 [packed = true];
- inline int mr_signer_size() const;
- inline void clear_mr_signer();
- static const int kMrSignerFieldNumber = 5;
- inline ::google::protobuf::uint32 mr_signer(int index) const;
- inline void set_mr_signer(int index, ::google::protobuf::uint32 value);
- inline void add_mr_signer(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- mr_signer() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_mr_signer();
- // repeated uint32 reserved3 = 6 [packed = true];
- inline int reserved3_size() const;
- inline void clear_reserved3();
- static const int kReserved3FieldNumber = 6;
- inline ::google::protobuf::uint32 reserved3(int index) const;
- inline void set_reserved3(int index, ::google::protobuf::uint32 value);
- inline void add_reserved3(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved3() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved3();
- // required uint32 isv_prod_id = 11;
- inline bool has_isv_prod_id() const;
- inline void clear_isv_prod_id();
- static const int kIsvProdIdFieldNumber = 11;
- inline ::google::protobuf::uint32 isv_prod_id() const;
- inline void set_isv_prod_id(::google::protobuf::uint32 value);
- // required uint32 isv_svn = 12;
- inline bool has_isv_svn() const;
- inline void clear_isv_svn();
- static const int kIsvSvnFieldNumber = 12;
- inline ::google::protobuf::uint32 isv_svn() const;
- inline void set_isv_svn(::google::protobuf::uint32 value);
- // repeated uint32 reserved4 = 7 [packed = true];
- inline int reserved4_size() const;
- inline void clear_reserved4();
- static const int kReserved4FieldNumber = 7;
- inline ::google::protobuf::uint32 reserved4(int index) const;
- inline void set_reserved4(int index, ::google::protobuf::uint32 value);
- inline void add_reserved4(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved4() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved4();
- // repeated uint32 report_data = 8 [packed = true];
- inline int report_data_size() const;
- inline void clear_report_data();
- static const int kReportDataFieldNumber = 8;
- inline ::google::protobuf::uint32 report_data(int index) const;
- inline void set_report_data(int index, ::google::protobuf::uint32 value);
- inline void add_report_data(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- report_data() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_report_data();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_report_body_t)
- private:
- inline void set_has_misc_select();
- inline void clear_has_misc_select();
- inline void set_has_attributes();
- inline void clear_has_attributes();
- inline void set_has_isv_prod_id();
- inline void clear_has_isv_prod_id();
- inline void set_has_isv_svn();
- inline void clear_has_isv_svn();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cpu_svn_;
- mutable int _cpu_svn_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved1_;
- mutable int _reserved1_cached_byte_size_;
- ::protobuf_sgx_attributes_t* attributes_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_enclave_;
- mutable int _mr_enclave_cached_byte_size_;
- ::google::protobuf::uint32 misc_select_;
- ::google::protobuf::uint32 isv_prod_id_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved2_;
- mutable int _reserved2_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_signer_;
- mutable int _mr_signer_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved3_;
- mutable int _reserved3_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved4_;
- mutable int _reserved4_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > report_data_;
- mutable int _report_data_cached_byte_size_;
- ::google::protobuf::uint32 isv_svn_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_report_body_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_report_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_report_t();
- virtual ~protobuf_sgx_report_t();
- protobuf_sgx_report_t(const protobuf_sgx_report_t& from);
- inline protobuf_sgx_report_t& operator=(const protobuf_sgx_report_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_report_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_report_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_report_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_report_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_report_t& from);
- void MergeFrom(const protobuf_sgx_report_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .protobuf_sgx_report_body_t body = 1;
- inline bool has_body() const;
- inline void clear_body();
- static const int kBodyFieldNumber = 1;
- inline const ::protobuf_sgx_report_body_t& body() const;
- inline ::protobuf_sgx_report_body_t* mutable_body();
- inline ::protobuf_sgx_report_body_t* release_body();
- inline void set_allocated_body(::protobuf_sgx_report_body_t* body);
- // repeated uint32 key_id = 2 [packed = true];
- inline int key_id_size() const;
- inline void clear_key_id();
- static const int kKeyIdFieldNumber = 2;
- inline ::google::protobuf::uint32 key_id(int index) const;
- inline void set_key_id(int index, ::google::protobuf::uint32 value);
- inline void add_key_id(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- key_id() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_key_id();
- // repeated uint32 mac = 3 [packed = true];
- inline int mac_size() const;
- inline void clear_mac();
- static const int kMacFieldNumber = 3;
- inline ::google::protobuf::uint32 mac(int index) const;
- inline void set_mac(int index, ::google::protobuf::uint32 value);
- inline void add_mac(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- mac() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_mac();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_report_t)
- private:
- inline void set_has_body();
- inline void clear_has_body();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::protobuf_sgx_report_body_t* body_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > key_id_;
- mutable int _key_id_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mac_;
- mutable int _mac_cached_byte_size_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_report_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_target_info_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_target_info_t();
- virtual ~protobuf_sgx_target_info_t();
- protobuf_sgx_target_info_t(const protobuf_sgx_target_info_t& from);
- inline protobuf_sgx_target_info_t& operator=(const protobuf_sgx_target_info_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_target_info_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_target_info_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_target_info_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_target_info_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_target_info_t& from);
- void MergeFrom(const protobuf_sgx_target_info_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated uint32 mr_enclave = 1 [packed = true];
- inline int mr_enclave_size() const;
- inline void clear_mr_enclave();
- static const int kMrEnclaveFieldNumber = 1;
- inline ::google::protobuf::uint32 mr_enclave(int index) const;
- inline void set_mr_enclave(int index, ::google::protobuf::uint32 value);
- inline void add_mr_enclave(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- mr_enclave() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_mr_enclave();
- // required .protobuf_sgx_attributes_t attributes = 4;
- inline bool has_attributes() const;
- inline void clear_attributes();
- static const int kAttributesFieldNumber = 4;
- inline const ::protobuf_sgx_attributes_t& attributes() const;
- inline ::protobuf_sgx_attributes_t* mutable_attributes();
- inline ::protobuf_sgx_attributes_t* release_attributes();
- inline void set_allocated_attributes(::protobuf_sgx_attributes_t* attributes);
- // repeated uint32 reserved1 = 2 [packed = true];
- inline int reserved1_size() const;
- inline void clear_reserved1();
- static const int kReserved1FieldNumber = 2;
- inline ::google::protobuf::uint32 reserved1(int index) const;
- inline void set_reserved1(int index, ::google::protobuf::uint32 value);
- inline void add_reserved1(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved1() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved1();
- // required uint32 misc_select = 5;
- inline bool has_misc_select() const;
- inline void clear_misc_select();
- static const int kMiscSelectFieldNumber = 5;
- inline ::google::protobuf::uint32 misc_select() const;
- inline void set_misc_select(::google::protobuf::uint32 value);
- // repeated uint32 reserved2 = 3 [packed = true];
- inline int reserved2_size() const;
- inline void clear_reserved2();
- static const int kReserved2FieldNumber = 3;
- inline ::google::protobuf::uint32 reserved2(int index) const;
- inline void set_reserved2(int index, ::google::protobuf::uint32 value);
- inline void add_reserved2(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- reserved2() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_reserved2();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_target_info_t)
- private:
- inline void set_has_attributes();
- inline void clear_has_attributes();
- inline void set_has_misc_select();
- inline void clear_has_misc_select();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mr_enclave_;
- mutable int _mr_enclave_cached_byte_size_;
- ::protobuf_sgx_attributes_t* attributes_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved1_;
- mutable int _reserved1_cached_byte_size_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > reserved2_;
- mutable int _reserved2_cached_byte_size_;
- ::google::protobuf::uint32 misc_select_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_target_info_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_dh_msg1_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_dh_msg1_t();
- virtual ~protobuf_sgx_dh_msg1_t();
- protobuf_sgx_dh_msg1_t(const protobuf_sgx_dh_msg1_t& from);
- inline protobuf_sgx_dh_msg1_t& operator=(const protobuf_sgx_dh_msg1_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_dh_msg1_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_dh_msg1_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_dh_msg1_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_dh_msg1_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_dh_msg1_t& from);
- void MergeFrom(const protobuf_sgx_dh_msg1_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .protobuf_sgx_ec256_public_t g_a = 1;
- inline bool has_g_a() const;
- inline void clear_g_a();
- static const int kGAFieldNumber = 1;
- inline const ::protobuf_sgx_ec256_public_t& g_a() const;
- inline ::protobuf_sgx_ec256_public_t* mutable_g_a();
- inline ::protobuf_sgx_ec256_public_t* release_g_a();
- inline void set_allocated_g_a(::protobuf_sgx_ec256_public_t* g_a);
- // required .protobuf_sgx_target_info_t target = 2;
- inline bool has_target() const;
- inline void clear_target();
- static const int kTargetFieldNumber = 2;
- inline const ::protobuf_sgx_target_info_t& target() const;
- inline ::protobuf_sgx_target_info_t* mutable_target();
- inline ::protobuf_sgx_target_info_t* release_target();
- inline void set_allocated_target(::protobuf_sgx_target_info_t* target);
- // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg1_t)
- private:
- inline void set_has_g_a();
- inline void clear_has_g_a();
- inline void set_has_target();
- inline void clear_has_target();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::protobuf_sgx_ec256_public_t* g_a_;
- ::protobuf_sgx_target_info_t* target_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_dh_msg1_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_dh_msg2_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_dh_msg2_t();
- virtual ~protobuf_sgx_dh_msg2_t();
- protobuf_sgx_dh_msg2_t(const protobuf_sgx_dh_msg2_t& from);
- inline protobuf_sgx_dh_msg2_t& operator=(const protobuf_sgx_dh_msg2_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_dh_msg2_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_dh_msg2_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_dh_msg2_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_dh_msg2_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_dh_msg2_t& from);
- void MergeFrom(const protobuf_sgx_dh_msg2_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .protobuf_sgx_ec256_public_t g_b = 1;
- inline bool has_g_b() const;
- inline void clear_g_b();
- static const int kGBFieldNumber = 1;
- inline const ::protobuf_sgx_ec256_public_t& g_b() const;
- inline ::protobuf_sgx_ec256_public_t* mutable_g_b();
- inline ::protobuf_sgx_ec256_public_t* release_g_b();
- inline void set_allocated_g_b(::protobuf_sgx_ec256_public_t* g_b);
- // required .protobuf_sgx_report_t report = 2;
- inline bool has_report() const;
- inline void clear_report();
- static const int kReportFieldNumber = 2;
- inline const ::protobuf_sgx_report_t& report() const;
- inline ::protobuf_sgx_report_t* mutable_report();
- inline ::protobuf_sgx_report_t* release_report();
- inline void set_allocated_report(::protobuf_sgx_report_t* report);
- // repeated uint32 cmac = 3 [packed = true];
- inline int cmac_size() const;
- inline void clear_cmac();
- static const int kCmacFieldNumber = 3;
- inline ::google::protobuf::uint32 cmac(int index) const;
- inline void set_cmac(int index, ::google::protobuf::uint32 value);
- inline void add_cmac(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- cmac() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_cmac();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg2_t)
- private:
- inline void set_has_g_b();
- inline void clear_has_g_b();
- inline void set_has_report();
- inline void clear_has_report();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::protobuf_sgx_ec256_public_t* g_b_;
- ::protobuf_sgx_report_t* report_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cmac_;
- mutable int _cmac_cached_byte_size_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_dh_msg2_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_dh_msg3_body_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_dh_msg3_body_t();
- virtual ~protobuf_sgx_dh_msg3_body_t();
- protobuf_sgx_dh_msg3_body_t(const protobuf_sgx_dh_msg3_body_t& from);
- inline protobuf_sgx_dh_msg3_body_t& operator=(const protobuf_sgx_dh_msg3_body_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_dh_msg3_body_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_dh_msg3_body_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_dh_msg3_body_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_dh_msg3_body_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_dh_msg3_body_t& from);
- void MergeFrom(const protobuf_sgx_dh_msg3_body_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .protobuf_sgx_report_t report = 1;
- inline bool has_report() const;
- inline void clear_report();
- static const int kReportFieldNumber = 1;
- inline const ::protobuf_sgx_report_t& report() const;
- inline ::protobuf_sgx_report_t* mutable_report();
- inline ::protobuf_sgx_report_t* release_report();
- inline void set_allocated_report(::protobuf_sgx_report_t* report);
- // repeated uint32 additional_prop = 2;
- inline int additional_prop_size() const;
- inline void clear_additional_prop();
- static const int kAdditionalPropFieldNumber = 2;
- inline ::google::protobuf::uint32 additional_prop(int index) const;
- inline void set_additional_prop(int index, ::google::protobuf::uint32 value);
- inline void add_additional_prop(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- additional_prop() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_additional_prop();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg3_body_t)
- private:
- inline void set_has_report();
- inline void clear_has_report();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::protobuf_sgx_report_t* report_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > additional_prop_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_dh_msg3_body_t* default_instance_;
- };
- // -------------------------------------------------------------------
- class protobuf_sgx_dh_msg3_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_sgx_dh_msg3_t();
- virtual ~protobuf_sgx_dh_msg3_t();
- protobuf_sgx_dh_msg3_t(const protobuf_sgx_dh_msg3_t& from);
- inline protobuf_sgx_dh_msg3_t& operator=(const protobuf_sgx_dh_msg3_t& from) {
- CopyFrom(from);
- return *this;
- }
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
- static const protobuf_sgx_dh_msg3_t& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
- static inline const protobuf_sgx_dh_msg3_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_sgx_dh_msg3_t* other);
- // implements Message ----------------------------------------------
- protobuf_sgx_dh_msg3_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_sgx_dh_msg3_t& from);
- void MergeFrom(const protobuf_sgx_dh_msg3_t& from);
- void Clear();
- bool IsInitialized() const;
- int ByteSize() const;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
- void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const;
- public:
- ::std::string GetTypeName() const;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required .protobuf_sgx_dh_msg3_body_t msg3_body = 1;
- inline bool has_msg3_body() const;
- inline void clear_msg3_body();
- static const int kMsg3BodyFieldNumber = 1;
- inline const ::protobuf_sgx_dh_msg3_body_t& msg3_body() const;
- inline ::protobuf_sgx_dh_msg3_body_t* mutable_msg3_body();
- inline ::protobuf_sgx_dh_msg3_body_t* release_msg3_body();
- inline void set_allocated_msg3_body(::protobuf_sgx_dh_msg3_body_t* msg3_body);
- // repeated uint32 cmac = 2 [packed = true];
- inline int cmac_size() const;
- inline void clear_cmac();
- static const int kCmacFieldNumber = 2;
- inline ::google::protobuf::uint32 cmac(int index) const;
- inline void set_cmac(int index, ::google::protobuf::uint32 value);
- inline void add_cmac(::google::protobuf::uint32 value);
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- cmac() const;
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- mutable_cmac();
- // @@protoc_insertion_point(class_scope:protobuf_sgx_dh_msg3_t)
- private:
- inline void set_has_msg3_body();
- inline void clear_has_msg3_body();
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::protobuf_sgx_dh_msg3_body_t* msg3_body_;
- ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > cmac_;
- mutable int _cmac_cached_byte_size_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto_impl();
- #else
- friend void protobuf_AddDesc_ProtobufLAMessages_2eproto();
- #endif
- friend void protobuf_AssignDesc_ProtobufLAMessages_2eproto();
- friend void protobuf_ShutdownFile_ProtobufLAMessages_2eproto();
- void InitAsDefaultInstance();
- static protobuf_sgx_dh_msg3_t* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // protobuf_sgx_attributes_t
- // required uint64 flags = 1;
- inline bool protobuf_sgx_attributes_t::has_flags() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_attributes_t::set_has_flags() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_attributes_t::clear_has_flags() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_attributes_t::clear_flags() {
- flags_ = GOOGLE_ULONGLONG(0);
- clear_has_flags();
- }
- inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::flags() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.flags)
- return flags_;
- }
- inline void protobuf_sgx_attributes_t::set_flags(::google::protobuf::uint64 value) {
- set_has_flags();
- flags_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.flags)
- }
- // required uint64 xfrm = 2;
- inline bool protobuf_sgx_attributes_t::has_xfrm() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void protobuf_sgx_attributes_t::set_has_xfrm() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void protobuf_sgx_attributes_t::clear_has_xfrm() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void protobuf_sgx_attributes_t::clear_xfrm() {
- xfrm_ = GOOGLE_ULONGLONG(0);
- clear_has_xfrm();
- }
- inline ::google::protobuf::uint64 protobuf_sgx_attributes_t::xfrm() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_attributes_t.xfrm)
- return xfrm_;
- }
- inline void protobuf_sgx_attributes_t::set_xfrm(::google::protobuf::uint64 value) {
- set_has_xfrm();
- xfrm_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_attributes_t.xfrm)
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_ec256_public_t
- // repeated uint32 gx = 1 [packed = true];
- inline int protobuf_sgx_ec256_public_t::gx_size() const {
- return gx_.size();
- }
- inline void protobuf_sgx_ec256_public_t::clear_gx() {
- gx_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gx(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gx)
- return gx_.Get(index);
- }
- inline void protobuf_sgx_ec256_public_t::set_gx(int index, ::google::protobuf::uint32 value) {
- gx_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gx)
- }
- inline void protobuf_sgx_ec256_public_t::add_gx(::google::protobuf::uint32 value) {
- gx_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gx)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_ec256_public_t::gx() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gx)
- return gx_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_ec256_public_t::mutable_gx() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gx)
- return &gx_;
- }
- // repeated uint32 gy = 2 [packed = true];
- inline int protobuf_sgx_ec256_public_t::gy_size() const {
- return gy_.size();
- }
- inline void protobuf_sgx_ec256_public_t::clear_gy() {
- gy_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_ec256_public_t::gy(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_ec256_public_t.gy)
- return gy_.Get(index);
- }
- inline void protobuf_sgx_ec256_public_t::set_gy(int index, ::google::protobuf::uint32 value) {
- gy_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_ec256_public_t.gy)
- }
- inline void protobuf_sgx_ec256_public_t::add_gy(::google::protobuf::uint32 value) {
- gy_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_ec256_public_t.gy)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_ec256_public_t::gy() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_ec256_public_t.gy)
- return gy_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_ec256_public_t::mutable_gy() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_ec256_public_t.gy)
- return &gy_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_report_body_t
- // repeated uint32 cpu_svn = 1 [packed = true];
- inline int protobuf_sgx_report_body_t::cpu_svn_size() const {
- return cpu_svn_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_cpu_svn() {
- cpu_svn_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::cpu_svn(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.cpu_svn)
- return cpu_svn_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_cpu_svn(int index, ::google::protobuf::uint32 value) {
- cpu_svn_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.cpu_svn)
- }
- inline void protobuf_sgx_report_body_t::add_cpu_svn(::google::protobuf::uint32 value) {
- cpu_svn_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.cpu_svn)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::cpu_svn() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.cpu_svn)
- return cpu_svn_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_cpu_svn() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.cpu_svn)
- return &cpu_svn_;
- }
- // required uint32 misc_select = 9;
- inline bool protobuf_sgx_report_body_t::has_misc_select() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void protobuf_sgx_report_body_t::set_has_misc_select() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void protobuf_sgx_report_body_t::clear_has_misc_select() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void protobuf_sgx_report_body_t::clear_misc_select() {
- misc_select_ = 0u;
- clear_has_misc_select();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::misc_select() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.misc_select)
- return misc_select_;
- }
- inline void protobuf_sgx_report_body_t::set_misc_select(::google::protobuf::uint32 value) {
- set_has_misc_select();
- misc_select_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.misc_select)
- }
- // repeated uint32 reserved1 = 2 [packed = true];
- inline int protobuf_sgx_report_body_t::reserved1_size() const {
- return reserved1_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_reserved1() {
- reserved1_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved1(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved1)
- return reserved1_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
- reserved1_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved1)
- }
- inline void protobuf_sgx_report_body_t::add_reserved1(::google::protobuf::uint32 value) {
- reserved1_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved1)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::reserved1() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved1)
- return reserved1_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_reserved1() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved1)
- return &reserved1_;
- }
- // required .protobuf_sgx_attributes_t attributes = 10;
- inline bool protobuf_sgx_report_body_t::has_attributes() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void protobuf_sgx_report_body_t::set_has_attributes() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void protobuf_sgx_report_body_t::clear_has_attributes() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void protobuf_sgx_report_body_t::clear_attributes() {
- if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
- clear_has_attributes();
- }
- inline const ::protobuf_sgx_attributes_t& protobuf_sgx_report_body_t::attributes() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.attributes)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
- #else
- return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
- #endif
- }
- inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::mutable_attributes() {
- set_has_attributes();
- if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_body_t.attributes)
- return attributes_;
- }
- inline ::protobuf_sgx_attributes_t* protobuf_sgx_report_body_t::release_attributes() {
- clear_has_attributes();
- ::protobuf_sgx_attributes_t* temp = attributes_;
- attributes_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_report_body_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
- delete attributes_;
- attributes_ = attributes;
- if (attributes) {
- set_has_attributes();
- } else {
- clear_has_attributes();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_body_t.attributes)
- }
- // repeated uint32 mr_enclave = 3 [packed = true];
- inline int protobuf_sgx_report_body_t::mr_enclave_size() const {
- return mr_enclave_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_mr_enclave() {
- mr_enclave_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_enclave(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_enclave)
- return mr_enclave_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
- mr_enclave_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_enclave)
- }
- inline void protobuf_sgx_report_body_t::add_mr_enclave(::google::protobuf::uint32 value) {
- mr_enclave_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_enclave)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::mr_enclave() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_enclave)
- return mr_enclave_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_mr_enclave() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_enclave)
- return &mr_enclave_;
- }
- // repeated uint32 reserved2 = 4 [packed = true];
- inline int protobuf_sgx_report_body_t::reserved2_size() const {
- return reserved2_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_reserved2() {
- reserved2_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved2(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved2)
- return reserved2_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
- reserved2_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved2)
- }
- inline void protobuf_sgx_report_body_t::add_reserved2(::google::protobuf::uint32 value) {
- reserved2_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved2)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::reserved2() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved2)
- return reserved2_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_reserved2() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved2)
- return &reserved2_;
- }
- // repeated uint32 mr_signer = 5 [packed = true];
- inline int protobuf_sgx_report_body_t::mr_signer_size() const {
- return mr_signer_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_mr_signer() {
- mr_signer_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::mr_signer(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.mr_signer)
- return mr_signer_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_mr_signer(int index, ::google::protobuf::uint32 value) {
- mr_signer_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.mr_signer)
- }
- inline void protobuf_sgx_report_body_t::add_mr_signer(::google::protobuf::uint32 value) {
- mr_signer_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.mr_signer)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::mr_signer() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.mr_signer)
- return mr_signer_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_mr_signer() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.mr_signer)
- return &mr_signer_;
- }
- // repeated uint32 reserved3 = 6 [packed = true];
- inline int protobuf_sgx_report_body_t::reserved3_size() const {
- return reserved3_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_reserved3() {
- reserved3_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved3(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved3)
- return reserved3_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_reserved3(int index, ::google::protobuf::uint32 value) {
- reserved3_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved3)
- }
- inline void protobuf_sgx_report_body_t::add_reserved3(::google::protobuf::uint32 value) {
- reserved3_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved3)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::reserved3() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved3)
- return reserved3_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_reserved3() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved3)
- return &reserved3_;
- }
- // required uint32 isv_prod_id = 11;
- inline bool protobuf_sgx_report_body_t::has_isv_prod_id() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void protobuf_sgx_report_body_t::set_has_isv_prod_id() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void protobuf_sgx_report_body_t::clear_has_isv_prod_id() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void protobuf_sgx_report_body_t::clear_isv_prod_id() {
- isv_prod_id_ = 0u;
- clear_has_isv_prod_id();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_prod_id() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_prod_id)
- return isv_prod_id_;
- }
- inline void protobuf_sgx_report_body_t::set_isv_prod_id(::google::protobuf::uint32 value) {
- set_has_isv_prod_id();
- isv_prod_id_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_prod_id)
- }
- // required uint32 isv_svn = 12;
- inline bool protobuf_sgx_report_body_t::has_isv_svn() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void protobuf_sgx_report_body_t::set_has_isv_svn() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void protobuf_sgx_report_body_t::clear_has_isv_svn() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void protobuf_sgx_report_body_t::clear_isv_svn() {
- isv_svn_ = 0u;
- clear_has_isv_svn();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::isv_svn() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.isv_svn)
- return isv_svn_;
- }
- inline void protobuf_sgx_report_body_t::set_isv_svn(::google::protobuf::uint32 value) {
- set_has_isv_svn();
- isv_svn_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.isv_svn)
- }
- // repeated uint32 reserved4 = 7 [packed = true];
- inline int protobuf_sgx_report_body_t::reserved4_size() const {
- return reserved4_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_reserved4() {
- reserved4_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::reserved4(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.reserved4)
- return reserved4_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_reserved4(int index, ::google::protobuf::uint32 value) {
- reserved4_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.reserved4)
- }
- inline void protobuf_sgx_report_body_t::add_reserved4(::google::protobuf::uint32 value) {
- reserved4_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.reserved4)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::reserved4() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.reserved4)
- return reserved4_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_reserved4() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.reserved4)
- return &reserved4_;
- }
- // repeated uint32 report_data = 8 [packed = true];
- inline int protobuf_sgx_report_body_t::report_data_size() const {
- return report_data_.size();
- }
- inline void protobuf_sgx_report_body_t::clear_report_data() {
- report_data_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_body_t::report_data(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_body_t.report_data)
- return report_data_.Get(index);
- }
- inline void protobuf_sgx_report_body_t::set_report_data(int index, ::google::protobuf::uint32 value) {
- report_data_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_body_t.report_data)
- }
- inline void protobuf_sgx_report_body_t::add_report_data(::google::protobuf::uint32 value) {
- report_data_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_body_t.report_data)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_body_t::report_data() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_body_t.report_data)
- return report_data_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_body_t::mutable_report_data() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_body_t.report_data)
- return &report_data_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_report_t
- // required .protobuf_sgx_report_body_t body = 1;
- inline bool protobuf_sgx_report_t::has_body() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_report_t::set_has_body() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_report_t::clear_has_body() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_report_t::clear_body() {
- if (body_ != NULL) body_->::protobuf_sgx_report_body_t::Clear();
- clear_has_body();
- }
- inline const ::protobuf_sgx_report_body_t& protobuf_sgx_report_t::body() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.body)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return body_ != NULL ? *body_ : *default_instance().body_;
- #else
- return body_ != NULL ? *body_ : *default_instance_->body_;
- #endif
- }
- inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::mutable_body() {
- set_has_body();
- if (body_ == NULL) body_ = new ::protobuf_sgx_report_body_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_report_t.body)
- return body_;
- }
- inline ::protobuf_sgx_report_body_t* protobuf_sgx_report_t::release_body() {
- clear_has_body();
- ::protobuf_sgx_report_body_t* temp = body_;
- body_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_report_t::set_allocated_body(::protobuf_sgx_report_body_t* body) {
- delete body_;
- body_ = body;
- if (body) {
- set_has_body();
- } else {
- clear_has_body();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_report_t.body)
- }
- // repeated uint32 key_id = 2 [packed = true];
- inline int protobuf_sgx_report_t::key_id_size() const {
- return key_id_.size();
- }
- inline void protobuf_sgx_report_t::clear_key_id() {
- key_id_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_t::key_id(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.key_id)
- return key_id_.Get(index);
- }
- inline void protobuf_sgx_report_t::set_key_id(int index, ::google::protobuf::uint32 value) {
- key_id_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.key_id)
- }
- inline void protobuf_sgx_report_t::add_key_id(::google::protobuf::uint32 value) {
- key_id_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.key_id)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_t::key_id() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.key_id)
- return key_id_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_t::mutable_key_id() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.key_id)
- return &key_id_;
- }
- // repeated uint32 mac = 3 [packed = true];
- inline int protobuf_sgx_report_t::mac_size() const {
- return mac_.size();
- }
- inline void protobuf_sgx_report_t::clear_mac() {
- mac_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_report_t::mac(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_report_t.mac)
- return mac_.Get(index);
- }
- inline void protobuf_sgx_report_t::set_mac(int index, ::google::protobuf::uint32 value) {
- mac_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_report_t.mac)
- }
- inline void protobuf_sgx_report_t::add_mac(::google::protobuf::uint32 value) {
- mac_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_report_t.mac)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_report_t::mac() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_report_t.mac)
- return mac_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_report_t::mutable_mac() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_report_t.mac)
- return &mac_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_target_info_t
- // repeated uint32 mr_enclave = 1 [packed = true];
- inline int protobuf_sgx_target_info_t::mr_enclave_size() const {
- return mr_enclave_.size();
- }
- inline void protobuf_sgx_target_info_t::clear_mr_enclave() {
- mr_enclave_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::mr_enclave(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.mr_enclave)
- return mr_enclave_.Get(index);
- }
- inline void protobuf_sgx_target_info_t::set_mr_enclave(int index, ::google::protobuf::uint32 value) {
- mr_enclave_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.mr_enclave)
- }
- inline void protobuf_sgx_target_info_t::add_mr_enclave(::google::protobuf::uint32 value) {
- mr_enclave_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.mr_enclave)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_target_info_t::mr_enclave() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.mr_enclave)
- return mr_enclave_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_target_info_t::mutable_mr_enclave() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.mr_enclave)
- return &mr_enclave_;
- }
- // required .protobuf_sgx_attributes_t attributes = 4;
- inline bool protobuf_sgx_target_info_t::has_attributes() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void protobuf_sgx_target_info_t::set_has_attributes() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void protobuf_sgx_target_info_t::clear_has_attributes() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void protobuf_sgx_target_info_t::clear_attributes() {
- if (attributes_ != NULL) attributes_->::protobuf_sgx_attributes_t::Clear();
- clear_has_attributes();
- }
- inline const ::protobuf_sgx_attributes_t& protobuf_sgx_target_info_t::attributes() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.attributes)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return attributes_ != NULL ? *attributes_ : *default_instance().attributes_;
- #else
- return attributes_ != NULL ? *attributes_ : *default_instance_->attributes_;
- #endif
- }
- inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::mutable_attributes() {
- set_has_attributes();
- if (attributes_ == NULL) attributes_ = new ::protobuf_sgx_attributes_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_target_info_t.attributes)
- return attributes_;
- }
- inline ::protobuf_sgx_attributes_t* protobuf_sgx_target_info_t::release_attributes() {
- clear_has_attributes();
- ::protobuf_sgx_attributes_t* temp = attributes_;
- attributes_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_target_info_t::set_allocated_attributes(::protobuf_sgx_attributes_t* attributes) {
- delete attributes_;
- attributes_ = attributes;
- if (attributes) {
- set_has_attributes();
- } else {
- clear_has_attributes();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_target_info_t.attributes)
- }
- // repeated uint32 reserved1 = 2 [packed = true];
- inline int protobuf_sgx_target_info_t::reserved1_size() const {
- return reserved1_.size();
- }
- inline void protobuf_sgx_target_info_t::clear_reserved1() {
- reserved1_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved1(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved1)
- return reserved1_.Get(index);
- }
- inline void protobuf_sgx_target_info_t::set_reserved1(int index, ::google::protobuf::uint32 value) {
- reserved1_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved1)
- }
- inline void protobuf_sgx_target_info_t::add_reserved1(::google::protobuf::uint32 value) {
- reserved1_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved1)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_target_info_t::reserved1() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved1)
- return reserved1_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_target_info_t::mutable_reserved1() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved1)
- return &reserved1_;
- }
- // required uint32 misc_select = 5;
- inline bool protobuf_sgx_target_info_t::has_misc_select() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void protobuf_sgx_target_info_t::set_has_misc_select() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void protobuf_sgx_target_info_t::clear_has_misc_select() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void protobuf_sgx_target_info_t::clear_misc_select() {
- misc_select_ = 0u;
- clear_has_misc_select();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::misc_select() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.misc_select)
- return misc_select_;
- }
- inline void protobuf_sgx_target_info_t::set_misc_select(::google::protobuf::uint32 value) {
- set_has_misc_select();
- misc_select_ = value;
- // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.misc_select)
- }
- // repeated uint32 reserved2 = 3 [packed = true];
- inline int protobuf_sgx_target_info_t::reserved2_size() const {
- return reserved2_.size();
- }
- inline void protobuf_sgx_target_info_t::clear_reserved2() {
- reserved2_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_target_info_t::reserved2(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_target_info_t.reserved2)
- return reserved2_.Get(index);
- }
- inline void protobuf_sgx_target_info_t::set_reserved2(int index, ::google::protobuf::uint32 value) {
- reserved2_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_target_info_t.reserved2)
- }
- inline void protobuf_sgx_target_info_t::add_reserved2(::google::protobuf::uint32 value) {
- reserved2_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_target_info_t.reserved2)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_target_info_t::reserved2() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_target_info_t.reserved2)
- return reserved2_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_target_info_t::mutable_reserved2() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_target_info_t.reserved2)
- return &reserved2_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_dh_msg1_t
- // required .protobuf_sgx_ec256_public_t g_a = 1;
- inline bool protobuf_sgx_dh_msg1_t::has_g_a() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_dh_msg1_t::set_has_g_a() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_dh_msg1_t::clear_has_g_a() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_dh_msg1_t::clear_g_a() {
- if (g_a_ != NULL) g_a_->::protobuf_sgx_ec256_public_t::Clear();
- clear_has_g_a();
- }
- inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg1_t::g_a() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.g_a)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return g_a_ != NULL ? *g_a_ : *default_instance().g_a_;
- #else
- return g_a_ != NULL ? *g_a_ : *default_instance_->g_a_;
- #endif
- }
- inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::mutable_g_a() {
- set_has_g_a();
- if (g_a_ == NULL) g_a_ = new ::protobuf_sgx_ec256_public_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.g_a)
- return g_a_;
- }
- inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg1_t::release_g_a() {
- clear_has_g_a();
- ::protobuf_sgx_ec256_public_t* temp = g_a_;
- g_a_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg1_t::set_allocated_g_a(::protobuf_sgx_ec256_public_t* g_a) {
- delete g_a_;
- g_a_ = g_a;
- if (g_a) {
- set_has_g_a();
- } else {
- clear_has_g_a();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.g_a)
- }
- // required .protobuf_sgx_target_info_t target = 2;
- inline bool protobuf_sgx_dh_msg1_t::has_target() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void protobuf_sgx_dh_msg1_t::set_has_target() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void protobuf_sgx_dh_msg1_t::clear_has_target() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void protobuf_sgx_dh_msg1_t::clear_target() {
- if (target_ != NULL) target_->::protobuf_sgx_target_info_t::Clear();
- clear_has_target();
- }
- inline const ::protobuf_sgx_target_info_t& protobuf_sgx_dh_msg1_t::target() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg1_t.target)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return target_ != NULL ? *target_ : *default_instance().target_;
- #else
- return target_ != NULL ? *target_ : *default_instance_->target_;
- #endif
- }
- inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::mutable_target() {
- set_has_target();
- if (target_ == NULL) target_ = new ::protobuf_sgx_target_info_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg1_t.target)
- return target_;
- }
- inline ::protobuf_sgx_target_info_t* protobuf_sgx_dh_msg1_t::release_target() {
- clear_has_target();
- ::protobuf_sgx_target_info_t* temp = target_;
- target_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg1_t::set_allocated_target(::protobuf_sgx_target_info_t* target) {
- delete target_;
- target_ = target;
- if (target) {
- set_has_target();
- } else {
- clear_has_target();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg1_t.target)
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_dh_msg2_t
- // required .protobuf_sgx_ec256_public_t g_b = 1;
- inline bool protobuf_sgx_dh_msg2_t::has_g_b() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_dh_msg2_t::set_has_g_b() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_dh_msg2_t::clear_has_g_b() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_dh_msg2_t::clear_g_b() {
- if (g_b_ != NULL) g_b_->::protobuf_sgx_ec256_public_t::Clear();
- clear_has_g_b();
- }
- inline const ::protobuf_sgx_ec256_public_t& protobuf_sgx_dh_msg2_t::g_b() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.g_b)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return g_b_ != NULL ? *g_b_ : *default_instance().g_b_;
- #else
- return g_b_ != NULL ? *g_b_ : *default_instance_->g_b_;
- #endif
- }
- inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::mutable_g_b() {
- set_has_g_b();
- if (g_b_ == NULL) g_b_ = new ::protobuf_sgx_ec256_public_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.g_b)
- return g_b_;
- }
- inline ::protobuf_sgx_ec256_public_t* protobuf_sgx_dh_msg2_t::release_g_b() {
- clear_has_g_b();
- ::protobuf_sgx_ec256_public_t* temp = g_b_;
- g_b_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg2_t::set_allocated_g_b(::protobuf_sgx_ec256_public_t* g_b) {
- delete g_b_;
- g_b_ = g_b;
- if (g_b) {
- set_has_g_b();
- } else {
- clear_has_g_b();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.g_b)
- }
- // required .protobuf_sgx_report_t report = 2;
- inline bool protobuf_sgx_dh_msg2_t::has_report() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void protobuf_sgx_dh_msg2_t::set_has_report() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void protobuf_sgx_dh_msg2_t::clear_has_report() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void protobuf_sgx_dh_msg2_t::clear_report() {
- if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
- clear_has_report();
- }
- inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg2_t::report() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.report)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return report_ != NULL ? *report_ : *default_instance().report_;
- #else
- return report_ != NULL ? *report_ : *default_instance_->report_;
- #endif
- }
- inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::mutable_report() {
- set_has_report();
- if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg2_t.report)
- return report_;
- }
- inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg2_t::release_report() {
- clear_has_report();
- ::protobuf_sgx_report_t* temp = report_;
- report_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg2_t::set_allocated_report(::protobuf_sgx_report_t* report) {
- delete report_;
- report_ = report;
- if (report) {
- set_has_report();
- } else {
- clear_has_report();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg2_t.report)
- }
- // repeated uint32 cmac = 3 [packed = true];
- inline int protobuf_sgx_dh_msg2_t::cmac_size() const {
- return cmac_.size();
- }
- inline void protobuf_sgx_dh_msg2_t::clear_cmac() {
- cmac_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_dh_msg2_t::cmac(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg2_t.cmac)
- return cmac_.Get(index);
- }
- inline void protobuf_sgx_dh_msg2_t::set_cmac(int index, ::google::protobuf::uint32 value) {
- cmac_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg2_t.cmac)
- }
- inline void protobuf_sgx_dh_msg2_t::add_cmac(::google::protobuf::uint32 value) {
- cmac_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg2_t.cmac)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_dh_msg2_t::cmac() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg2_t.cmac)
- return cmac_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_dh_msg2_t::mutable_cmac() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg2_t.cmac)
- return &cmac_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_dh_msg3_body_t
- // required .protobuf_sgx_report_t report = 1;
- inline bool protobuf_sgx_dh_msg3_body_t::has_report() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_dh_msg3_body_t::set_has_report() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_dh_msg3_body_t::clear_has_report() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_dh_msg3_body_t::clear_report() {
- if (report_ != NULL) report_->::protobuf_sgx_report_t::Clear();
- clear_has_report();
- }
- inline const ::protobuf_sgx_report_t& protobuf_sgx_dh_msg3_body_t::report() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.report)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return report_ != NULL ? *report_ : *default_instance().report_;
- #else
- return report_ != NULL ? *report_ : *default_instance_->report_;
- #endif
- }
- inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::mutable_report() {
- set_has_report();
- if (report_ == NULL) report_ = new ::protobuf_sgx_report_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_body_t.report)
- return report_;
- }
- inline ::protobuf_sgx_report_t* protobuf_sgx_dh_msg3_body_t::release_report() {
- clear_has_report();
- ::protobuf_sgx_report_t* temp = report_;
- report_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg3_body_t::set_allocated_report(::protobuf_sgx_report_t* report) {
- delete report_;
- report_ = report;
- if (report) {
- set_has_report();
- } else {
- clear_has_report();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_body_t.report)
- }
- // repeated uint32 additional_prop = 2;
- inline int protobuf_sgx_dh_msg3_body_t::additional_prop_size() const {
- return additional_prop_.size();
- }
- inline void protobuf_sgx_dh_msg3_body_t::clear_additional_prop() {
- additional_prop_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_body_t::additional_prop(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_body_t.additional_prop)
- return additional_prop_.Get(index);
- }
- inline void protobuf_sgx_dh_msg3_body_t::set_additional_prop(int index, ::google::protobuf::uint32 value) {
- additional_prop_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_body_t.additional_prop)
- }
- inline void protobuf_sgx_dh_msg3_body_t::add_additional_prop(::google::protobuf::uint32 value) {
- additional_prop_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_body_t.additional_prop)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_dh_msg3_body_t::additional_prop() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
- return additional_prop_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_dh_msg3_body_t::mutable_additional_prop() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_body_t.additional_prop)
- return &additional_prop_;
- }
- // -------------------------------------------------------------------
- // protobuf_sgx_dh_msg3_t
- // required .protobuf_sgx_dh_msg3_body_t msg3_body = 1;
- inline bool protobuf_sgx_dh_msg3_t::has_msg3_body() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void protobuf_sgx_dh_msg3_t::set_has_msg3_body() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void protobuf_sgx_dh_msg3_t::clear_has_msg3_body() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void protobuf_sgx_dh_msg3_t::clear_msg3_body() {
- if (msg3_body_ != NULL) msg3_body_->::protobuf_sgx_dh_msg3_body_t::Clear();
- clear_has_msg3_body();
- }
- inline const ::protobuf_sgx_dh_msg3_body_t& protobuf_sgx_dh_msg3_t::msg3_body() const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.msg3_body)
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return msg3_body_ != NULL ? *msg3_body_ : *default_instance().msg3_body_;
- #else
- return msg3_body_ != NULL ? *msg3_body_ : *default_instance_->msg3_body_;
- #endif
- }
- inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::mutable_msg3_body() {
- set_has_msg3_body();
- if (msg3_body_ == NULL) msg3_body_ = new ::protobuf_sgx_dh_msg3_body_t;
- // @@protoc_insertion_point(field_mutable:protobuf_sgx_dh_msg3_t.msg3_body)
- return msg3_body_;
- }
- inline ::protobuf_sgx_dh_msg3_body_t* protobuf_sgx_dh_msg3_t::release_msg3_body() {
- clear_has_msg3_body();
- ::protobuf_sgx_dh_msg3_body_t* temp = msg3_body_;
- msg3_body_ = NULL;
- return temp;
- }
- inline void protobuf_sgx_dh_msg3_t::set_allocated_msg3_body(::protobuf_sgx_dh_msg3_body_t* msg3_body) {
- delete msg3_body_;
- msg3_body_ = msg3_body;
- if (msg3_body) {
- set_has_msg3_body();
- } else {
- clear_has_msg3_body();
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_dh_msg3_t.msg3_body)
- }
- // repeated uint32 cmac = 2 [packed = true];
- inline int protobuf_sgx_dh_msg3_t::cmac_size() const {
- return cmac_.size();
- }
- inline void protobuf_sgx_dh_msg3_t::clear_cmac() {
- cmac_.Clear();
- }
- inline ::google::protobuf::uint32 protobuf_sgx_dh_msg3_t::cmac(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_sgx_dh_msg3_t.cmac)
- return cmac_.Get(index);
- }
- inline void protobuf_sgx_dh_msg3_t::set_cmac(int index, ::google::protobuf::uint32 value) {
- cmac_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf_sgx_dh_msg3_t.cmac)
- }
- inline void protobuf_sgx_dh_msg3_t::add_cmac(::google::protobuf::uint32 value) {
- cmac_.Add(value);
- // @@protoc_insertion_point(field_add:protobuf_sgx_dh_msg3_t.cmac)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
- protobuf_sgx_dh_msg3_t::cmac() const {
- // @@protoc_insertion_point(field_list:protobuf_sgx_dh_msg3_t.cmac)
- return cmac_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
- protobuf_sgx_dh_msg3_t::mutable_cmac() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_sgx_dh_msg3_t.cmac)
- return &cmac_;
- }
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED
|