123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481 |
- // 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_post_LA_encrypted_msg_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_;
- };
- // -------------------------------------------------------------------
- class protobuf_post_LA_encrypted_msg_t : public ::google::protobuf::MessageLite {
- public:
- protobuf_post_LA_encrypted_msg_t();
- virtual ~protobuf_post_LA_encrypted_msg_t();
- protobuf_post_LA_encrypted_msg_t(const protobuf_post_LA_encrypted_msg_t& from);
- inline protobuf_post_LA_encrypted_msg_t& operator=(const protobuf_post_LA_encrypted_msg_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_post_LA_encrypted_msg_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_post_LA_encrypted_msg_t* internal_default_instance() {
- return default_instance_;
- }
- #endif
- void Swap(protobuf_post_LA_encrypted_msg_t* other);
- // implements Message ----------------------------------------------
- protobuf_post_LA_encrypted_msg_t* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
- void CopyFrom(const protobuf_post_LA_encrypted_msg_t& from);
- void MergeFrom(const protobuf_post_LA_encrypted_msg_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 bytes msg = 1;
- inline int msg_size() const;
- inline void clear_msg();
- static const int kMsgFieldNumber = 1;
- inline const ::std::string& msg(int index) const;
- inline ::std::string* mutable_msg(int index);
- inline void set_msg(int index, const ::std::string& value);
- inline void set_msg(int index, const char* value);
- inline void set_msg(int index, const void* value, size_t size);
- inline ::std::string* add_msg();
- inline void add_msg(const ::std::string& value);
- inline void add_msg(const char* value);
- inline void add_msg(const void* value, size_t size);
- inline const ::google::protobuf::RepeatedPtrField< ::std::string>& msg() const;
- inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_msg();
- // @@protoc_insertion_point(class_scope:protobuf_post_LA_encrypted_msg_t)
- private:
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::std::string> msg_;
- #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_post_LA_encrypted_msg_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_;
- }
- // -------------------------------------------------------------------
- // protobuf_post_LA_encrypted_msg_t
- // repeated bytes msg = 1;
- inline int protobuf_post_LA_encrypted_msg_t::msg_size() const {
- return msg_.size();
- }
- inline void protobuf_post_LA_encrypted_msg_t::clear_msg() {
- msg_.Clear();
- }
- inline const ::std::string& protobuf_post_LA_encrypted_msg_t::msg(int index) const {
- // @@protoc_insertion_point(field_get:protobuf_post_LA_encrypted_msg_t.msg)
- return msg_.Get(index);
- }
- inline ::std::string* protobuf_post_LA_encrypted_msg_t::mutable_msg(int index) {
- // @@protoc_insertion_point(field_mutable:protobuf_post_LA_encrypted_msg_t.msg)
- return msg_.Mutable(index);
- }
- inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:protobuf_post_LA_encrypted_msg_t.msg)
- msg_.Mutable(index)->assign(value);
- }
- inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const char* value) {
- msg_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:protobuf_post_LA_encrypted_msg_t.msg)
- }
- inline void protobuf_post_LA_encrypted_msg_t::set_msg(int index, const void* value, size_t size) {
- msg_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:protobuf_post_LA_encrypted_msg_t.msg)
- }
- inline ::std::string* protobuf_post_LA_encrypted_msg_t::add_msg() {
- return msg_.Add();
- }
- inline void protobuf_post_LA_encrypted_msg_t::add_msg(const ::std::string& value) {
- msg_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:protobuf_post_LA_encrypted_msg_t.msg)
- }
- inline void protobuf_post_LA_encrypted_msg_t::add_msg(const char* value) {
- msg_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:protobuf_post_LA_encrypted_msg_t.msg)
- }
- inline void protobuf_post_LA_encrypted_msg_t::add_msg(const void* value, size_t size) {
- msg_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:protobuf_post_LA_encrypted_msg_t.msg)
- }
- inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
- protobuf_post_LA_encrypted_msg_t::msg() const {
- // @@protoc_insertion_point(field_list:protobuf_post_LA_encrypted_msg_t.msg)
- return msg_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::std::string>*
- protobuf_post_LA_encrypted_msg_t::mutable_msg() {
- // @@protoc_insertion_point(field_mutable_list:protobuf_post_LA_encrypted_msg_t.msg)
- return &msg_;
- }
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_ProtobufLAMessages_2eproto__INCLUDED
|