123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: PostLAMessages.proto
- #ifndef PROTOBUF_PostLAMessages_2eproto__INCLUDED
- #define PROTOBUF_PostLAMessages_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.h>
- #include <google/protobuf/repeated_field.h>
- #include <google/protobuf/extension_set.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- // Internal implementation detail -- do not call these.
- void protobuf_AddDesc_PostLAMessages_2eproto();
- void protobuf_AssignDesc_PostLAMessages_2eproto();
- void protobuf_ShutdownFile_PostLAMessages_2eproto();
- class ciphertext_data;
- class extension_to_decryptor_msg;
- class decryptor_to_extension_msg;
- class mitigator_header;
- // ===================================================================
- class ciphertext_data : public ::google::protobuf::Message {
- public:
- ciphertext_data();
- virtual ~ciphertext_data();
- ciphertext_data(const ciphertext_data& from);
- inline ciphertext_data& operator=(const ciphertext_data& 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 ciphertext_data& default_instance();
- void Swap(ciphertext_data* other);
- // implements Message ----------------------------------------------
- ciphertext_data* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const ciphertext_data& from);
- void MergeFrom(const ciphertext_data& 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 field = 1;
- inline bool has_field() const;
- inline void clear_field();
- static const int kFieldFieldNumber = 1;
- inline const ::std::string& field() const;
- inline void set_field(const ::std::string& value);
- inline void set_field(const char* value);
- inline void set_field(const void* value, size_t size);
- inline ::std::string* mutable_field();
- inline ::std::string* release_field();
- inline void set_allocated_field(::std::string* field);
- // @@protoc_insertion_point(class_scope:ciphertext_data)
- private:
- inline void set_has_field();
- inline void clear_has_field();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* field_;
- friend void protobuf_AddDesc_PostLAMessages_2eproto();
- friend void protobuf_AssignDesc_PostLAMessages_2eproto();
- friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
- void InitAsDefaultInstance();
- static ciphertext_data* default_instance_;
- };
- // -------------------------------------------------------------------
- class extension_to_decryptor_msg : public ::google::protobuf::Message {
- public:
- extension_to_decryptor_msg();
- virtual ~extension_to_decryptor_msg();
- extension_to_decryptor_msg(const extension_to_decryptor_msg& from);
- inline extension_to_decryptor_msg& operator=(const extension_to_decryptor_msg& 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 extension_to_decryptor_msg& default_instance();
- void Swap(extension_to_decryptor_msg* other);
- // implements Message ----------------------------------------------
- extension_to_decryptor_msg* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const extension_to_decryptor_msg& from);
- void MergeFrom(const extension_to_decryptor_msg& 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 ciphertext_client_public_key = 1;
- inline bool has_ciphertext_client_public_key() const;
- inline void clear_ciphertext_client_public_key();
- static const int kCiphertextClientPublicKeyFieldNumber = 1;
- inline const ::std::string& ciphertext_client_public_key() const;
- inline void set_ciphertext_client_public_key(const ::std::string& value);
- inline void set_ciphertext_client_public_key(const char* value);
- inline void set_ciphertext_client_public_key(const void* value, size_t size);
- inline ::std::string* mutable_ciphertext_client_public_key();
- inline ::std::string* release_ciphertext_client_public_key();
- inline void set_allocated_ciphertext_client_public_key(::std::string* ciphertext_client_public_key);
- // repeated .ciphertext_data fields = 2;
- inline int fields_size() const;
- inline void clear_fields();
- static const int kFieldsFieldNumber = 2;
- inline const ::ciphertext_data& fields(int index) const;
- inline ::ciphertext_data* mutable_fields(int index);
- inline ::ciphertext_data* add_fields();
- inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
- fields() const;
- inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
- mutable_fields();
- // @@protoc_insertion_point(class_scope:extension_to_decryptor_msg)
- private:
- inline void set_has_ciphertext_client_public_key();
- inline void clear_has_ciphertext_client_public_key();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* ciphertext_client_public_key_;
- ::google::protobuf::RepeatedPtrField< ::ciphertext_data > fields_;
- friend void protobuf_AddDesc_PostLAMessages_2eproto();
- friend void protobuf_AssignDesc_PostLAMessages_2eproto();
- friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
- void InitAsDefaultInstance();
- static extension_to_decryptor_msg* default_instance_;
- };
- // -------------------------------------------------------------------
- class decryptor_to_extension_msg : public ::google::protobuf::Message {
- public:
- decryptor_to_extension_msg();
- virtual ~decryptor_to_extension_msg();
- decryptor_to_extension_msg(const decryptor_to_extension_msg& from);
- inline decryptor_to_extension_msg& operator=(const decryptor_to_extension_msg& 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 decryptor_to_extension_msg& default_instance();
- void Swap(decryptor_to_extension_msg* other);
- // implements Message ----------------------------------------------
- decryptor_to_extension_msg* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const decryptor_to_extension_msg& from);
- void MergeFrom(const decryptor_to_extension_msg& 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 -------------------------------------------------------
- // repeated .ciphertext_data fields = 1;
- inline int fields_size() const;
- inline void clear_fields();
- static const int kFieldsFieldNumber = 1;
- inline const ::ciphertext_data& fields(int index) const;
- inline ::ciphertext_data* mutable_fields(int index);
- inline ::ciphertext_data* add_fields();
- inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
- fields() const;
- inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
- mutable_fields();
- // @@protoc_insertion_point(class_scope:decryptor_to_extension_msg)
- private:
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::ciphertext_data > fields_;
- friend void protobuf_AddDesc_PostLAMessages_2eproto();
- friend void protobuf_AssignDesc_PostLAMessages_2eproto();
- friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
- void InitAsDefaultInstance();
- static decryptor_to_extension_msg* default_instance_;
- };
- // -------------------------------------------------------------------
- class mitigator_header : public ::google::protobuf::Message {
- public:
- mitigator_header();
- virtual ~mitigator_header();
- mitigator_header(const mitigator_header& from);
- inline mitigator_header& operator=(const mitigator_header& 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 mitigator_header& default_instance();
- void Swap(mitigator_header* other);
- // implements Message ----------------------------------------------
- mitigator_header* New() const;
- void CopyFrom(const ::google::protobuf::Message& from);
- void MergeFrom(const ::google::protobuf::Message& from);
- void CopyFrom(const mitigator_header& from);
- void MergeFrom(const mitigator_header& 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 name = 1;
- inline bool has_name() const;
- inline void clear_name();
- static const int kNameFieldNumber = 1;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const void* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
- // required bytes value = 2;
- inline bool has_value() const;
- inline void clear_value();
- static const int kValueFieldNumber = 2;
- inline const ::std::string& value() const;
- inline void set_value(const ::std::string& value);
- inline void set_value(const char* value);
- inline void set_value(const void* value, size_t size);
- inline ::std::string* mutable_value();
- inline ::std::string* release_value();
- inline void set_allocated_value(::std::string* value);
- // @@protoc_insertion_point(class_scope:mitigator_header)
- private:
- inline void set_has_name();
- inline void clear_has_name();
- inline void set_has_value();
- inline void clear_has_value();
- ::google::protobuf::UnknownFieldSet _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
- ::std::string* value_;
- friend void protobuf_AddDesc_PostLAMessages_2eproto();
- friend void protobuf_AssignDesc_PostLAMessages_2eproto();
- friend void protobuf_ShutdownFile_PostLAMessages_2eproto();
- void InitAsDefaultInstance();
- static mitigator_header* default_instance_;
- };
- // ===================================================================
- // ===================================================================
- // ciphertext_data
- // required bytes field = 1;
- inline bool ciphertext_data::has_field() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void ciphertext_data::set_has_field() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void ciphertext_data::clear_has_field() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void ciphertext_data::clear_field() {
- if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_->clear();
- }
- clear_has_field();
- }
- inline const ::std::string& ciphertext_data::field() const {
- // @@protoc_insertion_point(field_get:ciphertext_data.field)
- return *field_;
- }
- inline void ciphertext_data::set_field(const ::std::string& value) {
- set_has_field();
- if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_ = new ::std::string;
- }
- field_->assign(value);
- // @@protoc_insertion_point(field_set:ciphertext_data.field)
- }
- inline void ciphertext_data::set_field(const char* value) {
- set_has_field();
- if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_ = new ::std::string;
- }
- field_->assign(value);
- // @@protoc_insertion_point(field_set_char:ciphertext_data.field)
- }
- inline void ciphertext_data::set_field(const void* value, size_t size) {
- set_has_field();
- if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_ = new ::std::string;
- }
- field_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:ciphertext_data.field)
- }
- inline ::std::string* ciphertext_data::mutable_field() {
- set_has_field();
- if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:ciphertext_data.field)
- return field_;
- }
- inline ::std::string* ciphertext_data::release_field() {
- clear_has_field();
- if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = field_;
- field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
- }
- inline void ciphertext_data::set_allocated_field(::std::string* field) {
- if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete field_;
- }
- if (field) {
- set_has_field();
- field_ = field;
- } else {
- clear_has_field();
- field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:ciphertext_data.field)
- }
- // -------------------------------------------------------------------
- // extension_to_decryptor_msg
- // required bytes ciphertext_client_public_key = 1;
- inline bool extension_to_decryptor_msg::has_ciphertext_client_public_key() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void extension_to_decryptor_msg::set_has_ciphertext_client_public_key() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void extension_to_decryptor_msg::clear_has_ciphertext_client_public_key() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void extension_to_decryptor_msg::clear_ciphertext_client_public_key() {
- if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_->clear();
- }
- clear_has_ciphertext_client_public_key();
- }
- inline const ::std::string& extension_to_decryptor_msg::ciphertext_client_public_key() const {
- // @@protoc_insertion_point(field_get:extension_to_decryptor_msg.ciphertext_client_public_key)
- return *ciphertext_client_public_key_;
- }
- inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const ::std::string& value) {
- set_has_ciphertext_client_public_key();
- if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_ = new ::std::string;
- }
- ciphertext_client_public_key_->assign(value);
- // @@protoc_insertion_point(field_set:extension_to_decryptor_msg.ciphertext_client_public_key)
- }
- inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const char* value) {
- set_has_ciphertext_client_public_key();
- if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_ = new ::std::string;
- }
- ciphertext_client_public_key_->assign(value);
- // @@protoc_insertion_point(field_set_char:extension_to_decryptor_msg.ciphertext_client_public_key)
- }
- inline void extension_to_decryptor_msg::set_ciphertext_client_public_key(const void* value, size_t size) {
- set_has_ciphertext_client_public_key();
- if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_ = new ::std::string;
- }
- ciphertext_client_public_key_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:extension_to_decryptor_msg.ciphertext_client_public_key)
- }
- inline ::std::string* extension_to_decryptor_msg::mutable_ciphertext_client_public_key() {
- set_has_ciphertext_client_public_key();
- if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:extension_to_decryptor_msg.ciphertext_client_public_key)
- return ciphertext_client_public_key_;
- }
- inline ::std::string* extension_to_decryptor_msg::release_ciphertext_client_public_key() {
- clear_has_ciphertext_client_public_key();
- if (ciphertext_client_public_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = ciphertext_client_public_key_;
- ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
- }
- inline void extension_to_decryptor_msg::set_allocated_ciphertext_client_public_key(::std::string* ciphertext_client_public_key) {
- if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete ciphertext_client_public_key_;
- }
- if (ciphertext_client_public_key) {
- set_has_ciphertext_client_public_key();
- ciphertext_client_public_key_ = ciphertext_client_public_key;
- } else {
- clear_has_ciphertext_client_public_key();
- ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:extension_to_decryptor_msg.ciphertext_client_public_key)
- }
- // repeated .ciphertext_data fields = 2;
- inline int extension_to_decryptor_msg::fields_size() const {
- return fields_.size();
- }
- inline void extension_to_decryptor_msg::clear_fields() {
- fields_.Clear();
- }
- inline const ::ciphertext_data& extension_to_decryptor_msg::fields(int index) const {
- // @@protoc_insertion_point(field_get:extension_to_decryptor_msg.fields)
- return fields_.Get(index);
- }
- inline ::ciphertext_data* extension_to_decryptor_msg::mutable_fields(int index) {
- // @@protoc_insertion_point(field_mutable:extension_to_decryptor_msg.fields)
- return fields_.Mutable(index);
- }
- inline ::ciphertext_data* extension_to_decryptor_msg::add_fields() {
- // @@protoc_insertion_point(field_add:extension_to_decryptor_msg.fields)
- return fields_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
- extension_to_decryptor_msg::fields() const {
- // @@protoc_insertion_point(field_list:extension_to_decryptor_msg.fields)
- return fields_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
- extension_to_decryptor_msg::mutable_fields() {
- // @@protoc_insertion_point(field_mutable_list:extension_to_decryptor_msg.fields)
- return &fields_;
- }
- // -------------------------------------------------------------------
- // decryptor_to_extension_msg
- // repeated .ciphertext_data fields = 1;
- inline int decryptor_to_extension_msg::fields_size() const {
- return fields_.size();
- }
- inline void decryptor_to_extension_msg::clear_fields() {
- fields_.Clear();
- }
- inline const ::ciphertext_data& decryptor_to_extension_msg::fields(int index) const {
- // @@protoc_insertion_point(field_get:decryptor_to_extension_msg.fields)
- return fields_.Get(index);
- }
- inline ::ciphertext_data* decryptor_to_extension_msg::mutable_fields(int index) {
- // @@protoc_insertion_point(field_mutable:decryptor_to_extension_msg.fields)
- return fields_.Mutable(index);
- }
- inline ::ciphertext_data* decryptor_to_extension_msg::add_fields() {
- // @@protoc_insertion_point(field_add:decryptor_to_extension_msg.fields)
- return fields_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::ciphertext_data >&
- decryptor_to_extension_msg::fields() const {
- // @@protoc_insertion_point(field_list:decryptor_to_extension_msg.fields)
- return fields_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::ciphertext_data >*
- decryptor_to_extension_msg::mutable_fields() {
- // @@protoc_insertion_point(field_mutable_list:decryptor_to_extension_msg.fields)
- return &fields_;
- }
- // -------------------------------------------------------------------
- // mitigator_header
- // required bytes name = 1;
- inline bool mitigator_header::has_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void mitigator_header::set_has_name() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void mitigator_header::clear_has_name() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void mitigator_header::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
- }
- inline const ::std::string& mitigator_header::name() const {
- // @@protoc_insertion_point(field_get:mitigator_header.name)
- return *name_;
- }
- inline void mitigator_header::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
- // @@protoc_insertion_point(field_set:mitigator_header.name)
- }
- inline void mitigator_header::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
- // @@protoc_insertion_point(field_set_char:mitigator_header.name)
- }
- inline void mitigator_header::set_name(const void* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:mitigator_header.name)
- }
- inline ::std::string* mitigator_header::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:mitigator_header.name)
- return name_;
- }
- inline ::std::string* mitigator_header::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
- }
- inline void mitigator_header::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
- } else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:mitigator_header.name)
- }
- // required bytes value = 2;
- inline bool mitigator_header::has_value() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void mitigator_header::set_has_value() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void mitigator_header::clear_has_value() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void mitigator_header::clear_value() {
- if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_->clear();
- }
- clear_has_value();
- }
- inline const ::std::string& mitigator_header::value() const {
- // @@protoc_insertion_point(field_get:mitigator_header.value)
- return *value_;
- }
- inline void mitigator_header::set_value(const ::std::string& value) {
- set_has_value();
- if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_ = new ::std::string;
- }
- value_->assign(value);
- // @@protoc_insertion_point(field_set:mitigator_header.value)
- }
- inline void mitigator_header::set_value(const char* value) {
- set_has_value();
- if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_ = new ::std::string;
- }
- value_->assign(value);
- // @@protoc_insertion_point(field_set_char:mitigator_header.value)
- }
- inline void mitigator_header::set_value(const void* value, size_t size) {
- set_has_value();
- if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_ = new ::std::string;
- }
- value_->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:mitigator_header.value)
- }
- inline ::std::string* mitigator_header::mutable_value() {
- set_has_value();
- if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_ = new ::std::string;
- }
- // @@protoc_insertion_point(field_mutable:mitigator_header.value)
- return value_;
- }
- inline ::std::string* mitigator_header::release_value() {
- clear_has_value();
- if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = value_;
- value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
- }
- inline void mitigator_header::set_allocated_value(::std::string* value) {
- if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete value_;
- }
- if (value) {
- set_has_value();
- value_ = value;
- } else {
- clear_has_value();
- value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- // @@protoc_insertion_point(field_set_allocated:mitigator_header.value)
- }
- // @@protoc_insertion_point(namespace_scope)
- #ifndef SWIG
- namespace google {
- namespace protobuf {
- } // namespace google
- } // namespace protobuf
- #endif // SWIG
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_PostLAMessages_2eproto__INCLUDED
|