|
@@ -1,1171 +1,1181 @@
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
// source: PostLAMessages.proto
|
|
|
|
|
|
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
|
#include "PostLAMessages.pb.h"
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
+#include <google/protobuf/stubs/common.h>
|
|
|
+#include <google/protobuf/stubs/once.h>
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
-#include <google/protobuf/extension_set.h>
|
|
|
-#include <google/protobuf/wire_format_lite.h>
|
|
|
+#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
#include <google/protobuf/descriptor.h>
|
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
|
#include <google/protobuf/reflection_ops.h>
|
|
|
#include <google/protobuf/wire_format.h>
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
-#include <google/protobuf/port_def.inc>
|
|
|
-extern PROTOBUF_INTERNAL_EXPORT_PostLAMessages_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto;
|
|
|
-class ciphertext_client_data_fieldDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ciphertext_client_data_field> _instance;
|
|
|
-} _ciphertext_client_data_field_default_instance_;
|
|
|
-class extension_to_decryptor_enclosed_msgDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_enclosed_msg> _instance;
|
|
|
-} _extension_to_decryptor_enclosed_msg_default_instance_;
|
|
|
-class extension_to_decryptor_ciphertext_msgDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_ciphertext_msg> _instance;
|
|
|
-} _extension_to_decryptor_ciphertext_msg_default_instance_;
|
|
|
-class decryptor_to_extension_msg_tDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<decryptor_to_extension_msg_t> _instance;
|
|
|
-} _decryptor_to_extension_msg_t_default_instance_;
|
|
|
-static void InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::_ciphertext_client_data_field_default_instance_;
|
|
|
- new (ptr) ::ciphertext_client_data_field();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::ciphertext_client_data_field::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto =
|
|
|
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto}, {}};
|
|
|
|
|
|
-static void InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto() {
|
|
|
+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;
|
|
|
|
|
|
- {
|
|
|
- void* ptr = &::_decryptor_to_extension_msg_t_default_instance_;
|
|
|
- new (ptr) ::decryptor_to_extension_msg_t();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ ::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();
|
|
|
}
|
|
|
- ::decryptor_to_extension_msg_t::InitAsDefaultInstance();
|
|
|
-}
|
|
|
+} static_descriptor_initializer_PostLAMessages_2eproto_;
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto =
|
|
|
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto}, {
|
|
|
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
|
|
|
+// ===================================================================
|
|
|
|
|
|
-static void InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+#ifndef _MSC_VER
|
|
|
+const int ciphertext_data::kFieldFieldNumber;
|
|
|
+#endif // !_MSC_VER
|
|
|
|
|
|
- {
|
|
|
- void* ptr = &::_extension_to_decryptor_ciphertext_msg_default_instance_;
|
|
|
- new (ptr) ::extension_to_decryptor_ciphertext_msg();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance();
|
|
|
+ciphertext_data::ciphertext_data()
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:ciphertext_data)
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto =
|
|
|
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto}, {}};
|
|
|
-
|
|
|
-static void InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::_extension_to_decryptor_enclosed_msg_default_instance_;
|
|
|
- new (ptr) ::extension_to_decryptor_enclosed_msg();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::extension_to_decryptor_enclosed_msg::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto =
|
|
|
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto}, {
|
|
|
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
|
|
|
-
|
|
|
-static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_PostLAMessages_2eproto[4];
|
|
|
-static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_PostLAMessages_2eproto = nullptr;
|
|
|
-static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_PostLAMessages_2eproto = nullptr;
|
|
|
-
|
|
|
-const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_PostLAMessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- ~0u, // no _has_bits_
|
|
|
- PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, bytes_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_client_public_key_),
|
|
|
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_fields_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, bytes_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, ciphertext_fields_),
|
|
|
-};
|
|
|
-static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { 0, -1, sizeof(::ciphertext_client_data_field)},
|
|
|
- { 6, -1, sizeof(::extension_to_decryptor_enclosed_msg)},
|
|
|
- { 13, -1, sizeof(::extension_to_decryptor_ciphertext_msg)},
|
|
|
- { 19, -1, sizeof(::decryptor_to_extension_msg_t)},
|
|
|
-};
|
|
|
-
|
|
|
-static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
|
|
|
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_ciphertext_client_data_field_default_instance_),
|
|
|
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_enclosed_msg_default_instance_),
|
|
|
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_ciphertext_msg_default_instance_),
|
|
|
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_decryptor_to_extension_msg_t_default_instance_),
|
|
|
-};
|
|
|
-
|
|
|
-const char descriptor_table_protodef_PostLAMessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
|
|
- "\n\024PostLAMessages.proto\"-\n\034ciphertext_cli"
|
|
|
- "ent_data_field\022\r\n\005bytes\030\001 \003(\014\"\205\001\n#extens"
|
|
|
- "ion_to_decryptor_enclosed_msg\022$\n\034ciphert"
|
|
|
- "ext_client_public_key\030\001 \003(\014\0228\n\021ciphertex"
|
|
|
- "t_fields\030\002 \003(\0132\035.ciphertext_client_data_"
|
|
|
- "field\"6\n%extension_to_decryptor_cipherte"
|
|
|
- "xt_msg\022\r\n\005bytes\030\001 \003(\014\"X\n\034decryptor_to_ex"
|
|
|
- "tension_msg_t\0228\n\021ciphertext_fields\030\001 \003(\013"
|
|
|
- "2\035.ciphertext_client_data_fieldb\006proto3"
|
|
|
- ;
|
|
|
-static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_PostLAMessages_2eproto_deps[1] = {
|
|
|
-};
|
|
|
-static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_PostLAMessages_2eproto_sccs[4] = {
|
|
|
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,
|
|
|
- &scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base,
|
|
|
- &scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base,
|
|
|
- &scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base,
|
|
|
-};
|
|
|
-static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_PostLAMessages_2eproto_once;
|
|
|
-static bool descriptor_table_PostLAMessages_2eproto_initialized = false;
|
|
|
-const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_PostLAMessages_2eproto = {
|
|
|
- &descriptor_table_PostLAMessages_2eproto_initialized, descriptor_table_protodef_PostLAMessages_2eproto, "PostLAMessages.proto", 359,
|
|
|
- &descriptor_table_PostLAMessages_2eproto_once, descriptor_table_PostLAMessages_2eproto_sccs, descriptor_table_PostLAMessages_2eproto_deps, 4, 0,
|
|
|
- schemas, file_default_instances, TableStruct_PostLAMessages_2eproto::offsets,
|
|
|
- file_level_metadata_PostLAMessages_2eproto, 4, file_level_enum_descriptors_PostLAMessages_2eproto, file_level_service_descriptors_PostLAMessages_2eproto,
|
|
|
-};
|
|
|
-
|
|
|
-// Force running AddDescriptors() at dynamic initialization time.
|
|
|
-static bool dynamic_init_dummy_PostLAMessages_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_PostLAMessages_2eproto), true);
|
|
|
-
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void ciphertext_client_data_field::InitAsDefaultInstance() {
|
|
|
+void ciphertext_data::InitAsDefaultInstance() {
|
|
|
}
|
|
|
-class ciphertext_client_data_field::_Internal {
|
|
|
- public:
|
|
|
-};
|
|
|
|
|
|
-ciphertext_client_data_field::ciphertext_client_data_field()
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
|
|
|
+ciphertext_data::ciphertext_data(const ciphertext_data& from)
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:ciphertext_client_data_field)
|
|
|
-}
|
|
|
-ciphertext_client_data_field::ciphertext_client_data_field(const ciphertext_client_data_field& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
- _internal_metadata_(nullptr),
|
|
|
- bytes_(from.bytes_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- // @@protoc_insertion_point(copy_constructor:ciphertext_client_data_field)
|
|
|
+ MergeFrom(from);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:ciphertext_data)
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
|
|
|
+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_client_data_field::~ciphertext_client_data_field() {
|
|
|
- // @@protoc_insertion_point(destructor:ciphertext_client_data_field)
|
|
|
+ciphertext_data::~ciphertext_data() {
|
|
|
+ // @@protoc_insertion_point(destructor:ciphertext_data)
|
|
|
SharedDtor();
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::SharedDtor() {
|
|
|
+void ciphertext_data::SharedDtor() {
|
|
|
+ if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
+ delete field_;
|
|
|
+ }
|
|
|
+ if (this != default_instance_) {
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
+void ciphertext_data::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
}
|
|
|
-const ciphertext_client_data_field& ciphertext_client_data_field::default_instance() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
|
|
|
- return *internal_default_instance();
|
|
|
+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_;
|
|
|
+}
|
|
|
|
|
|
-void ciphertext_client_data_field::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:ciphertext_client_data_field)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+ciphertext_data* ciphertext_data::default_instance_ = NULL;
|
|
|
|
|
|
- bytes_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
+ciphertext_data* ciphertext_data::New() const {
|
|
|
+ return new ciphertext_data;
|
|
|
}
|
|
|
|
|
|
-#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-const char* ciphertext_client_data_field::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
- while (!ctx->Done(&ptr)) {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
- CHK_(ptr);
|
|
|
- switch (tag >> 3) {
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- case 1:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
- ptr -= 1;
|
|
|
- do {
|
|
|
- ptr += 1;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
|
|
|
- CHK_(ptr);
|
|
|
- if (!ctx->DataAvailable(ptr)) break;
|
|
|
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
|
|
|
- } else goto handle_unusual;
|
|
|
- continue;
|
|
|
- default: {
|
|
|
- handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
- goto success;
|
|
|
- }
|
|
|
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
- }
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
-success:
|
|
|
- return ptr;
|
|
|
-failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
-}
|
|
|
-#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-bool ciphertext_client_data_field::MergePartialFromCodedStream(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
|
|
|
-#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- // @@protoc_insertion_point(parse_start:ciphertext_client_data_field)
|
|
|
+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<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
|
tag = p.first;
|
|
|
if (!p.second) goto handle_unusual;
|
|
|
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // repeated bytes bytes = 1;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // required bytes field = 1;
|
|
|
case 1: {
|
|
|
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
|
|
|
- input, this->add_bytes()));
|
|
|
+ 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) {
|
|
|
+ if (tag == 0 ||
|
|
|
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, mutable_unknown_fields()));
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:ciphertext_client_data_field)
|
|
|
+ // @@protoc_insertion_point(parse_success:ciphertext_data)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:ciphertext_client_data_field)
|
|
|
+ // @@protoc_insertion_point(parse_failure:ciphertext_data)
|
|
|
return false;
|
|
|
#undef DO_
|
|
|
}
|
|
|
-#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* ciphertext_client_data_field::InternalSerializeWithCachedSizesToArray(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:ciphertext_client_data_field)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
+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)
|
|
|
+}
|
|
|
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- for (auto it = this->bytes().pointer_begin(),
|
|
|
- end = this->bytes().pointer_end(); it < end; ++it) {
|
|
|
- const auto& s = **it;
|
|
|
- target = stream->WriteBytes(1, s, target);
|
|
|
+::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 (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target, stream);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ unknown_fields(), target);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:ciphertext_client_data_field)
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:ciphertext_data)
|
|
|
return target;
|
|
|
}
|
|
|
|
|
|
-size_t ciphertext_client_data_field::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:ciphertext_client_data_field)
|
|
|
- size_t total_size = 0;
|
|
|
+int ciphertext_data::ByteSize() const {
|
|
|
+ int total_size = 0;
|
|
|
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+ 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());
|
|
|
+ }
|
|
|
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- total_size += 1 *
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
|
|
|
- for (int i = 0, n = this->bytes_size(); i < n; i++) {
|
|
|
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
|
|
- this->bytes(i));
|
|
|
}
|
|
|
-
|
|
|
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_, total_size, &_cached_size_);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ unknown_fields());
|
|
|
}
|
|
|
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = total_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:ciphertext_client_data_field)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const ciphertext_client_data_field* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ciphertext_client_data_field>(
|
|
|
- &from);
|
|
|
- if (source == nullptr) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:ciphertext_client_data_field)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+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<const ciphertext_data*>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:ciphertext_client_data_field)
|
|
|
MergeFrom(*source);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::MergeFrom(const ciphertext_client_data_field& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:ciphertext_client_data_field)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- bytes_.MergeFrom(from.bytes_);
|
|
|
+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_client_data_field::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:ciphertext_client_data_field)
|
|
|
+void ciphertext_data::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::CopyFrom(const ciphertext_client_data_field& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:ciphertext_client_data_field)
|
|
|
+void ciphertext_data::CopyFrom(const ciphertext_data& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-bool ciphertext_client_data_field::IsInitialized() const {
|
|
|
+bool ciphertext_data::IsInitialized() const {
|
|
|
+ if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-void ciphertext_client_data_field::InternalSwap(ciphertext_client_data_field* other) {
|
|
|
- using std::swap;
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- bytes_.InternalSwap(CastToBase(&other->bytes_));
|
|
|
+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_);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata ciphertext_client_data_field::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::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;
|
|
|
}
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
-void extension_to_decryptor_enclosed_msg::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-class extension_to_decryptor_enclosed_msg::_Internal {
|
|
|
- public:
|
|
|
-};
|
|
|
+#ifndef _MSC_VER
|
|
|
+const int extension_to_decryptor_msg::kCiphertextClientPublicKeyFieldNumber;
|
|
|
+const int extension_to_decryptor_msg::kFieldsFieldNumber;
|
|
|
+#endif // !_MSC_VER
|
|
|
|
|
|
-extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg()
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
|
|
|
+extension_to_decryptor_msg::extension_to_decryptor_msg()
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:extension_to_decryptor_enclosed_msg)
|
|
|
+ // @@protoc_insertion_point(constructor:extension_to_decryptor_msg)
|
|
|
+}
|
|
|
+
|
|
|
+void extension_to_decryptor_msg::InitAsDefaultInstance() {
|
|
|
}
|
|
|
-extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg(const extension_to_decryptor_enclosed_msg& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
- _internal_metadata_(nullptr),
|
|
|
- ciphertext_client_public_key_(from.ciphertext_client_public_key_),
|
|
|
- ciphertext_fields_(from.ciphertext_fields_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_enclosed_msg)
|
|
|
+
|
|
|
+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_enclosed_msg::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
|
|
|
+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_enclosed_msg::~extension_to_decryptor_enclosed_msg() {
|
|
|
- // @@protoc_insertion_point(destructor:extension_to_decryptor_enclosed_msg)
|
|
|
+extension_to_decryptor_msg::~extension_to_decryptor_msg() {
|
|
|
+ // @@protoc_insertion_point(destructor:extension_to_decryptor_msg)
|
|
|
SharedDtor();
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_enclosed_msg::SharedDtor() {
|
|
|
-}
|
|
|
-
|
|
|
-void extension_to_decryptor_enclosed_msg::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
-}
|
|
|
-const extension_to_decryptor_enclosed_msg& extension_to_decryptor_enclosed_msg::default_instance() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-void extension_to_decryptor_enclosed_msg::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:extension_to_decryptor_enclosed_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- ciphertext_client_public_key_.Clear();
|
|
|
- ciphertext_fields_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-const char* extension_to_decryptor_enclosed_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
- while (!ctx->Done(&ptr)) {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
- CHK_(ptr);
|
|
|
- switch (tag >> 3) {
|
|
|
- // repeated bytes ciphertext_client_public_key = 1;
|
|
|
- case 1:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
- ptr -= 1;
|
|
|
- do {
|
|
|
- ptr += 1;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_ciphertext_client_public_key(), ptr, ctx);
|
|
|
- CHK_(ptr);
|
|
|
- if (!ctx->DataAvailable(ptr)) break;
|
|
|
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
|
|
|
- } else goto handle_unusual;
|
|
|
- continue;
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
|
|
|
- case 2:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
|
|
|
- ptr -= 1;
|
|
|
- do {
|
|
|
- ptr += 1;
|
|
|
- ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
|
|
|
- CHK_(ptr);
|
|
|
- if (!ctx->DataAvailable(ptr)) break;
|
|
|
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 18);
|
|
|
- } else goto handle_unusual;
|
|
|
- continue;
|
|
|
- default: {
|
|
|
- handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
- goto success;
|
|
|
- }
|
|
|
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
- }
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
-success:
|
|
|
- return ptr;
|
|
|
-failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
-}
|
|
|
-#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-bool extension_to_decryptor_enclosed_msg::MergePartialFromCodedStream(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
|
|
|
-#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- // @@protoc_insertion_point(parse_start:extension_to_decryptor_enclosed_msg)
|
|
|
+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<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
|
tag = p.first;
|
|
|
if (!p.second) goto handle_unusual;
|
|
|
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // repeated bytes ciphertext_client_public_key = 1;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // required bytes ciphertext_client_public_key = 1;
|
|
|
case 1: {
|
|
|
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
|
|
|
- input, this->add_ciphertext_client_public_key()));
|
|
|
+ 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_client_data_field ciphertext_fields = 2;
|
|
|
+ // repeated .ciphertext_data fields = 2;
|
|
|
case 2: {
|
|
|
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
|
|
|
- input, add_ciphertext_fields()));
|
|
|
+ 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) {
|
|
|
+ if (tag == 0 ||
|
|
|
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, mutable_unknown_fields()));
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:extension_to_decryptor_enclosed_msg)
|
|
|
+ // @@protoc_insertion_point(parse_success:extension_to_decryptor_msg)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:extension_to_decryptor_enclosed_msg)
|
|
|
+ // @@protoc_insertion_point(parse_failure:extension_to_decryptor_msg)
|
|
|
return false;
|
|
|
#undef DO_
|
|
|
}
|
|
|
-#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_enclosed_msg::InternalSerializeWithCachedSizesToArray(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_enclosed_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
|
|
|
- // repeated bytes ciphertext_client_public_key = 1;
|
|
|
- for (auto it = this->ciphertext_client_public_key().pointer_begin(),
|
|
|
- end = this->ciphertext_client_public_key().pointer_end(); it < end; ++it) {
|
|
|
- const auto& s = **it;
|
|
|
- target = stream->WriteBytes(1, s, target);
|
|
|
+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_client_data_field ciphertext_fields = 2;
|
|
|
- for (auto it = this->ciphertext_fields().pointer_begin(),
|
|
|
- end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
|
|
|
- stream->EnsureSpace(&target);
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
|
|
- InternalWriteMessageToArray(2, **it, target, stream);
|
|
|
+ // 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 (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target, stream);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ unknown_fields(), output);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_enclosed_msg)
|
|
|
- return target;
|
|
|
+ // @@protoc_insertion_point(serialize_end:extension_to_decryptor_msg)
|
|
|
}
|
|
|
|
|
|
-size_t extension_to_decryptor_enclosed_msg::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_enclosed_msg)
|
|
|
- size_t total_size = 0;
|
|
|
+::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);
|
|
|
+ }
|
|
|
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+ // 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);
|
|
|
+ }
|
|
|
|
|
|
- // repeated bytes ciphertext_client_public_key = 1;
|
|
|
- total_size += 1 *
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->ciphertext_client_public_key_size());
|
|
|
- for (int i = 0, n = this->ciphertext_client_public_key_size(); i < n; i++) {
|
|
|
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
|
|
- this->ciphertext_client_public_key(i));
|
|
|
+ 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;
|
|
|
+}
|
|
|
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
|
|
|
- {
|
|
|
- unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
|
|
|
- total_size += 1UL * count;
|
|
|
- for (unsigned int i = 0; i < count; i++) {
|
|
|
- total_size +=
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
|
|
- this->ciphertext_fields(static_cast<int>(i)));
|
|
|
+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 (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_, total_size, &_cached_size_);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ unknown_fields());
|
|
|
}
|
|
|
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = total_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_enclosed_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_enclosed_msg)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const extension_to_decryptor_enclosed_msg* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_enclosed_msg>(
|
|
|
- &from);
|
|
|
- if (source == nullptr) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_enclosed_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+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<const extension_to_decryptor_msg*>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_enclosed_msg)
|
|
|
MergeFrom(*source);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_enclosed_msg::MergeFrom(const extension_to_decryptor_enclosed_msg& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_enclosed_msg)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- ciphertext_client_public_key_.MergeFrom(from.ciphertext_client_public_key_);
|
|
|
- ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
|
|
|
+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_enclosed_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_enclosed_msg)
|
|
|
+void extension_to_decryptor_msg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_enclosed_msg::CopyFrom(const extension_to_decryptor_enclosed_msg& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_enclosed_msg)
|
|
|
+void extension_to_decryptor_msg::CopyFrom(const extension_to_decryptor_msg& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-bool extension_to_decryptor_enclosed_msg::IsInitialized() const {
|
|
|
+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_enclosed_msg::InternalSwap(extension_to_decryptor_enclosed_msg* other) {
|
|
|
- using std::swap;
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- ciphertext_client_public_key_.InternalSwap(CastToBase(&other->ciphertext_client_public_key_));
|
|
|
- CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
|
|
|
+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_);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_enclosed_msg::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::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;
|
|
|
}
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-class extension_to_decryptor_ciphertext_msg::_Internal {
|
|
|
- public:
|
|
|
-};
|
|
|
+#ifndef _MSC_VER
|
|
|
+const int decryptor_to_extension_msg::kFieldsFieldNumber;
|
|
|
+#endif // !_MSC_VER
|
|
|
|
|
|
-extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg()
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
|
|
|
+decryptor_to_extension_msg::decryptor_to_extension_msg()
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:extension_to_decryptor_ciphertext_msg)
|
|
|
+ // @@protoc_insertion_point(constructor:decryptor_to_extension_msg)
|
|
|
}
|
|
|
-extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg(const extension_to_decryptor_ciphertext_msg& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
- _internal_metadata_(nullptr),
|
|
|
- bytes_(from.bytes_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_ciphertext_msg)
|
|
|
+
|
|
|
+void decryptor_to_extension_msg::InitAsDefaultInstance() {
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
|
|
|
+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)
|
|
|
}
|
|
|
|
|
|
-extension_to_decryptor_ciphertext_msg::~extension_to_decryptor_ciphertext_msg() {
|
|
|
- // @@protoc_insertion_point(destructor:extension_to_decryptor_ciphertext_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 extension_to_decryptor_ciphertext_msg::SharedDtor() {
|
|
|
+void decryptor_to_extension_msg::SharedDtor() {
|
|
|
+ if (this != default_instance_) {
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
+void decryptor_to_extension_msg::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
}
|
|
|
-const extension_to_decryptor_ciphertext_msg& extension_to_decryptor_ciphertext_msg::default_instance() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
|
|
|
- return *internal_default_instance();
|
|
|
+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_;
|
|
|
+}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:extension_to_decryptor_ciphertext_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+decryptor_to_extension_msg* decryptor_to_extension_msg::default_instance_ = NULL;
|
|
|
|
|
|
- bytes_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
+decryptor_to_extension_msg* decryptor_to_extension_msg::New() const {
|
|
|
+ return new decryptor_to_extension_msg;
|
|
|
}
|
|
|
|
|
|
-#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-const char* extension_to_decryptor_ciphertext_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
- while (!ctx->Done(&ptr)) {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
- CHK_(ptr);
|
|
|
- switch (tag >> 3) {
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- case 1:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
- ptr -= 1;
|
|
|
- do {
|
|
|
- ptr += 1;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
|
|
|
- CHK_(ptr);
|
|
|
- if (!ctx->DataAvailable(ptr)) break;
|
|
|
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
|
|
|
- } else goto handle_unusual;
|
|
|
- continue;
|
|
|
- default: {
|
|
|
- handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
- goto success;
|
|
|
- }
|
|
|
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
- }
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
-success:
|
|
|
- return ptr;
|
|
|
-failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
-}
|
|
|
-#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-bool extension_to_decryptor_ciphertext_msg::MergePartialFromCodedStream(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
|
|
|
-#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- // @@protoc_insertion_point(parse_start:extension_to_decryptor_ciphertext_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<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
|
tag = p.first;
|
|
|
if (!p.second) goto handle_unusual;
|
|
|
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // repeated bytes bytes = 1;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // repeated .ciphertext_data fields = 1;
|
|
|
case 1: {
|
|
|
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
|
|
|
- input, this->add_bytes()));
|
|
|
+ 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) {
|
|
|
+ if (tag == 0 ||
|
|
|
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, mutable_unknown_fields()));
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:extension_to_decryptor_ciphertext_msg)
|
|
|
+ // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:extension_to_decryptor_ciphertext_msg)
|
|
|
+ // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg)
|
|
|
return false;
|
|
|
#undef DO_
|
|
|
}
|
|
|
-#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_ciphertext_msg::InternalSerializeWithCachedSizesToArray(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_ciphertext_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
+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)
|
|
|
+}
|
|
|
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- for (auto it = this->bytes().pointer_begin(),
|
|
|
- end = this->bytes().pointer_end(); it < end; ++it) {
|
|
|
- const auto& s = **it;
|
|
|
- target = stream->WriteBytes(1, s, target);
|
|
|
+::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 (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target, stream);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ unknown_fields(), target);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_ciphertext_msg)
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg)
|
|
|
return target;
|
|
|
}
|
|
|
|
|
|
-size_t extension_to_decryptor_ciphertext_msg::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_ciphertext_msg)
|
|
|
- size_t total_size = 0;
|
|
|
-
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+int decryptor_to_extension_msg::ByteSize() const {
|
|
|
+ int total_size = 0;
|
|
|
|
|
|
- // repeated bytes bytes = 1;
|
|
|
- total_size += 1 *
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
|
|
|
- for (int i = 0, n = this->bytes_size(); i < n; i++) {
|
|
|
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
|
|
- this->bytes(i));
|
|
|
+ // 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 (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_, total_size, &_cached_size_);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ unknown_fields());
|
|
|
}
|
|
|
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = total_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_ciphertext_msg)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const extension_to_decryptor_ciphertext_msg* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_ciphertext_msg>(
|
|
|
- &from);
|
|
|
- if (source == nullptr) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_ciphertext_msg)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+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<const decryptor_to_extension_msg*>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_ciphertext_msg)
|
|
|
MergeFrom(*source);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::MergeFrom(const extension_to_decryptor_ciphertext_msg& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_ciphertext_msg)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- bytes_.MergeFrom(from.bytes_);
|
|
|
+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 extension_to_decryptor_ciphertext_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_ciphertext_msg)
|
|
|
+void decryptor_to_extension_msg::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::CopyFrom(const extension_to_decryptor_ciphertext_msg& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_ciphertext_msg)
|
|
|
+void decryptor_to_extension_msg::CopyFrom(const decryptor_to_extension_msg& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-bool extension_to_decryptor_ciphertext_msg::IsInitialized() const {
|
|
|
+bool decryptor_to_extension_msg::IsInitialized() const {
|
|
|
+
|
|
|
+ if (!::google::protobuf::internal::AllAreInitialized(this->fields())) return false;
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-void extension_to_decryptor_ciphertext_msg::InternalSwap(extension_to_decryptor_ciphertext_msg* other) {
|
|
|
- using std::swap;
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- bytes_.InternalSwap(CastToBase(&other->bytes_));
|
|
|
+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_);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_ciphertext_msg::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::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;
|
|
|
}
|
|
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-class decryptor_to_extension_msg_t::_Internal {
|
|
|
- public:
|
|
|
-};
|
|
|
+#ifndef _MSC_VER
|
|
|
+const int mitigator_header::kNameFieldNumber;
|
|
|
+const int mitigator_header::kValueFieldNumber;
|
|
|
+#endif // !_MSC_VER
|
|
|
|
|
|
-decryptor_to_extension_msg_t::decryptor_to_extension_msg_t()
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
|
|
|
+mitigator_header::mitigator_header()
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:decryptor_to_extension_msg_t)
|
|
|
+ // @@protoc_insertion_point(constructor:mitigator_header)
|
|
|
+}
|
|
|
+
|
|
|
+void mitigator_header::InitAsDefaultInstance() {
|
|
|
}
|
|
|
-decryptor_to_extension_msg_t::decryptor_to_extension_msg_t(const decryptor_to_extension_msg_t& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
- _internal_metadata_(nullptr),
|
|
|
- ciphertext_fields_(from.ciphertext_fields_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- // @@protoc_insertion_point(copy_constructor:decryptor_to_extension_msg_t)
|
|
|
+
|
|
|
+mitigator_header::mitigator_header(const mitigator_header& from)
|
|
|
+ : ::google::protobuf::Message() {
|
|
|
+ SharedCtor();
|
|
|
+ MergeFrom(from);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:mitigator_header)
|
|
|
}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
|
|
|
+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_));
|
|
|
}
|
|
|
|
|
|
-decryptor_to_extension_msg_t::~decryptor_to_extension_msg_t() {
|
|
|
- // @@protoc_insertion_point(destructor:decryptor_to_extension_msg_t)
|
|
|
+mitigator_header::~mitigator_header() {
|
|
|
+ // @@protoc_insertion_point(destructor:mitigator_header)
|
|
|
SharedDtor();
|
|
|
}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::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 decryptor_to_extension_msg_t::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
+void mitigator_header::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
}
|
|
|
-const decryptor_to_extension_msg_t& decryptor_to_extension_msg_t::default_instance() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
|
|
|
- return *internal_default_instance();
|
|
|
+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_;
|
|
|
+}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:decryptor_to_extension_msg_t)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+mitigator_header* mitigator_header::default_instance_ = NULL;
|
|
|
|
|
|
- ciphertext_fields_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
+mitigator_header* mitigator_header::New() const {
|
|
|
+ return new mitigator_header;
|
|
|
}
|
|
|
|
|
|
-#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-const char* decryptor_to_extension_msg_t::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
-#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
- while (!ctx->Done(&ptr)) {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
- CHK_(ptr);
|
|
|
- switch (tag >> 3) {
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
|
|
|
- case 1:
|
|
|
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
- ptr -= 1;
|
|
|
- do {
|
|
|
- ptr += 1;
|
|
|
- ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
|
|
|
- CHK_(ptr);
|
|
|
- if (!ctx->DataAvailable(ptr)) break;
|
|
|
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
|
|
|
- } else goto handle_unusual;
|
|
|
- continue;
|
|
|
- default: {
|
|
|
- handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
- goto success;
|
|
|
- }
|
|
|
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
+void mitigator_header::Clear() {
|
|
|
+ if (_has_bits_[0 / 32] & 3) {
|
|
|
+ if (has_name()) {
|
|
|
+ if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
|
|
|
+ name_->clear();
|
|
|
}
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
-success:
|
|
|
- return ptr;
|
|
|
-failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
-}
|
|
|
-#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
-bool decryptor_to_extension_msg_t::MergePartialFromCodedStream(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
|
|
|
-#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
- // @@protoc_insertion_point(parse_start:decryptor_to_extension_msg_t)
|
|
|
+ }
|
|
|
+ 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<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
|
|
|
tag = p.first;
|
|
|
if (!p.second) goto handle_unusual;
|
|
|
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // required bytes name = 1;
|
|
|
case 1: {
|
|
|
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
|
|
|
- input, add_ciphertext_fields()));
|
|
|
+ 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) {
|
|
|
+ if (tag == 0 ||
|
|
|
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, mutable_unknown_fields()));
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg_t)
|
|
|
+ // @@protoc_insertion_point(parse_success:mitigator_header)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg_t)
|
|
|
+ // @@protoc_insertion_point(parse_failure:mitigator_header)
|
|
|
return false;
|
|
|
#undef DO_
|
|
|
}
|
|
|
-#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* decryptor_to_extension_msg_t::InternalSerializeWithCachedSizesToArray(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:decryptor_to_extension_msg_t)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
+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);
|
|
|
+ }
|
|
|
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
|
|
|
- for (auto it = this->ciphertext_fields().pointer_begin(),
|
|
|
- end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
|
|
|
- stream->EnsureSpace(&target);
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
|
|
- InternalWriteMessageToArray(1, **it, target, stream);
|
|
|
+ // required bytes value = 2;
|
|
|
+ if (has_value()) {
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
|
|
|
+ 2, this->value(), target);
|
|
|
}
|
|
|
|
|
|
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target, stream);
|
|
|
+ if (!unknown_fields().empty()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ unknown_fields(), target);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg_t)
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:mitigator_header)
|
|
|
return target;
|
|
|
}
|
|
|
|
|
|
-size_t decryptor_to_extension_msg_t::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:decryptor_to_extension_msg_t)
|
|
|
- size_t total_size = 0;
|
|
|
+int mitigator_header::ByteSize() const {
|
|
|
+ int total_size = 0;
|
|
|
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
+ 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());
|
|
|
+ }
|
|
|
|
|
|
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
|
|
|
- {
|
|
|
- unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
|
|
|
- total_size += 1UL * count;
|
|
|
- for (unsigned int i = 0; i < count; i++) {
|
|
|
- total_size +=
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
|
|
- this->ciphertext_fields(static_cast<int>(i)));
|
|
|
+ // required bytes value = 2;
|
|
|
+ if (has_value()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
|
+ this->value());
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_, total_size, &_cached_size_);
|
|
|
}
|
|
|
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
+ 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_t::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:decryptor_to_extension_msg_t)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const decryptor_to_extension_msg_t* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<decryptor_to_extension_msg_t>(
|
|
|
- &from);
|
|
|
- if (source == nullptr) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:decryptor_to_extension_msg_t)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+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<const mitigator_header*>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:decryptor_to_extension_msg_t)
|
|
|
MergeFrom(*source);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::MergeFrom(const decryptor_to_extension_msg_t& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:decryptor_to_extension_msg_t)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
|
|
|
+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 decryptor_to_extension_msg_t::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:decryptor_to_extension_msg_t)
|
|
|
+void mitigator_header::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::CopyFrom(const decryptor_to_extension_msg_t& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:decryptor_to_extension_msg_t)
|
|
|
+void mitigator_header::CopyFrom(const mitigator_header& from) {
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
|
}
|
|
|
|
|
|
-bool decryptor_to_extension_msg_t::IsInitialized() const {
|
|
|
+bool mitigator_header::IsInitialized() const {
|
|
|
+ if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
+
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-void decryptor_to_extension_msg_t::InternalSwap(decryptor_to_extension_msg_t* other) {
|
|
|
- using std::swap;
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
|
|
|
+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_);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata decryptor_to_extension_msg_t::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::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)
|
|
|
-PROTOBUF_NAMESPACE_OPEN
|
|
|
-template<> PROTOBUF_NOINLINE ::ciphertext_client_data_field* Arena::CreateMaybeMessage< ::ciphertext_client_data_field >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::ciphertext_client_data_field >(arena);
|
|
|
-}
|
|
|
-template<> PROTOBUF_NOINLINE ::extension_to_decryptor_enclosed_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_enclosed_msg >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::extension_to_decryptor_enclosed_msg >(arena);
|
|
|
-}
|
|
|
-template<> PROTOBUF_NOINLINE ::extension_to_decryptor_ciphertext_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_ciphertext_msg >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::extension_to_decryptor_ciphertext_msg >(arena);
|
|
|
-}
|
|
|
-template<> PROTOBUF_NOINLINE ::decryptor_to_extension_msg_t* Arena::CreateMaybeMessage< ::decryptor_to_extension_msg_t >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::decryptor_to_extension_msg_t >(arena);
|
|
|
-}
|
|
|
-PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
-#include <google/protobuf/port_undef.inc>
|