// Generated by the protocol buffer compiler. DO NOT EDIT! // source: PostLAMessages.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "PostLAMessages.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace { const ::google::protobuf::Descriptor* ciphertext_data_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* ciphertext_data_reflection_ = NULL; const ::google::protobuf::Descriptor* extension_to_decryptor_msg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* extension_to_decryptor_msg_reflection_ = NULL; const ::google::protobuf::Descriptor* decryptor_to_extension_msg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* decryptor_to_extension_msg_reflection_ = NULL; const ::google::protobuf::Descriptor* mitigator_header_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* mitigator_header_reflection_ = NULL; } // namespace void protobuf_AssignDesc_PostLAMessages_2eproto() { protobuf_AddDesc_PostLAMessages_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "PostLAMessages.proto"); GOOGLE_CHECK(file != NULL); ciphertext_data_descriptor_ = file->message_type(0); static const int ciphertext_data_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, field_), }; ciphertext_data_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( ciphertext_data_descriptor_, ciphertext_data::default_instance_, ciphertext_data_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ciphertext_data)); extension_to_decryptor_msg_descriptor_ = file->message_type(1); static const int extension_to_decryptor_msg_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, ciphertext_client_public_key_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, fields_), }; extension_to_decryptor_msg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( extension_to_decryptor_msg_descriptor_, extension_to_decryptor_msg::default_instance_, extension_to_decryptor_msg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(extension_to_decryptor_msg)); decryptor_to_extension_msg_descriptor_ = file->message_type(2); static const int decryptor_to_extension_msg_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, fields_), }; decryptor_to_extension_msg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( decryptor_to_extension_msg_descriptor_, decryptor_to_extension_msg::default_instance_, decryptor_to_extension_msg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(decryptor_to_extension_msg)); mitigator_header_descriptor_ = file->message_type(3); static const int mitigator_header_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, value_), }; mitigator_header_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( mitigator_header_descriptor_, mitigator_header::default_instance_, mitigator_header_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(mitigator_header)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_PostLAMessages_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( ciphertext_data_descriptor_, &ciphertext_data::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( extension_to_decryptor_msg_descriptor_, &extension_to_decryptor_msg::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( decryptor_to_extension_msg_descriptor_, &decryptor_to_extension_msg::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( mitigator_header_descriptor_, &mitigator_header::default_instance()); } } // namespace void protobuf_ShutdownFile_PostLAMessages_2eproto() { delete ciphertext_data::default_instance_; delete ciphertext_data_reflection_; delete extension_to_decryptor_msg::default_instance_; delete extension_to_decryptor_msg_reflection_; delete decryptor_to_extension_msg::default_instance_; delete decryptor_to_extension_msg_reflection_; delete mitigator_header::default_instance_; delete mitigator_header_reflection_; } void protobuf_AddDesc_PostLAMessages_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\024PostLAMessages.proto\" \n\017ciphertext_dat" "a\022\r\n\005field\030\001 \002(\014\"d\n\032extension_to_decrypt" "or_msg\022$\n\034ciphertext_client_public_key\030\001" " \002(\014\022 \n\006fields\030\002 \003(\0132\020.ciphertext_data\">" "\n\032decryptor_to_extension_msg\022 \n\006fields\030\001" " \003(\0132\020.ciphertext_data\"/\n\020mitigator_head" "er\022\014\n\004name\030\001 \002(\014\022\r\n\005value\030\002 \002(\014", 271); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "PostLAMessages.proto", &protobuf_RegisterTypes); ciphertext_data::default_instance_ = new ciphertext_data(); extension_to_decryptor_msg::default_instance_ = new extension_to_decryptor_msg(); decryptor_to_extension_msg::default_instance_ = new decryptor_to_extension_msg(); mitigator_header::default_instance_ = new mitigator_header(); ciphertext_data::default_instance_->InitAsDefaultInstance(); extension_to_decryptor_msg::default_instance_->InitAsDefaultInstance(); decryptor_to_extension_msg::default_instance_->InitAsDefaultInstance(); mitigator_header::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_PostLAMessages_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_PostLAMessages_2eproto { StaticDescriptorInitializer_PostLAMessages_2eproto() { protobuf_AddDesc_PostLAMessages_2eproto(); } } static_descriptor_initializer_PostLAMessages_2eproto_; // =================================================================== #ifndef _MSC_VER const int ciphertext_data::kFieldFieldNumber; #endif // !_MSC_VER ciphertext_data::ciphertext_data() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:ciphertext_data) } void ciphertext_data::InitAsDefaultInstance() { } ciphertext_data::ciphertext_data(const ciphertext_data& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:ciphertext_data) } void ciphertext_data::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ciphertext_data::~ciphertext_data() { // @@protoc_insertion_point(destructor:ciphertext_data) SharedDtor(); } void ciphertext_data::SharedDtor() { if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete field_; } if (this != default_instance_) { } } void ciphertext_data::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* ciphertext_data::descriptor() { protobuf_AssignDescriptorsOnce(); return ciphertext_data_descriptor_; } const ciphertext_data& ciphertext_data::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto(); return *default_instance_; } ciphertext_data* ciphertext_data::default_instance_ = NULL; ciphertext_data* ciphertext_data::New() const { return new ciphertext_data; } void ciphertext_data::Clear() { if (has_field()) { if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { field_->clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool ciphertext_data::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:ciphertext_data) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes field = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_field())); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:ciphertext_data) return true; failure: // @@protoc_insertion_point(parse_failure:ciphertext_data) return false; #undef DO_ } void ciphertext_data::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:ciphertext_data) // required bytes field = 1; if (has_field()) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->field(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:ciphertext_data) } ::google::protobuf::uint8* ciphertext_data::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:ciphertext_data) // required bytes field = 1; if (has_field()) { target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( 1, this->field(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:ciphertext_data) return target; } int ciphertext_data::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes field = 1; if (has_field()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->field()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void ciphertext_data::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const ciphertext_data* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void ciphertext_data::MergeFrom(const ciphertext_data& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_field()) { set_field(from.field()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void ciphertext_data::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void ciphertext_data::CopyFrom(const ciphertext_data& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool ciphertext_data::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void ciphertext_data::Swap(ciphertext_data* other) { if (other != this) { std::swap(field_, other->field_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata ciphertext_data::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = ciphertext_data_descriptor_; metadata.reflection = ciphertext_data_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int extension_to_decryptor_msg::kCiphertextClientPublicKeyFieldNumber; const int extension_to_decryptor_msg::kFieldsFieldNumber; #endif // !_MSC_VER extension_to_decryptor_msg::extension_to_decryptor_msg() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:extension_to_decryptor_msg) } void extension_to_decryptor_msg::InitAsDefaultInstance() { } extension_to_decryptor_msg::extension_to_decryptor_msg(const extension_to_decryptor_msg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_msg) } void extension_to_decryptor_msg::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } extension_to_decryptor_msg::~extension_to_decryptor_msg() { // @@protoc_insertion_point(destructor:extension_to_decryptor_msg) SharedDtor(); } void extension_to_decryptor_msg::SharedDtor() { if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete ciphertext_client_public_key_; } if (this != default_instance_) { } } void extension_to_decryptor_msg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* extension_to_decryptor_msg::descriptor() { protobuf_AssignDescriptorsOnce(); return extension_to_decryptor_msg_descriptor_; } const extension_to_decryptor_msg& extension_to_decryptor_msg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto(); return *default_instance_; } extension_to_decryptor_msg* extension_to_decryptor_msg::default_instance_ = NULL; extension_to_decryptor_msg* extension_to_decryptor_msg::New() const { return new extension_to_decryptor_msg; } void extension_to_decryptor_msg::Clear() { if (has_ciphertext_client_public_key()) { if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ciphertext_client_public_key_->clear(); } } fields_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool extension_to_decryptor_msg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:extension_to_decryptor_msg) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes ciphertext_client_public_key = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_ciphertext_client_public_key())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_fields; break; } // repeated .ciphertext_data fields = 2; case 2: { if (tag == 18) { parse_fields: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_fields())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_fields; if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:extension_to_decryptor_msg) return true; failure: // @@protoc_insertion_point(parse_failure:extension_to_decryptor_msg) return false; #undef DO_ } void extension_to_decryptor_msg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:extension_to_decryptor_msg) // required bytes ciphertext_client_public_key = 1; if (has_ciphertext_client_public_key()) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->ciphertext_client_public_key(), output); } // repeated .ciphertext_data fields = 2; for (int i = 0; i < this->fields_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->fields(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:extension_to_decryptor_msg) } ::google::protobuf::uint8* extension_to_decryptor_msg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_msg) // required bytes ciphertext_client_public_key = 1; if (has_ciphertext_client_public_key()) { target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( 1, this->ciphertext_client_public_key(), target); } // repeated .ciphertext_data fields = 2; for (int i = 0; i < this->fields_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->fields(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_msg) return target; } int extension_to_decryptor_msg::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes ciphertext_client_public_key = 1; if (has_ciphertext_client_public_key()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->ciphertext_client_public_key()); } } // repeated .ciphertext_data fields = 2; total_size += 1 * this->fields_size(); for (int i = 0; i < this->fields_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->fields(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void extension_to_decryptor_msg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const extension_to_decryptor_msg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void extension_to_decryptor_msg::MergeFrom(const extension_to_decryptor_msg& from) { GOOGLE_CHECK_NE(&from, this); fields_.MergeFrom(from.fields_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_ciphertext_client_public_key()) { set_ciphertext_client_public_key(from.ciphertext_client_public_key()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void extension_to_decryptor_msg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void extension_to_decryptor_msg::CopyFrom(const extension_to_decryptor_msg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool extension_to_decryptor_msg::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; if (!::google::protobuf::internal::AllAreInitialized(this->fields())) return false; return true; } void extension_to_decryptor_msg::Swap(extension_to_decryptor_msg* other) { if (other != this) { std::swap(ciphertext_client_public_key_, other->ciphertext_client_public_key_); fields_.Swap(&other->fields_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata extension_to_decryptor_msg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = extension_to_decryptor_msg_descriptor_; metadata.reflection = extension_to_decryptor_msg_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int decryptor_to_extension_msg::kFieldsFieldNumber; #endif // !_MSC_VER decryptor_to_extension_msg::decryptor_to_extension_msg() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:decryptor_to_extension_msg) } void decryptor_to_extension_msg::InitAsDefaultInstance() { } decryptor_to_extension_msg::decryptor_to_extension_msg(const decryptor_to_extension_msg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:decryptor_to_extension_msg) } void decryptor_to_extension_msg::SharedCtor() { _cached_size_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } decryptor_to_extension_msg::~decryptor_to_extension_msg() { // @@protoc_insertion_point(destructor:decryptor_to_extension_msg) SharedDtor(); } void decryptor_to_extension_msg::SharedDtor() { if (this != default_instance_) { } } void decryptor_to_extension_msg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* decryptor_to_extension_msg::descriptor() { protobuf_AssignDescriptorsOnce(); return decryptor_to_extension_msg_descriptor_; } const decryptor_to_extension_msg& decryptor_to_extension_msg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto(); return *default_instance_; } decryptor_to_extension_msg* decryptor_to_extension_msg::default_instance_ = NULL; decryptor_to_extension_msg* decryptor_to_extension_msg::New() const { return new decryptor_to_extension_msg; } void decryptor_to_extension_msg::Clear() { fields_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool decryptor_to_extension_msg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:decryptor_to_extension_msg) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .ciphertext_data fields = 1; case 1: { if (tag == 10) { parse_fields: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_fields())); } else { goto handle_unusual; } if (input->ExpectTag(10)) goto parse_fields; if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg) return true; failure: // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg) return false; #undef DO_ } void decryptor_to_extension_msg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:decryptor_to_extension_msg) // repeated .ciphertext_data fields = 1; for (int i = 0; i < this->fields_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->fields(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:decryptor_to_extension_msg) } ::google::protobuf::uint8* decryptor_to_extension_msg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:decryptor_to_extension_msg) // repeated .ciphertext_data fields = 1; for (int i = 0; i < this->fields_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 1, this->fields(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg) return target; } int decryptor_to_extension_msg::ByteSize() const { int total_size = 0; // repeated .ciphertext_data fields = 1; total_size += 1 * this->fields_size(); for (int i = 0; i < this->fields_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->fields(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void decryptor_to_extension_msg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const decryptor_to_extension_msg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void decryptor_to_extension_msg::MergeFrom(const decryptor_to_extension_msg& from) { GOOGLE_CHECK_NE(&from, this); fields_.MergeFrom(from.fields_); mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void decryptor_to_extension_msg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void decryptor_to_extension_msg::CopyFrom(const decryptor_to_extension_msg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool decryptor_to_extension_msg::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->fields())) return false; return true; } void decryptor_to_extension_msg::Swap(decryptor_to_extension_msg* other) { if (other != this) { fields_.Swap(&other->fields_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata decryptor_to_extension_msg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = decryptor_to_extension_msg_descriptor_; metadata.reflection = decryptor_to_extension_msg_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int mitigator_header::kNameFieldNumber; const int mitigator_header::kValueFieldNumber; #endif // !_MSC_VER mitigator_header::mitigator_header() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:mitigator_header) } void mitigator_header::InitAsDefaultInstance() { } mitigator_header::mitigator_header(const mitigator_header& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:mitigator_header) } void mitigator_header::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } mitigator_header::~mitigator_header() { // @@protoc_insertion_point(destructor:mitigator_header) SharedDtor(); } void mitigator_header::SharedDtor() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete value_; } if (this != default_instance_) { } } void mitigator_header::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* mitigator_header::descriptor() { protobuf_AssignDescriptorsOnce(); return mitigator_header_descriptor_; } const mitigator_header& mitigator_header::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto(); return *default_instance_; } mitigator_header* mitigator_header::default_instance_ = NULL; mitigator_header* mitigator_header::New() const { return new mitigator_header; } void mitigator_header::Clear() { if (_has_bits_[0 / 32] & 3) { if (has_name()) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } } if (has_value()) { if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool mitigator_header::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:mitigator_header) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required bytes name = 1; case 1: { if (tag == 10) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_name())); } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_value; break; } // required bytes value = 2; case 2: { if (tag == 18) { parse_value: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_value())); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:mitigator_header) return true; failure: // @@protoc_insertion_point(parse_failure:mitigator_header) return false; #undef DO_ } void mitigator_header::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:mitigator_header) // required bytes name = 1; if (has_name()) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 1, this->name(), output); } // required bytes value = 2; if (has_value()) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 2, this->value(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:mitigator_header) } ::google::protobuf::uint8* mitigator_header::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:mitigator_header) // required bytes name = 1; if (has_name()) { target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( 1, this->name(), target); } // required bytes value = 2; if (has_value()) { target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( 2, this->value(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:mitigator_header) return target; } int mitigator_header::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes name = 1; if (has_name()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->name()); } // required bytes value = 2; if (has_value()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->value()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void mitigator_header::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const mitigator_header* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void mitigator_header::MergeFrom(const mitigator_header& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_name()) { set_name(from.name()); } if (from.has_value()) { set_value(from.value()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void mitigator_header::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void mitigator_header::CopyFrom(const mitigator_header& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool mitigator_header::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void mitigator_header::Swap(mitigator_header* other) { if (other != this) { std::swap(name_, other->name_); std::swap(value_, other->value_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata mitigator_header::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = mitigator_header_descriptor_; metadata.reflection = mitigator_header_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(global_scope)