// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ProtobufSealerMessages.proto #ifndef PROTOBUF_ProtobufSealerMessages_2eproto__INCLUDED #define PROTOBUF_ProtobufSealerMessages_2eproto__INCLUDED #include #include #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 #include #include #include #include // @@protoc_insertion_point(includes) // Internal implementation detail -- do not call these. void protobuf_AddDesc_ProtobufSealerMessages_2eproto(); void protobuf_AssignDesc_ProtobufSealerMessages_2eproto(); void protobuf_ShutdownFile_ProtobufSealerMessages_2eproto(); class protobuf_sgx_mc_uuid_t; class protobuf_plaintext_seal_message; // =================================================================== class protobuf_sgx_mc_uuid_t : public ::google::protobuf::Message { public: protobuf_sgx_mc_uuid_t(); virtual ~protobuf_sgx_mc_uuid_t(); protobuf_sgx_mc_uuid_t(const protobuf_sgx_mc_uuid_t& from); inline protobuf_sgx_mc_uuid_t& operator=(const protobuf_sgx_mc_uuid_t& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const protobuf_sgx_mc_uuid_t& default_instance(); void Swap(protobuf_sgx_mc_uuid_t* other); // implements Message ---------------------------------------------- protobuf_sgx_mc_uuid_t* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const protobuf_sgx_mc_uuid_t& from); void MergeFrom(const protobuf_sgx_mc_uuid_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; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required bytes nonce = 1; inline bool has_nonce() const; inline void clear_nonce(); static const int kNonceFieldNumber = 1; inline const ::std::string& nonce() const; inline void set_nonce(const ::std::string& value); inline void set_nonce(const char* value); inline void set_nonce(const void* value, size_t size); inline ::std::string* mutable_nonce(); inline ::std::string* release_nonce(); inline void set_allocated_nonce(::std::string* nonce); // required bytes counter_id = 2; inline bool has_counter_id() const; inline void clear_counter_id(); static const int kCounterIdFieldNumber = 2; inline const ::std::string& counter_id() const; inline void set_counter_id(const ::std::string& value); inline void set_counter_id(const char* value); inline void set_counter_id(const void* value, size_t size); inline ::std::string* mutable_counter_id(); inline ::std::string* release_counter_id(); inline void set_allocated_counter_id(::std::string* counter_id); // @@protoc_insertion_point(class_scope:protobuf_sgx_mc_uuid_t) private: inline void set_has_nonce(); inline void clear_has_nonce(); inline void set_has_counter_id(); inline void clear_has_counter_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* nonce_; ::std::string* counter_id_; friend void protobuf_AddDesc_ProtobufSealerMessages_2eproto(); friend void protobuf_AssignDesc_ProtobufSealerMessages_2eproto(); friend void protobuf_ShutdownFile_ProtobufSealerMessages_2eproto(); void InitAsDefaultInstance(); static protobuf_sgx_mc_uuid_t* default_instance_; }; // ------------------------------------------------------------------- class protobuf_plaintext_seal_message : public ::google::protobuf::Message { public: protobuf_plaintext_seal_message(); virtual ~protobuf_plaintext_seal_message(); protobuf_plaintext_seal_message(const protobuf_plaintext_seal_message& from); inline protobuf_plaintext_seal_message& operator=(const protobuf_plaintext_seal_message& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const protobuf_plaintext_seal_message& default_instance(); void Swap(protobuf_plaintext_seal_message* other); // implements Message ---------------------------------------------- protobuf_plaintext_seal_message* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const protobuf_plaintext_seal_message& from); void MergeFrom(const protobuf_plaintext_seal_message& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required .protobuf_sgx_mc_uuid_t monotonic_counter_id = 1; inline bool has_monotonic_counter_id() const; inline void clear_monotonic_counter_id(); static const int kMonotonicCounterIdFieldNumber = 1; inline const ::protobuf_sgx_mc_uuid_t& monotonic_counter_id() const; inline ::protobuf_sgx_mc_uuid_t* mutable_monotonic_counter_id(); inline ::protobuf_sgx_mc_uuid_t* release_monotonic_counter_id(); inline void set_allocated_monotonic_counter_id(::protobuf_sgx_mc_uuid_t* monotonic_counter_id); // required uint32 monotonic_counter_value = 2; inline bool has_monotonic_counter_value() const; inline void clear_monotonic_counter_value(); static const int kMonotonicCounterValueFieldNumber = 2; inline ::google::protobuf::uint32 monotonic_counter_value() const; inline void set_monotonic_counter_value(::google::protobuf::uint32 value); // required bytes message = 3; inline bool has_message() const; inline void clear_message(); static const int kMessageFieldNumber = 3; inline const ::std::string& message() const; inline void set_message(const ::std::string& value); inline void set_message(const char* value); inline void set_message(const void* value, size_t size); inline ::std::string* mutable_message(); inline ::std::string* release_message(); inline void set_allocated_message(::std::string* message); // @@protoc_insertion_point(class_scope:protobuf_plaintext_seal_message) private: inline void set_has_monotonic_counter_id(); inline void clear_has_monotonic_counter_id(); inline void set_has_monotonic_counter_value(); inline void clear_has_monotonic_counter_value(); inline void set_has_message(); inline void clear_has_message(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::protobuf_sgx_mc_uuid_t* monotonic_counter_id_; ::std::string* message_; ::google::protobuf::uint32 monotonic_counter_value_; friend void protobuf_AddDesc_ProtobufSealerMessages_2eproto(); friend void protobuf_AssignDesc_ProtobufSealerMessages_2eproto(); friend void protobuf_ShutdownFile_ProtobufSealerMessages_2eproto(); void InitAsDefaultInstance(); static protobuf_plaintext_seal_message* default_instance_; }; // =================================================================== // =================================================================== // protobuf_sgx_mc_uuid_t // required bytes nonce = 1; inline bool protobuf_sgx_mc_uuid_t::has_nonce() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void protobuf_sgx_mc_uuid_t::set_has_nonce() { _has_bits_[0] |= 0x00000001u; } inline void protobuf_sgx_mc_uuid_t::clear_has_nonce() { _has_bits_[0] &= ~0x00000001u; } inline void protobuf_sgx_mc_uuid_t::clear_nonce() { if (nonce_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nonce_->clear(); } clear_has_nonce(); } inline const ::std::string& protobuf_sgx_mc_uuid_t::nonce() const { // @@protoc_insertion_point(field_get:protobuf_sgx_mc_uuid_t.nonce) return *nonce_; } inline void protobuf_sgx_mc_uuid_t::set_nonce(const ::std::string& value) { set_has_nonce(); if (nonce_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nonce_ = new ::std::string; } nonce_->assign(value); // @@protoc_insertion_point(field_set:protobuf_sgx_mc_uuid_t.nonce) } inline void protobuf_sgx_mc_uuid_t::set_nonce(const char* value) { set_has_nonce(); if (nonce_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nonce_ = new ::std::string; } nonce_->assign(value); // @@protoc_insertion_point(field_set_char:protobuf_sgx_mc_uuid_t.nonce) } inline void protobuf_sgx_mc_uuid_t::set_nonce(const void* value, size_t size) { set_has_nonce(); if (nonce_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nonce_ = new ::std::string; } nonce_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:protobuf_sgx_mc_uuid_t.nonce) } inline ::std::string* protobuf_sgx_mc_uuid_t::mutable_nonce() { set_has_nonce(); if (nonce_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { nonce_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:protobuf_sgx_mc_uuid_t.nonce) return nonce_; } inline ::std::string* protobuf_sgx_mc_uuid_t::release_nonce() { clear_has_nonce(); if (nonce_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = nonce_; nonce_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void protobuf_sgx_mc_uuid_t::set_allocated_nonce(::std::string* nonce) { if (nonce_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete nonce_; } if (nonce) { set_has_nonce(); nonce_ = nonce; } else { clear_has_nonce(); nonce_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_mc_uuid_t.nonce) } // required bytes counter_id = 2; inline bool protobuf_sgx_mc_uuid_t::has_counter_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void protobuf_sgx_mc_uuid_t::set_has_counter_id() { _has_bits_[0] |= 0x00000002u; } inline void protobuf_sgx_mc_uuid_t::clear_has_counter_id() { _has_bits_[0] &= ~0x00000002u; } inline void protobuf_sgx_mc_uuid_t::clear_counter_id() { if (counter_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { counter_id_->clear(); } clear_has_counter_id(); } inline const ::std::string& protobuf_sgx_mc_uuid_t::counter_id() const { // @@protoc_insertion_point(field_get:protobuf_sgx_mc_uuid_t.counter_id) return *counter_id_; } inline void protobuf_sgx_mc_uuid_t::set_counter_id(const ::std::string& value) { set_has_counter_id(); if (counter_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { counter_id_ = new ::std::string; } counter_id_->assign(value); // @@protoc_insertion_point(field_set:protobuf_sgx_mc_uuid_t.counter_id) } inline void protobuf_sgx_mc_uuid_t::set_counter_id(const char* value) { set_has_counter_id(); if (counter_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { counter_id_ = new ::std::string; } counter_id_->assign(value); // @@protoc_insertion_point(field_set_char:protobuf_sgx_mc_uuid_t.counter_id) } inline void protobuf_sgx_mc_uuid_t::set_counter_id(const void* value, size_t size) { set_has_counter_id(); if (counter_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { counter_id_ = new ::std::string; } counter_id_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:protobuf_sgx_mc_uuid_t.counter_id) } inline ::std::string* protobuf_sgx_mc_uuid_t::mutable_counter_id() { set_has_counter_id(); if (counter_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { counter_id_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:protobuf_sgx_mc_uuid_t.counter_id) return counter_id_; } inline ::std::string* protobuf_sgx_mc_uuid_t::release_counter_id() { clear_has_counter_id(); if (counter_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = counter_id_; counter_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void protobuf_sgx_mc_uuid_t::set_allocated_counter_id(::std::string* counter_id) { if (counter_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete counter_id_; } if (counter_id) { set_has_counter_id(); counter_id_ = counter_id; } else { clear_has_counter_id(); counter_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:protobuf_sgx_mc_uuid_t.counter_id) } // ------------------------------------------------------------------- // protobuf_plaintext_seal_message // required .protobuf_sgx_mc_uuid_t monotonic_counter_id = 1; inline bool protobuf_plaintext_seal_message::has_monotonic_counter_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void protobuf_plaintext_seal_message::set_has_monotonic_counter_id() { _has_bits_[0] |= 0x00000001u; } inline void protobuf_plaintext_seal_message::clear_has_monotonic_counter_id() { _has_bits_[0] &= ~0x00000001u; } inline void protobuf_plaintext_seal_message::clear_monotonic_counter_id() { if (monotonic_counter_id_ != NULL) monotonic_counter_id_->::protobuf_sgx_mc_uuid_t::Clear(); clear_has_monotonic_counter_id(); } inline const ::protobuf_sgx_mc_uuid_t& protobuf_plaintext_seal_message::monotonic_counter_id() const { // @@protoc_insertion_point(field_get:protobuf_plaintext_seal_message.monotonic_counter_id) return monotonic_counter_id_ != NULL ? *monotonic_counter_id_ : *default_instance_->monotonic_counter_id_; } inline ::protobuf_sgx_mc_uuid_t* protobuf_plaintext_seal_message::mutable_monotonic_counter_id() { set_has_monotonic_counter_id(); if (monotonic_counter_id_ == NULL) monotonic_counter_id_ = new ::protobuf_sgx_mc_uuid_t; // @@protoc_insertion_point(field_mutable:protobuf_plaintext_seal_message.monotonic_counter_id) return monotonic_counter_id_; } inline ::protobuf_sgx_mc_uuid_t* protobuf_plaintext_seal_message::release_monotonic_counter_id() { clear_has_monotonic_counter_id(); ::protobuf_sgx_mc_uuid_t* temp = monotonic_counter_id_; monotonic_counter_id_ = NULL; return temp; } inline void protobuf_plaintext_seal_message::set_allocated_monotonic_counter_id(::protobuf_sgx_mc_uuid_t* monotonic_counter_id) { delete monotonic_counter_id_; monotonic_counter_id_ = monotonic_counter_id; if (monotonic_counter_id) { set_has_monotonic_counter_id(); } else { clear_has_monotonic_counter_id(); } // @@protoc_insertion_point(field_set_allocated:protobuf_plaintext_seal_message.monotonic_counter_id) } // required uint32 monotonic_counter_value = 2; inline bool protobuf_plaintext_seal_message::has_monotonic_counter_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void protobuf_plaintext_seal_message::set_has_monotonic_counter_value() { _has_bits_[0] |= 0x00000002u; } inline void protobuf_plaintext_seal_message::clear_has_monotonic_counter_value() { _has_bits_[0] &= ~0x00000002u; } inline void protobuf_plaintext_seal_message::clear_monotonic_counter_value() { monotonic_counter_value_ = 0u; clear_has_monotonic_counter_value(); } inline ::google::protobuf::uint32 protobuf_plaintext_seal_message::monotonic_counter_value() const { // @@protoc_insertion_point(field_get:protobuf_plaintext_seal_message.monotonic_counter_value) return monotonic_counter_value_; } inline void protobuf_plaintext_seal_message::set_monotonic_counter_value(::google::protobuf::uint32 value) { set_has_monotonic_counter_value(); monotonic_counter_value_ = value; // @@protoc_insertion_point(field_set:protobuf_plaintext_seal_message.monotonic_counter_value) } // required bytes message = 3; inline bool protobuf_plaintext_seal_message::has_message() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void protobuf_plaintext_seal_message::set_has_message() { _has_bits_[0] |= 0x00000004u; } inline void protobuf_plaintext_seal_message::clear_has_message() { _has_bits_[0] &= ~0x00000004u; } inline void protobuf_plaintext_seal_message::clear_message() { if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { message_->clear(); } clear_has_message(); } inline const ::std::string& protobuf_plaintext_seal_message::message() const { // @@protoc_insertion_point(field_get:protobuf_plaintext_seal_message.message) return *message_; } inline void protobuf_plaintext_seal_message::set_message(const ::std::string& value) { set_has_message(); if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { message_ = new ::std::string; } message_->assign(value); // @@protoc_insertion_point(field_set:protobuf_plaintext_seal_message.message) } inline void protobuf_plaintext_seal_message::set_message(const char* value) { set_has_message(); if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { message_ = new ::std::string; } message_->assign(value); // @@protoc_insertion_point(field_set_char:protobuf_plaintext_seal_message.message) } inline void protobuf_plaintext_seal_message::set_message(const void* value, size_t size) { set_has_message(); if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { message_ = new ::std::string; } message_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:protobuf_plaintext_seal_message.message) } inline ::std::string* protobuf_plaintext_seal_message::mutable_message() { set_has_message(); if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { message_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:protobuf_plaintext_seal_message.message) return message_; } inline ::std::string* protobuf_plaintext_seal_message::release_message() { clear_has_message(); if (message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = message_; message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void protobuf_plaintext_seal_message::set_allocated_message(::std::string* message) { if (message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete message_; } if (message) { set_has_message(); message_ = message; } else { clear_has_message(); message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:protobuf_plaintext_seal_message.message) } // @@protoc_insertion_point(namespace_scope) #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_ProtobufSealerMessages_2eproto__INCLUDED