You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by qi...@apache.org on 2017/07/27 05:47:21 UTC

[2/3] mesos git commit: Generated protobuf_tests.pb.* files during the build.

http://git-wip-us.apache.org/repos/asf/mesos/blob/e6ec4e83/3rdparty/stout/tests/protobuf_tests.pb.cc
----------------------------------------------------------------------
diff --git a/3rdparty/stout/tests/protobuf_tests.pb.cc b/3rdparty/stout/tests/protobuf_tests.pb.cc
deleted file mode 100644
index ad6eff7..0000000
--- a/3rdparty/stout/tests/protobuf_tests.pb.cc
+++ /dev/null
@@ -1,3985 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: protobuf_tests.proto
-
-#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
-#include "protobuf_tests.pb.h"
-
-#include <algorithm>
-
-#include <google/protobuf/stubs/common.h>
-#include <google/protobuf/stubs/port.h>
-#include <google/protobuf/stubs/once.h>
-#include <google/protobuf/io/coded_stream.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)
-
-namespace tests {
-class NestedDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<Nested> {
-} _Nested_default_instance_;
-class SimpleMessageDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<SimpleMessage> {
-} _SimpleMessage_default_instance_;
-class MessageDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<Message> {
-} _Message_default_instance_;
-class ArrayMessageDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<ArrayMessage> {
-} _ArrayMessage_default_instance_;
-
-namespace protobuf_protobuf_5ftests_2eproto {
-
-
-namespace {
-
-::google::protobuf::Metadata file_level_metadata[4];
-const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
-
-}  // namespace
-
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
-    const TableStruct::entries[] = {
-  {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
-};
-
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
-    const TableStruct::aux[] = {
-  ::google::protobuf::internal::AuxillaryParseTableField(),
-};
-PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
-    TableStruct::schema[] = {
-  { NULL, NULL, 0, -1, -1, false },
-  { NULL, NULL, 0, -1, -1, false },
-  { NULL, NULL, 0, -1, -1, false },
-  { NULL, NULL, 0, -1, -1, false },
-};
-
-const ::google::protobuf::uint32 TableStruct::offsets[] = {
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Nested, _has_bits_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Nested, _internal_metadata_),
-  ~0u,  // no _extensions_
-  ~0u,  // no _oneof_case_
-  ~0u,  // no _weak_field_map_
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Nested, str_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Nested, optional_str_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Nested, repeated_str_),
-  0,
-  1,
-  ~0u,
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimpleMessage, _has_bits_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimpleMessage, _internal_metadata_),
-  ~0u,  // no _extensions_
-  ~0u,  // no _oneof_case_
-  ~0u,  // no _weak_field_map_
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimpleMessage, id_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimpleMessage, numbers_),
-  0,
-  ~0u,
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _has_bits_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, _internal_metadata_),
-  ~0u,  // no _extensions_
-  ~0u,  // no _oneof_case_
-  ~0u,  // no _weak_field_map_
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, b_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, str_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, bytes_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, int32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, int64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, uint32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, uint64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, sint32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, sint64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, f_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, d_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, e_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, nested_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_bool_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_string_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_bytes_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_int32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_int64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_uint32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_uint64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_sint32_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_sint64_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_float_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_double_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_enum_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, repeated_nested_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, empty_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, optional_default_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Message, optional_no_default_),
-  12,
-  0,
-  1,
-  4,
-  3,
-  5,
-  6,
-  8,
-  7,
-  9,
-  10,
-  13,
-  2,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  ~0u,
-  14,
-  11,
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArrayMessage, _has_bits_),
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArrayMessage, _internal_metadata_),
-  ~0u,  // no _extensions_
-  ~0u,  // no _oneof_case_
-  ~0u,  // no _weak_field_map_
-  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArrayMessage, values_),
-  ~0u,
-};
-
-static const ::google::protobuf::internal::MigrationSchema schemas[] = {
-  { 0, 8, sizeof(Nested)},
-  { 11, 18, sizeof(SimpleMessage)},
-  { 20, 54, sizeof(Message)},
-  { 83, 89, sizeof(ArrayMessage)},
-};
-
-static ::google::protobuf::Message const * const file_default_instances[] = {
-  reinterpret_cast<const ::google::protobuf::Message*>(&_Nested_default_instance_),
-  reinterpret_cast<const ::google::protobuf::Message*>(&_SimpleMessage_default_instance_),
-  reinterpret_cast<const ::google::protobuf::Message*>(&_Message_default_instance_),
-  reinterpret_cast<const ::google::protobuf::Message*>(&_ArrayMessage_default_instance_),
-};
-
-namespace {
-
-void protobuf_AssignDescriptors() {
-  AddDescriptors();
-  ::google::protobuf::MessageFactory* factory = NULL;
-  AssignDescriptors(
-      "protobuf_tests.proto", schemas, file_default_instances, TableStruct::offsets, factory,
-      file_level_metadata, file_level_enum_descriptors, NULL);
-}
-
-void protobuf_AssignDescriptorsOnce() {
-  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
-  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
-}
-
-void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
-void protobuf_RegisterTypes(const ::std::string&) {
-  protobuf_AssignDescriptorsOnce();
-  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 4);
-}
-
-}  // namespace
-
-void TableStruct::Shutdown() {
-  _Nested_default_instance_.Shutdown();
-  delete file_level_metadata[0].reflection;
-  _SimpleMessage_default_instance_.Shutdown();
-  delete file_level_metadata[1].reflection;
-  _Message_default_instance_.Shutdown();
-  delete file_level_metadata[2].reflection;
-  _ArrayMessage_default_instance_.Shutdown();
-  delete file_level_metadata[3].reflection;
-}
-
-void TableStruct::InitDefaultsImpl() {
-  GOOGLE_PROTOBUF_VERIFY_VERSION;
-
-  ::google::protobuf::internal::InitProtobufDefaults();
-  _Nested_default_instance_.DefaultConstruct();
-  _SimpleMessage_default_instance_.DefaultConstruct();
-  _Message_default_instance_.DefaultConstruct();
-  _ArrayMessage_default_instance_.DefaultConstruct();
-  _Message_default_instance_.get_mutable()->nested_ = const_cast< ::tests::Nested*>(
-      ::tests::Nested::internal_default_instance());
-}
-
-void InitDefaults() {
-  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
-  ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
-}
-void AddDescriptorsImpl() {
-  InitDefaults();
-  static const char descriptor[] = {
-      "\n\024protobuf_tests.proto\022\005tests\"A\n\006Nested\022"
-      "\013\n\003str\030\001 \002(\t\022\024\n\014optional_str\030\002 \001(\t\022\024\n\014re"
-      "peated_str\030\003 \003(\t\",\n\rSimpleMessage\022\n\n\002id\030"
-      "\001 \002(\t\022\017\n\007numbers\030\002 \003(\005\"\376\004\n\007Message\022\t\n\001b\030"
-      "\032 \002(\010\022\013\n\003str\030\001 \002(\t\022\r\n\005bytes\030\002 \002(\014\022\r\n\005int"
-      "32\030\003 \001(\005\022\r\n\005int64\030\004 \001(\003\022\016\n\006uint32\030\005 \001(\r\022"
-      "\016\n\006uint64\030\006 \001(\004\022\016\n\006sint32\030\007 \001(\021\022\016\n\006sint6"
-      "4\030\010 \001(\022\022\t\n\001f\030\t \002(\002\022\t\n\001d\030\n \002(\001\022\026\n\001e\030\013 \002(\016"
-      "2\013.tests.Enum\022\035\n\006nested\030\014 \002(\0132\r.tests.Ne"
-      "sted\022\025\n\rrepeated_bool\030\033 \003(\010\022\027\n\017repeated_"
-      "string\030\r \003(\t\022\026\n\016repeated_bytes\030\016 \003(\014\022\026\n\016"
-      "repeated_int32\030\017 \003(\005\022\026\n\016repeated_int64\030\020"
-      " \003(\003\022\027\n\017repeated_uint32\030\021 \003(\r\022\027\n\017repeate"
-      "d_uint64\030\022 \003(\004\022\027\n\017repeated_sint32\030\023 \003(\021\022"
-      "\027\n\017repeated_sint64\030\024 \003(\022\022\026\n\016repeated_flo"
-      "at\030\025 \003(\002\022\027\n\017repeated_double\030\026 \003(\001\022\"\n\rrep"
-      "eated_enum\030\027 \003(\0162\013.tests.Enum\022&\n\017repeate"
-      "d_nested\030\030 \003(\0132\r.tests.Nested\022\r\n\005empty\030\031"
-      " \003(\t\022\034\n\020optional_default\030\034 \001(\001:\00242\022\033\n\023op"
-      "tional_no_default\030\035 \001(\001\"4\n\014ArrayMessage\022"
-      "$\n\006values\030\001 \003(\0132\024.tests.SimpleMessage*\030\n"
-      "\004Enum\022\007\n\003ONE\020\001\022\007\n\003TWO\020\002"
-  };
-  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
-      descriptor, 863);
-  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
-    "protobuf_tests.proto", &protobuf_RegisterTypes);
-  ::google::protobuf::internal::OnShutdown(&TableStruct::Shutdown);
-}
-
-void AddDescriptors() {
-  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
-  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
-}
-// Force AddDescriptors() to be called at static initialization time.
-struct StaticDescriptorInitializer {
-  StaticDescriptorInitializer() {
-    AddDescriptors();
-  }
-} static_descriptor_initializer;
-
-}  // namespace protobuf_protobuf_5ftests_2eproto
-
-const ::google::protobuf::EnumDescriptor* Enum_descriptor() {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_enum_descriptors[0];
-}
-bool Enum_IsValid(int value) {
-  switch (value) {
-    case 1:
-    case 2:
-      return true;
-    default:
-      return false;
-  }
-}
-
-
-// ===================================================================
-
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
-const int Nested::kStrFieldNumber;
-const int Nested::kOptionalStrFieldNumber;
-const int Nested::kRepeatedStrFieldNumber;
-#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
-
-Nested::Nested()
-  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
-  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
-    protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  }
-  SharedCtor();
-  // @@protoc_insertion_point(constructor:tests.Nested)
-}
-Nested::Nested(const Nested& from)
-  : ::google::protobuf::Message(),
-      _internal_metadata_(NULL),
-      _has_bits_(from._has_bits_),
-      _cached_size_(0),
-      repeated_str_(from.repeated_str_) {
-  _internal_metadata_.MergeFrom(from._internal_metadata_);
-  str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (from.has_str()) {
-    str_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.str_);
-  }
-  optional_str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (from.has_optional_str()) {
-    optional_str_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.optional_str_);
-  }
-  // @@protoc_insertion_point(copy_constructor:tests.Nested)
-}
-
-void Nested::SharedCtor() {
-  _cached_size_ = 0;
-  str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  optional_str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-
-Nested::~Nested() {
-  // @@protoc_insertion_point(destructor:tests.Nested)
-  SharedDtor();
-}
-
-void Nested::SharedDtor() {
-  str_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  optional_str_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-
-void Nested::SetCachedSize(int size) const {
-  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
-  _cached_size_ = size;
-  GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* Nested::descriptor() {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
-}
-
-const Nested& Nested::default_instance() {
-  protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  return *internal_default_instance();
-}
-
-Nested* Nested::New(::google::protobuf::Arena* arena) const {
-  Nested* n = new Nested;
-  if (arena != NULL) {
-    arena->Own(n);
-  }
-  return n;
-}
-
-void Nested::Clear() {
-// @@protoc_insertion_point(message_clear_start:tests.Nested)
-  repeated_str_.Clear();
-  if (_has_bits_[0 / 32] & 3u) {
-    if (has_str()) {
-      GOOGLE_DCHECK(!str_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
-      (*str_.UnsafeRawStringPointer())->clear();
-    }
-    if (has_optional_str()) {
-      GOOGLE_DCHECK(!optional_str_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
-      (*optional_str_.UnsafeRawStringPointer())->clear();
-    }
-  }
-  _has_bits_.Clear();
-  _internal_metadata_.Clear();
-}
-
-bool Nested::MergePartialFromCodedStream(
-    ::google::protobuf::io::CodedInputStream* input) {
-#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
-  ::google::protobuf::uint32 tag;
-  // @@protoc_insertion_point(parse_start:tests.Nested)
-  for (;;) {
-    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
-    tag = p.first;
-    if (!p.second) goto handle_unusual;
-    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
-      // required string str = 1;
-      case 1: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(10u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->mutable_str()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->str().data(), this->str().length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Nested.str");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional string optional_str = 2;
-      case 2: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(18u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->mutable_optional_str()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->optional_str().data(), this->optional_str().length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Nested.optional_str");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated string repeated_str = 3;
-      case 3: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(26u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->add_repeated_str()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->repeated_str(this->repeated_str_size() - 1).data(),
-            this->repeated_str(this->repeated_str_size() - 1).length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Nested.repeated_str");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      default: {
-      handle_unusual:
-        if (tag == 0 ||
-            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
-            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
-          goto success;
-        }
-        DO_(::google::protobuf::internal::WireFormat::SkipField(
-              input, tag, mutable_unknown_fields()));
-        break;
-      }
-    }
-  }
-success:
-  // @@protoc_insertion_point(parse_success:tests.Nested)
-  return true;
-failure:
-  // @@protoc_insertion_point(parse_failure:tests.Nested)
-  return false;
-#undef DO_
-}
-
-void Nested::SerializeWithCachedSizes(
-    ::google::protobuf::io::CodedOutputStream* output) const {
-  // @@protoc_insertion_point(serialize_start:tests.Nested)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string str = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->str().data(), this->str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.str");
-    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
-      1, this->str(), output);
-  }
-
-  // optional string optional_str = 2;
-  if (cached_has_bits & 0x00000002u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->optional_str().data(), this->optional_str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.optional_str");
-    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
-      2, this->optional_str(), output);
-  }
-
-  // repeated string repeated_str = 3;
-  for (int i = 0, n = this->repeated_str_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->repeated_str(i).data(), this->repeated_str(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.repeated_str");
-    ::google::protobuf::internal::WireFormatLite::WriteString(
-      3, this->repeated_str(i), output);
-  }
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
-        unknown_fields(), output);
-  }
-  // @@protoc_insertion_point(serialize_end:tests.Nested)
-}
-
-::google::protobuf::uint8* Nested::InternalSerializeWithCachedSizesToArray(
-    bool deterministic, ::google::protobuf::uint8* target) const {
-  // @@protoc_insertion_point(serialize_to_array_start:tests.Nested)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string str = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->str().data(), this->str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.str");
-    target =
-      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
-        1, this->str(), target);
-  }
-
-  // optional string optional_str = 2;
-  if (cached_has_bits & 0x00000002u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->optional_str().data(), this->optional_str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.optional_str");
-    target =
-      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
-        2, this->optional_str(), target);
-  }
-
-  // repeated string repeated_str = 3;
-  for (int i = 0, n = this->repeated_str_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->repeated_str(i).data(), this->repeated_str(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Nested.repeated_str");
-    target = ::google::protobuf::internal::WireFormatLite::
-      WriteStringToArray(3, this->repeated_str(i), target);
-  }
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
-        unknown_fields(), target);
-  }
-  // @@protoc_insertion_point(serialize_to_array_end:tests.Nested)
-  return target;
-}
-
-size_t Nested::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:tests.Nested)
-  size_t total_size = 0;
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    total_size +=
-      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
-        unknown_fields());
-  }
-  // required string str = 1;
-  if (has_str()) {
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::StringSize(
-        this->str());
-  }
-  // repeated string repeated_str = 3;
-  total_size += 1 *
-      ::google::protobuf::internal::FromIntSize(this->repeated_str_size());
-  for (int i = 0, n = this->repeated_str_size(); i < n; i++) {
-    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
-      this->repeated_str(i));
-  }
-
-  // optional string optional_str = 2;
-  if (has_optional_str()) {
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::StringSize(
-        this->optional_str());
-  }
-
-  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
-  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
-  _cached_size_ = cached_size;
-  GOOGLE_SAFE_CONCURRENT_WRITES_END();
-  return total_size;
-}
-
-void Nested::MergeFrom(const ::google::protobuf::Message& from) {
-// @@protoc_insertion_point(generalized_merge_from_start:tests.Nested)
-  GOOGLE_DCHECK_NE(&from, this);
-  const Nested* source =
-      ::google::protobuf::internal::DynamicCastToGenerated<const Nested>(
-          &from);
-  if (source == NULL) {
-  // @@protoc_insertion_point(generalized_merge_from_cast_fail:tests.Nested)
-    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
-  } else {
-  // @@protoc_insertion_point(generalized_merge_from_cast_success:tests.Nested)
-    MergeFrom(*source);
-  }
-}
-
-void Nested::MergeFrom(const Nested& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:tests.Nested)
-  GOOGLE_DCHECK_NE(&from, this);
-  _internal_metadata_.MergeFrom(from._internal_metadata_);
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  repeated_str_.MergeFrom(from.repeated_str_);
-  cached_has_bits = from._has_bits_[0];
-  if (cached_has_bits & 3u) {
-    if (cached_has_bits & 0x00000001u) {
-      set_has_str();
-      str_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.str_);
-    }
-    if (cached_has_bits & 0x00000002u) {
-      set_has_optional_str();
-      optional_str_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.optional_str_);
-    }
-  }
-}
-
-void Nested::CopyFrom(const ::google::protobuf::Message& from) {
-// @@protoc_insertion_point(generalized_copy_from_start:tests.Nested)
-  if (&from == this) return;
-  Clear();
-  MergeFrom(from);
-}
-
-void Nested::CopyFrom(const Nested& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:tests.Nested)
-  if (&from == this) return;
-  Clear();
-  MergeFrom(from);
-}
-
-bool Nested::IsInitialized() const {
-  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
-  return true;
-}
-
-void Nested::Swap(Nested* other) {
-  if (other == this) return;
-  InternalSwap(other);
-}
-void Nested::InternalSwap(Nested* other) {
-  repeated_str_.InternalSwap(&other->repeated_str_);
-  str_.Swap(&other->str_);
-  optional_str_.Swap(&other->optional_str_);
-  std::swap(_has_bits_[0], other->_has_bits_[0]);
-  _internal_metadata_.Swap(&other->_internal_metadata_);
-  std::swap(_cached_size_, other->_cached_size_);
-}
-
-::google::protobuf::Metadata Nested::GetMetadata() const {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_metadata[kIndexInFileMessages];
-}
-
-#if PROTOBUF_INLINE_NOT_IN_HEADERS
-// Nested
-
-// required string str = 1;
-bool Nested::has_str() const {
-  return (_has_bits_[0] & 0x00000001u) != 0;
-}
-void Nested::set_has_str() {
-  _has_bits_[0] |= 0x00000001u;
-}
-void Nested::clear_has_str() {
-  _has_bits_[0] &= ~0x00000001u;
-}
-void Nested::clear_str() {
-  str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  clear_has_str();
-}
-const ::std::string& Nested::str() const {
-  // @@protoc_insertion_point(field_get:tests.Nested.str)
-  return str_.GetNoArena();
-}
-void Nested::set_str(const ::std::string& value) {
-  set_has_str();
-  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
-  // @@protoc_insertion_point(field_set:tests.Nested.str)
-}
-#if LANG_CXX11
-void Nested::set_str(::std::string&& value) {
-  set_has_str();
-  str_.SetNoArena(
-    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
-  // @@protoc_insertion_point(field_set_rvalue:tests.Nested.str)
-}
-#endif
-void Nested::set_str(const char* value) {
-  GOOGLE_DCHECK(value != NULL);
-  set_has_str();
-  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
-  // @@protoc_insertion_point(field_set_char:tests.Nested.str)
-}
-void Nested::set_str(const char* value, size_t size) {
-  set_has_str();
-  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
-      ::std::string(reinterpret_cast<const char*>(value), size));
-  // @@protoc_insertion_point(field_set_pointer:tests.Nested.str)
-}
-::std::string* Nested::mutable_str() {
-  set_has_str();
-  // @@protoc_insertion_point(field_mutable:tests.Nested.str)
-  return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-::std::string* Nested::release_str() {
-  // @@protoc_insertion_point(field_release:tests.Nested.str)
-  clear_has_str();
-  return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-void Nested::set_allocated_str(::std::string* str) {
-  if (str != NULL) {
-    set_has_str();
-  } else {
-    clear_has_str();
-  }
-  str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
-  // @@protoc_insertion_point(field_set_allocated:tests.Nested.str)
-}
-
-// optional string optional_str = 2;
-bool Nested::has_optional_str() const {
-  return (_has_bits_[0] & 0x00000002u) != 0;
-}
-void Nested::set_has_optional_str() {
-  _has_bits_[0] |= 0x00000002u;
-}
-void Nested::clear_has_optional_str() {
-  _has_bits_[0] &= ~0x00000002u;
-}
-void Nested::clear_optional_str() {
-  optional_str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  clear_has_optional_str();
-}
-const ::std::string& Nested::optional_str() const {
-  // @@protoc_insertion_point(field_get:tests.Nested.optional_str)
-  return optional_str_.GetNoArena();
-}
-void Nested::set_optional_str(const ::std::string& value) {
-  set_has_optional_str();
-  optional_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
-  // @@protoc_insertion_point(field_set:tests.Nested.optional_str)
-}
-#if LANG_CXX11
-void Nested::set_optional_str(::std::string&& value) {
-  set_has_optional_str();
-  optional_str_.SetNoArena(
-    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
-  // @@protoc_insertion_point(field_set_rvalue:tests.Nested.optional_str)
-}
-#endif
-void Nested::set_optional_str(const char* value) {
-  GOOGLE_DCHECK(value != NULL);
-  set_has_optional_str();
-  optional_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
-  // @@protoc_insertion_point(field_set_char:tests.Nested.optional_str)
-}
-void Nested::set_optional_str(const char* value, size_t size) {
-  set_has_optional_str();
-  optional_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
-      ::std::string(reinterpret_cast<const char*>(value), size));
-  // @@protoc_insertion_point(field_set_pointer:tests.Nested.optional_str)
-}
-::std::string* Nested::mutable_optional_str() {
-  set_has_optional_str();
-  // @@protoc_insertion_point(field_mutable:tests.Nested.optional_str)
-  return optional_str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-::std::string* Nested::release_optional_str() {
-  // @@protoc_insertion_point(field_release:tests.Nested.optional_str)
-  clear_has_optional_str();
-  return optional_str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-void Nested::set_allocated_optional_str(::std::string* optional_str) {
-  if (optional_str != NULL) {
-    set_has_optional_str();
-  } else {
-    clear_has_optional_str();
-  }
-  optional_str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), optional_str);
-  // @@protoc_insertion_point(field_set_allocated:tests.Nested.optional_str)
-}
-
-// repeated string repeated_str = 3;
-int Nested::repeated_str_size() const {
-  return repeated_str_.size();
-}
-void Nested::clear_repeated_str() {
-  repeated_str_.Clear();
-}
-const ::std::string& Nested::repeated_str(int index) const {
-  // @@protoc_insertion_point(field_get:tests.Nested.repeated_str)
-  return repeated_str_.Get(index);
-}
-::std::string* Nested::mutable_repeated_str(int index) {
-  // @@protoc_insertion_point(field_mutable:tests.Nested.repeated_str)
-  return repeated_str_.Mutable(index);
-}
-void Nested::set_repeated_str(int index, const ::std::string& value) {
-  // @@protoc_insertion_point(field_set:tests.Nested.repeated_str)
-  repeated_str_.Mutable(index)->assign(value);
-}
-#if LANG_CXX11
-void Nested::set_repeated_str(int index, ::std::string&& value) {
-  // @@protoc_insertion_point(field_set:tests.Nested.repeated_str)
-  repeated_str_.Mutable(index)->assign(std::move(value));
-}
-#endif
-void Nested::set_repeated_str(int index, const char* value) {
-  GOOGLE_DCHECK(value != NULL);
-  repeated_str_.Mutable(index)->assign(value);
-  // @@protoc_insertion_point(field_set_char:tests.Nested.repeated_str)
-}
-void Nested::set_repeated_str(int index, const char* value, size_t size) {
-  repeated_str_.Mutable(index)->assign(
-    reinterpret_cast<const char*>(value), size);
-  // @@protoc_insertion_point(field_set_pointer:tests.Nested.repeated_str)
-}
-::std::string* Nested::add_repeated_str() {
-  // @@protoc_insertion_point(field_add_mutable:tests.Nested.repeated_str)
-  return repeated_str_.Add();
-}
-void Nested::add_repeated_str(const ::std::string& value) {
-  repeated_str_.Add()->assign(value);
-  // @@protoc_insertion_point(field_add:tests.Nested.repeated_str)
-}
-#if LANG_CXX11
-void Nested::add_repeated_str(::std::string&& value) {
-  repeated_str_.Add(std::move(value));
-  // @@protoc_insertion_point(field_add:tests.Nested.repeated_str)
-}
-#endif
-void Nested::add_repeated_str(const char* value) {
-  GOOGLE_DCHECK(value != NULL);
-  repeated_str_.Add()->assign(value);
-  // @@protoc_insertion_point(field_add_char:tests.Nested.repeated_str)
-}
-void Nested::add_repeated_str(const char* value, size_t size) {
-  repeated_str_.Add()->assign(reinterpret_cast<const char*>(value), size);
-  // @@protoc_insertion_point(field_add_pointer:tests.Nested.repeated_str)
-}
-const ::google::protobuf::RepeatedPtrField< ::std::string>&
-Nested::repeated_str() const {
-  // @@protoc_insertion_point(field_list:tests.Nested.repeated_str)
-  return repeated_str_;
-}
-::google::protobuf::RepeatedPtrField< ::std::string>*
-Nested::mutable_repeated_str() {
-  // @@protoc_insertion_point(field_mutable_list:tests.Nested.repeated_str)
-  return &repeated_str_;
-}
-
-#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
-
-// ===================================================================
-
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
-const int SimpleMessage::kIdFieldNumber;
-const int SimpleMessage::kNumbersFieldNumber;
-#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
-
-SimpleMessage::SimpleMessage()
-  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
-  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
-    protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  }
-  SharedCtor();
-  // @@protoc_insertion_point(constructor:tests.SimpleMessage)
-}
-SimpleMessage::SimpleMessage(const SimpleMessage& from)
-  : ::google::protobuf::Message(),
-      _internal_metadata_(NULL),
-      _has_bits_(from._has_bits_),
-      _cached_size_(0),
-      numbers_(from.numbers_) {
-  _internal_metadata_.MergeFrom(from._internal_metadata_);
-  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (from.has_id()) {
-    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
-  }
-  // @@protoc_insertion_point(copy_constructor:tests.SimpleMessage)
-}
-
-void SimpleMessage::SharedCtor() {
-  _cached_size_ = 0;
-  id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-
-SimpleMessage::~SimpleMessage() {
-  // @@protoc_insertion_point(destructor:tests.SimpleMessage)
-  SharedDtor();
-}
-
-void SimpleMessage::SharedDtor() {
-  id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-
-void SimpleMessage::SetCachedSize(int size) const {
-  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
-  _cached_size_ = size;
-  GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* SimpleMessage::descriptor() {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
-}
-
-const SimpleMessage& SimpleMessage::default_instance() {
-  protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  return *internal_default_instance();
-}
-
-SimpleMessage* SimpleMessage::New(::google::protobuf::Arena* arena) const {
-  SimpleMessage* n = new SimpleMessage;
-  if (arena != NULL) {
-    arena->Own(n);
-  }
-  return n;
-}
-
-void SimpleMessage::Clear() {
-// @@protoc_insertion_point(message_clear_start:tests.SimpleMessage)
-  numbers_.Clear();
-  if (has_id()) {
-    GOOGLE_DCHECK(!id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
-    (*id_.UnsafeRawStringPointer())->clear();
-  }
-  _has_bits_.Clear();
-  _internal_metadata_.Clear();
-}
-
-bool SimpleMessage::MergePartialFromCodedStream(
-    ::google::protobuf::io::CodedInputStream* input) {
-#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
-  ::google::protobuf::uint32 tag;
-  // @@protoc_insertion_point(parse_start:tests.SimpleMessage)
-  for (;;) {
-    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
-    tag = p.first;
-    if (!p.second) goto handle_unusual;
-    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
-      // required string id = 1;
-      case 1: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(10u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->mutable_id()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->id().data(), this->id().length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.SimpleMessage.id");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated int32 numbers = 2;
-      case 2: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(16u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
-                 1, 16u, input, this->mutable_numbers())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(18u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
-                 input, this->mutable_numbers())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      default: {
-      handle_unusual:
-        if (tag == 0 ||
-            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
-            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
-          goto success;
-        }
-        DO_(::google::protobuf::internal::WireFormat::SkipField(
-              input, tag, mutable_unknown_fields()));
-        break;
-      }
-    }
-  }
-success:
-  // @@protoc_insertion_point(parse_success:tests.SimpleMessage)
-  return true;
-failure:
-  // @@protoc_insertion_point(parse_failure:tests.SimpleMessage)
-  return false;
-#undef DO_
-}
-
-void SimpleMessage::SerializeWithCachedSizes(
-    ::google::protobuf::io::CodedOutputStream* output) const {
-  // @@protoc_insertion_point(serialize_start:tests.SimpleMessage)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string id = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->id().data(), this->id().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.SimpleMessage.id");
-    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
-      1, this->id(), output);
-  }
-
-  // repeated int32 numbers = 2;
-  for (int i = 0, n = this->numbers_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteInt32(
-      2, this->numbers(i), output);
-  }
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
-        unknown_fields(), output);
-  }
-  // @@protoc_insertion_point(serialize_end:tests.SimpleMessage)
-}
-
-::google::protobuf::uint8* SimpleMessage::InternalSerializeWithCachedSizesToArray(
-    bool deterministic, ::google::protobuf::uint8* target) const {
-  // @@protoc_insertion_point(serialize_to_array_start:tests.SimpleMessage)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string id = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->id().data(), this->id().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.SimpleMessage.id");
-    target =
-      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
-        1, this->id(), target);
-  }
-
-  // repeated int32 numbers = 2;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteInt32ToArray(2, this->numbers_, target);
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
-        unknown_fields(), target);
-  }
-  // @@protoc_insertion_point(serialize_to_array_end:tests.SimpleMessage)
-  return target;
-}
-
-size_t SimpleMessage::ByteSizeLong() const {
-// @@protoc_insertion_point(message_byte_size_start:tests.SimpleMessage)
-  size_t total_size = 0;
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    total_size +=
-      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
-        unknown_fields());
-  }
-  // required string id = 1;
-  if (has_id()) {
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::StringSize(
-        this->id());
-  }
-  // repeated int32 numbers = 2;
-  {
-    size_t data_size = ::google::protobuf::internal::WireFormatLite::
-      Int32Size(this->numbers_);
-    total_size += 1 *
-                  ::google::protobuf::internal::FromIntSize(this->numbers_size());
-    total_size += data_size;
-  }
-
-  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
-  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
-  _cached_size_ = cached_size;
-  GOOGLE_SAFE_CONCURRENT_WRITES_END();
-  return total_size;
-}
-
-void SimpleMessage::MergeFrom(const ::google::protobuf::Message& from) {
-// @@protoc_insertion_point(generalized_merge_from_start:tests.SimpleMessage)
-  GOOGLE_DCHECK_NE(&from, this);
-  const SimpleMessage* source =
-      ::google::protobuf::internal::DynamicCastToGenerated<const SimpleMessage>(
-          &from);
-  if (source == NULL) {
-  // @@protoc_insertion_point(generalized_merge_from_cast_fail:tests.SimpleMessage)
-    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
-  } else {
-  // @@protoc_insertion_point(generalized_merge_from_cast_success:tests.SimpleMessage)
-    MergeFrom(*source);
-  }
-}
-
-void SimpleMessage::MergeFrom(const SimpleMessage& from) {
-// @@protoc_insertion_point(class_specific_merge_from_start:tests.SimpleMessage)
-  GOOGLE_DCHECK_NE(&from, this);
-  _internal_metadata_.MergeFrom(from._internal_metadata_);
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  numbers_.MergeFrom(from.numbers_);
-  if (from.has_id()) {
-    set_has_id();
-    id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_);
-  }
-}
-
-void SimpleMessage::CopyFrom(const ::google::protobuf::Message& from) {
-// @@protoc_insertion_point(generalized_copy_from_start:tests.SimpleMessage)
-  if (&from == this) return;
-  Clear();
-  MergeFrom(from);
-}
-
-void SimpleMessage::CopyFrom(const SimpleMessage& from) {
-// @@protoc_insertion_point(class_specific_copy_from_start:tests.SimpleMessage)
-  if (&from == this) return;
-  Clear();
-  MergeFrom(from);
-}
-
-bool SimpleMessage::IsInitialized() const {
-  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
-  return true;
-}
-
-void SimpleMessage::Swap(SimpleMessage* other) {
-  if (other == this) return;
-  InternalSwap(other);
-}
-void SimpleMessage::InternalSwap(SimpleMessage* other) {
-  numbers_.InternalSwap(&other->numbers_);
-  id_.Swap(&other->id_);
-  std::swap(_has_bits_[0], other->_has_bits_[0]);
-  _internal_metadata_.Swap(&other->_internal_metadata_);
-  std::swap(_cached_size_, other->_cached_size_);
-}
-
-::google::protobuf::Metadata SimpleMessage::GetMetadata() const {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_metadata[kIndexInFileMessages];
-}
-
-#if PROTOBUF_INLINE_NOT_IN_HEADERS
-// SimpleMessage
-
-// required string id = 1;
-bool SimpleMessage::has_id() const {
-  return (_has_bits_[0] & 0x00000001u) != 0;
-}
-void SimpleMessage::set_has_id() {
-  _has_bits_[0] |= 0x00000001u;
-}
-void SimpleMessage::clear_has_id() {
-  _has_bits_[0] &= ~0x00000001u;
-}
-void SimpleMessage::clear_id() {
-  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  clear_has_id();
-}
-const ::std::string& SimpleMessage::id() const {
-  // @@protoc_insertion_point(field_get:tests.SimpleMessage.id)
-  return id_.GetNoArena();
-}
-void SimpleMessage::set_id(const ::std::string& value) {
-  set_has_id();
-  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
-  // @@protoc_insertion_point(field_set:tests.SimpleMessage.id)
-}
-#if LANG_CXX11
-void SimpleMessage::set_id(::std::string&& value) {
-  set_has_id();
-  id_.SetNoArena(
-    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
-  // @@protoc_insertion_point(field_set_rvalue:tests.SimpleMessage.id)
-}
-#endif
-void SimpleMessage::set_id(const char* value) {
-  GOOGLE_DCHECK(value != NULL);
-  set_has_id();
-  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
-  // @@protoc_insertion_point(field_set_char:tests.SimpleMessage.id)
-}
-void SimpleMessage::set_id(const char* value, size_t size) {
-  set_has_id();
-  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
-      ::std::string(reinterpret_cast<const char*>(value), size));
-  // @@protoc_insertion_point(field_set_pointer:tests.SimpleMessage.id)
-}
-::std::string* SimpleMessage::mutable_id() {
-  set_has_id();
-  // @@protoc_insertion_point(field_mutable:tests.SimpleMessage.id)
-  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-::std::string* SimpleMessage::release_id() {
-  // @@protoc_insertion_point(field_release:tests.SimpleMessage.id)
-  clear_has_id();
-  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-}
-void SimpleMessage::set_allocated_id(::std::string* id) {
-  if (id != NULL) {
-    set_has_id();
-  } else {
-    clear_has_id();
-  }
-  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
-  // @@protoc_insertion_point(field_set_allocated:tests.SimpleMessage.id)
-}
-
-// repeated int32 numbers = 2;
-int SimpleMessage::numbers_size() const {
-  return numbers_.size();
-}
-void SimpleMessage::clear_numbers() {
-  numbers_.Clear();
-}
-::google::protobuf::int32 SimpleMessage::numbers(int index) const {
-  // @@protoc_insertion_point(field_get:tests.SimpleMessage.numbers)
-  return numbers_.Get(index);
-}
-void SimpleMessage::set_numbers(int index, ::google::protobuf::int32 value) {
-  numbers_.Set(index, value);
-  // @@protoc_insertion_point(field_set:tests.SimpleMessage.numbers)
-}
-void SimpleMessage::add_numbers(::google::protobuf::int32 value) {
-  numbers_.Add(value);
-  // @@protoc_insertion_point(field_add:tests.SimpleMessage.numbers)
-}
-const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
-SimpleMessage::numbers() const {
-  // @@protoc_insertion_point(field_list:tests.SimpleMessage.numbers)
-  return numbers_;
-}
-::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
-SimpleMessage::mutable_numbers() {
-  // @@protoc_insertion_point(field_mutable_list:tests.SimpleMessage.numbers)
-  return &numbers_;
-}
-
-#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
-
-// ===================================================================
-
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
-const int Message::kBFieldNumber;
-const int Message::kStrFieldNumber;
-const int Message::kBytesFieldNumber;
-const int Message::kInt32FieldNumber;
-const int Message::kInt64FieldNumber;
-const int Message::kUint32FieldNumber;
-const int Message::kUint64FieldNumber;
-const int Message::kSint32FieldNumber;
-const int Message::kSint64FieldNumber;
-const int Message::kFFieldNumber;
-const int Message::kDFieldNumber;
-const int Message::kEFieldNumber;
-const int Message::kNestedFieldNumber;
-const int Message::kRepeatedBoolFieldNumber;
-const int Message::kRepeatedStringFieldNumber;
-const int Message::kRepeatedBytesFieldNumber;
-const int Message::kRepeatedInt32FieldNumber;
-const int Message::kRepeatedInt64FieldNumber;
-const int Message::kRepeatedUint32FieldNumber;
-const int Message::kRepeatedUint64FieldNumber;
-const int Message::kRepeatedSint32FieldNumber;
-const int Message::kRepeatedSint64FieldNumber;
-const int Message::kRepeatedFloatFieldNumber;
-const int Message::kRepeatedDoubleFieldNumber;
-const int Message::kRepeatedEnumFieldNumber;
-const int Message::kRepeatedNestedFieldNumber;
-const int Message::kEmptyFieldNumber;
-const int Message::kOptionalDefaultFieldNumber;
-const int Message::kOptionalNoDefaultFieldNumber;
-#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
-
-Message::Message()
-  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
-  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
-    protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  }
-  SharedCtor();
-  // @@protoc_insertion_point(constructor:tests.Message)
-}
-Message::Message(const Message& from)
-  : ::google::protobuf::Message(),
-      _internal_metadata_(NULL),
-      _has_bits_(from._has_bits_),
-      _cached_size_(0),
-      repeated_string_(from.repeated_string_),
-      repeated_bytes_(from.repeated_bytes_),
-      repeated_int32_(from.repeated_int32_),
-      repeated_int64_(from.repeated_int64_),
-      repeated_uint32_(from.repeated_uint32_),
-      repeated_uint64_(from.repeated_uint64_),
-      repeated_sint32_(from.repeated_sint32_),
-      repeated_sint64_(from.repeated_sint64_),
-      repeated_float_(from.repeated_float_),
-      repeated_double_(from.repeated_double_),
-      repeated_enum_(from.repeated_enum_),
-      repeated_nested_(from.repeated_nested_),
-      empty_(from.empty_),
-      repeated_bool_(from.repeated_bool_) {
-  _internal_metadata_.MergeFrom(from._internal_metadata_);
-  str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (from.has_str()) {
-    str_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.str_);
-  }
-  bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (from.has_bytes()) {
-    bytes_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.bytes_);
-  }
-  if (from.has_nested()) {
-    nested_ = new ::tests::Nested(*from.nested_);
-  } else {
-    nested_ = NULL;
-  }
-  ::memcpy(&int64_, &from.int64_,
-    reinterpret_cast<char*>(&optional_default_) -
-    reinterpret_cast<char*>(&int64_) + sizeof(optional_default_));
-  // @@protoc_insertion_point(copy_constructor:tests.Message)
-}
-
-void Message::SharedCtor() {
-  _cached_size_ = 0;
-  str_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  ::memset(&nested_, 0, reinterpret_cast<char*>(&b_) -
-    reinterpret_cast<char*>(&nested_) + sizeof(b_));
-  e_ = 1;
-  optional_default_ = 42;
-}
-
-Message::~Message() {
-  // @@protoc_insertion_point(destructor:tests.Message)
-  SharedDtor();
-}
-
-void Message::SharedDtor() {
-  str_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  bytes_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
-  if (this != internal_default_instance()) {
-    delete nested_;
-  }
-}
-
-void Message::SetCachedSize(int size) const {
-  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
-  _cached_size_ = size;
-  GOOGLE_SAFE_CONCURRENT_WRITES_END();
-}
-const ::google::protobuf::Descriptor* Message::descriptor() {
-  protobuf_protobuf_5ftests_2eproto::protobuf_AssignDescriptorsOnce();
-  return protobuf_protobuf_5ftests_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
-}
-
-const Message& Message::default_instance() {
-  protobuf_protobuf_5ftests_2eproto::InitDefaults();
-  return *internal_default_instance();
-}
-
-Message* Message::New(::google::protobuf::Arena* arena) const {
-  Message* n = new Message;
-  if (arena != NULL) {
-    arena->Own(n);
-  }
-  return n;
-}
-
-void Message::Clear() {
-// @@protoc_insertion_point(message_clear_start:tests.Message)
-  repeated_string_.Clear();
-  repeated_bytes_.Clear();
-  repeated_int32_.Clear();
-  repeated_int64_.Clear();
-  repeated_uint32_.Clear();
-  repeated_uint64_.Clear();
-  repeated_sint32_.Clear();
-  repeated_sint64_.Clear();
-  repeated_float_.Clear();
-  repeated_double_.Clear();
-  repeated_enum_.Clear();
-  repeated_nested_.Clear();
-  empty_.Clear();
-  repeated_bool_.Clear();
-  if (_has_bits_[0 / 32] & 7u) {
-    if (has_str()) {
-      GOOGLE_DCHECK(!str_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
-      (*str_.UnsafeRawStringPointer())->clear();
-    }
-    if (has_bytes()) {
-      GOOGLE_DCHECK(!bytes_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
-      (*bytes_.UnsafeRawStringPointer())->clear();
-    }
-    if (has_nested()) {
-      GOOGLE_DCHECK(nested_ != NULL);
-      nested_->::tests::Nested::Clear();
-    }
-  }
-  if (_has_bits_[0 / 32] & 248u) {
-    ::memset(&int64_, 0, reinterpret_cast<char*>(&sint64_) -
-      reinterpret_cast<char*>(&int64_) + sizeof(sint64_));
-  }
-  if (_has_bits_[8 / 32] & 32512u) {
-    ::memset(&sint32_, 0, reinterpret_cast<char*>(&b_) -
-      reinterpret_cast<char*>(&sint32_) + sizeof(b_));
-    e_ = 1;
-    optional_default_ = 42;
-  }
-  _has_bits_.Clear();
-  _internal_metadata_.Clear();
-}
-
-bool Message::MergePartialFromCodedStream(
-    ::google::protobuf::io::CodedInputStream* input) {
-#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
-  ::google::protobuf::uint32 tag;
-  // @@protoc_insertion_point(parse_start:tests.Message)
-  for (;;) {
-    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
-    tag = p.first;
-    if (!p.second) goto handle_unusual;
-    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
-      // required string str = 1;
-      case 1: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(10u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->mutable_str()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->str().data(), this->str().length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Message.str");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required bytes bytes = 2;
-      case 2: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(18u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
-                input, this->mutable_bytes()));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional int32 int32 = 3;
-      case 3: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(24u)) {
-          set_has_int32();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
-                 input, &int32_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional int64 int64 = 4;
-      case 4: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(32u)) {
-          set_has_int64();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
-                 input, &int64_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional uint32 uint32 = 5;
-      case 5: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(40u)) {
-          set_has_uint32();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
-                 input, &uint32_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional uint64 uint64 = 6;
-      case 6: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(48u)) {
-          set_has_uint64();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
-                 input, &uint64_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional sint32 sint32 = 7;
-      case 7: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(56u)) {
-          set_has_sint32();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
-                 input, &sint32_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional sint64 sint64 = 8;
-      case 8: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(64u)) {
-          set_has_sint64();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>(
-                 input, &sint64_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required float f = 9;
-      case 9: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(77u)) {
-          set_has_f();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
-                 input, &f_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required double d = 10;
-      case 10: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(81u)) {
-          set_has_d();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
-                 input, &d_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required .tests.Enum e = 11;
-      case 11: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(88u)) {
-          int value;
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
-                 input, &value)));
-          if (::tests::Enum_IsValid(value)) {
-            set_e(static_cast< ::tests::Enum >(value));
-          } else {
-            mutable_unknown_fields()->AddVarint(11, value);
-          }
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required .tests.Nested nested = 12;
-      case 12: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(98u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
-               input, mutable_nested()));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated string repeated_string = 13;
-      case 13: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(106u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->add_repeated_string()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->repeated_string(this->repeated_string_size() - 1).data(),
-            this->repeated_string(this->repeated_string_size() - 1).length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Message.repeated_string");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated bytes repeated_bytes = 14;
-      case 14: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(114u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
-                input, this->add_repeated_bytes()));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated int32 repeated_int32 = 15;
-      case 15: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(120u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
-                 1, 120u, input, this->mutable_repeated_int32())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(122u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
-                 input, this->mutable_repeated_int32())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated int64 repeated_int64 = 16;
-      case 16: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(128u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
-                 2, 128u, input, this->mutable_repeated_int64())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(130u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
-                 input, this->mutable_repeated_int64())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated uint32 repeated_uint32 = 17;
-      case 17: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(136u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
-                 2, 136u, input, this->mutable_repeated_uint32())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(138u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
-                 input, this->mutable_repeated_uint32())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated uint64 repeated_uint64 = 18;
-      case 18: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(144u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
-                 2, 144u, input, this->mutable_repeated_uint64())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(146u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
-                 input, this->mutable_repeated_uint64())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated sint32 repeated_sint32 = 19;
-      case 19: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(152u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
-                 2, 152u, input, this->mutable_repeated_sint32())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(154u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>(
-                 input, this->mutable_repeated_sint32())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated sint64 repeated_sint64 = 20;
-      case 20: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(160u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>(
-                 2, 160u, input, this->mutable_repeated_sint64())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(162u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>(
-                 input, this->mutable_repeated_sint64())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated float repeated_float = 21;
-      case 21: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(173u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
-                 2, 173u, input, this->mutable_repeated_float())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(170u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
-                 input, this->mutable_repeated_float())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated double repeated_double = 22;
-      case 22: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(177u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
-                 2, 177u, input, this->mutable_repeated_double())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(178u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
-                 input, this->mutable_repeated_double())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated .tests.Enum repeated_enum = 23;
-      case 23: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(184u)) {
-          int value;
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
-                 input, &value)));
-          if (::tests::Enum_IsValid(value)) {
-            add_repeated_enum(static_cast< ::tests::Enum >(value));
-          } else {
-            mutable_unknown_fields()->AddVarint(23, value);
-          }
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(186u)) {
-          DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
-                 input,
-                 23,
-                 ::tests::Enum_IsValid,
-                 mutable_unknown_fields(),
-                 this->mutable_repeated_enum())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated .tests.Nested repeated_nested = 24;
-      case 24: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(194u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
-                input, add_repeated_nested()));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated string empty = 25;
-      case 25: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(202u)) {
-          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
-                input, this->add_empty()));
-          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-            this->empty(this->empty_size() - 1).data(),
-            this->empty(this->empty_size() - 1).length(),
-            ::google::protobuf::internal::WireFormat::PARSE,
-            "tests.Message.empty");
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // required bool b = 26;
-      case 26: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(208u)) {
-          set_has_b();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
-                 input, &b_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // repeated bool repeated_bool = 27;
-      case 27: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(216u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
-                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
-                 2, 216u, input, this->mutable_repeated_bool())));
-        } else if (static_cast< ::google::protobuf::uint8>(tag) ==
-                   static_cast< ::google::protobuf::uint8>(218u)) {
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
-                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
-                 input, this->mutable_repeated_bool())));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional double optional_default = 28 [default = 42];
-      case 28: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(225u)) {
-          set_has_optional_default();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
-                 input, &optional_default_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      // optional double optional_no_default = 29;
-      case 29: {
-        if (static_cast< ::google::protobuf::uint8>(tag) ==
-            static_cast< ::google::protobuf::uint8>(233u)) {
-          set_has_optional_no_default();
-          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
-                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
-                 input, &optional_no_default_)));
-        } else {
-          goto handle_unusual;
-        }
-        break;
-      }
-
-      default: {
-      handle_unusual:
-        if (tag == 0 ||
-            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
-            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
-          goto success;
-        }
-        DO_(::google::protobuf::internal::WireFormat::SkipField(
-              input, tag, mutable_unknown_fields()));
-        break;
-      }
-    }
-  }
-success:
-  // @@protoc_insertion_point(parse_success:tests.Message)
-  return true;
-failure:
-  // @@protoc_insertion_point(parse_failure:tests.Message)
-  return false;
-#undef DO_
-}
-
-void Message::SerializeWithCachedSizes(
-    ::google::protobuf::io::CodedOutputStream* output) const {
-  // @@protoc_insertion_point(serialize_start:tests.Message)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string str = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->str().data(), this->str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.str");
-    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
-      1, this->str(), output);
-  }
-
-  // required bytes bytes = 2;
-  if (cached_has_bits & 0x00000002u) {
-    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
-      2, this->bytes(), output);
-  }
-
-  // optional int32 int32 = 3;
-  if (cached_has_bits & 0x00000010u) {
-    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->int32(), output);
-  }
-
-  // optional int64 int64 = 4;
-  if (cached_has_bits & 0x00000008u) {
-    ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->int64(), output);
-  }
-
-  // optional uint32 uint32 = 5;
-  if (cached_has_bits & 0x00000020u) {
-    ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->uint32(), output);
-  }
-
-  // optional uint64 uint64 = 6;
-  if (cached_has_bits & 0x00000040u) {
-    ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->uint64(), output);
-  }
-
-  // optional sint32 sint32 = 7;
-  if (cached_has_bits & 0x00000100u) {
-    ::google::protobuf::internal::WireFormatLite::WriteSInt32(7, this->sint32(), output);
-  }
-
-  // optional sint64 sint64 = 8;
-  if (cached_has_bits & 0x00000080u) {
-    ::google::protobuf::internal::WireFormatLite::WriteSInt64(8, this->sint64(), output);
-  }
-
-  // required float f = 9;
-  if (cached_has_bits & 0x00000200u) {
-    ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->f(), output);
-  }
-
-  // required double d = 10;
-  if (cached_has_bits & 0x00000400u) {
-    ::google::protobuf::internal::WireFormatLite::WriteDouble(10, this->d(), output);
-  }
-
-  // required .tests.Enum e = 11;
-  if (cached_has_bits & 0x00002000u) {
-    ::google::protobuf::internal::WireFormatLite::WriteEnum(
-      11, this->e(), output);
-  }
-
-  // required .tests.Nested nested = 12;
-  if (cached_has_bits & 0x00000004u) {
-    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
-      12, *this->nested_, output);
-  }
-
-  // repeated string repeated_string = 13;
-  for (int i = 0, n = this->repeated_string_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->repeated_string(i).data(), this->repeated_string(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.repeated_string");
-    ::google::protobuf::internal::WireFormatLite::WriteString(
-      13, this->repeated_string(i), output);
-  }
-
-  // repeated bytes repeated_bytes = 14;
-  for (int i = 0, n = this->repeated_bytes_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteBytes(
-      14, this->repeated_bytes(i), output);
-  }
-
-  // repeated int32 repeated_int32 = 15;
-  for (int i = 0, n = this->repeated_int32_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteInt32(
-      15, this->repeated_int32(i), output);
-  }
-
-  // repeated int64 repeated_int64 = 16;
-  for (int i = 0, n = this->repeated_int64_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteInt64(
-      16, this->repeated_int64(i), output);
-  }
-
-  // repeated uint32 repeated_uint32 = 17;
-  for (int i = 0, n = this->repeated_uint32_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteUInt32(
-      17, this->repeated_uint32(i), output);
-  }
-
-  // repeated uint64 repeated_uint64 = 18;
-  for (int i = 0, n = this->repeated_uint64_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteUInt64(
-      18, this->repeated_uint64(i), output);
-  }
-
-  // repeated sint32 repeated_sint32 = 19;
-  for (int i = 0, n = this->repeated_sint32_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteSInt32(
-      19, this->repeated_sint32(i), output);
-  }
-
-  // repeated sint64 repeated_sint64 = 20;
-  for (int i = 0, n = this->repeated_sint64_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteSInt64(
-      20, this->repeated_sint64(i), output);
-  }
-
-  // repeated float repeated_float = 21;
-  for (int i = 0, n = this->repeated_float_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteFloat(
-      21, this->repeated_float(i), output);
-  }
-
-  // repeated double repeated_double = 22;
-  for (int i = 0, n = this->repeated_double_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteDouble(
-      22, this->repeated_double(i), output);
-  }
-
-  // repeated .tests.Enum repeated_enum = 23;
-  for (int i = 0, n = this->repeated_enum_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteEnum(
-      23, this->repeated_enum(i), output);
-  }
-
-  // repeated .tests.Nested repeated_nested = 24;
-  for (unsigned int i = 0, n = this->repeated_nested_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
-      24, this->repeated_nested(i), output);
-  }
-
-  // repeated string empty = 25;
-  for (int i = 0, n = this->empty_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->empty(i).data(), this->empty(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.empty");
-    ::google::protobuf::internal::WireFormatLite::WriteString(
-      25, this->empty(i), output);
-  }
-
-  // required bool b = 26;
-  if (cached_has_bits & 0x00001000u) {
-    ::google::protobuf::internal::WireFormatLite::WriteBool(26, this->b(), output);
-  }
-
-  // repeated bool repeated_bool = 27;
-  for (int i = 0, n = this->repeated_bool_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormatLite::WriteBool(
-      27, this->repeated_bool(i), output);
-  }
-
-  // optional double optional_default = 28 [default = 42];
-  if (cached_has_bits & 0x00004000u) {
-    ::google::protobuf::internal::WireFormatLite::WriteDouble(28, this->optional_default(), output);
-  }
-
-  // optional double optional_no_default = 29;
-  if (cached_has_bits & 0x00000800u) {
-    ::google::protobuf::internal::WireFormatLite::WriteDouble(29, this->optional_no_default(), output);
-  }
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
-        unknown_fields(), output);
-  }
-  // @@protoc_insertion_point(serialize_end:tests.Message)
-}
-
-::google::protobuf::uint8* Message::InternalSerializeWithCachedSizesToArray(
-    bool deterministic, ::google::protobuf::uint8* target) const {
-  // @@protoc_insertion_point(serialize_to_array_start:tests.Message)
-  ::google::protobuf::uint32 cached_has_bits = 0;
-  (void) cached_has_bits;
-
-  cached_has_bits = _has_bits_[0];
-  // required string str = 1;
-  if (cached_has_bits & 0x00000001u) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->str().data(), this->str().length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.str");
-    target =
-      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
-        1, this->str(), target);
-  }
-
-  // required bytes bytes = 2;
-  if (cached_has_bits & 0x00000002u) {
-    target =
-      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
-        2, this->bytes(), target);
-  }
-
-  // optional int32 int32 = 3;
-  if (cached_has_bits & 0x00000010u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->int32(), target);
-  }
-
-  // optional int64 int64 = 4;
-  if (cached_has_bits & 0x00000008u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->int64(), target);
-  }
-
-  // optional uint32 uint32 = 5;
-  if (cached_has_bits & 0x00000020u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->uint32(), target);
-  }
-
-  // optional uint64 uint64 = 6;
-  if (cached_has_bits & 0x00000040u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->uint64(), target);
-  }
-
-  // optional sint32 sint32 = 7;
-  if (cached_has_bits & 0x00000100u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(7, this->sint32(), target);
-  }
-
-  // optional sint64 sint64 = 8;
-  if (cached_has_bits & 0x00000080u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(8, this->sint64(), target);
-  }
-
-  // required float f = 9;
-  if (cached_has_bits & 0x00000200u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->f(), target);
-  }
-
-  // required double d = 10;
-  if (cached_has_bits & 0x00000400u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(10, this->d(), target);
-  }
-
-  // required .tests.Enum e = 11;
-  if (cached_has_bits & 0x00002000u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
-      11, this->e(), target);
-  }
-
-  // required .tests.Nested nested = 12;
-  if (cached_has_bits & 0x00000004u) {
-    target = ::google::protobuf::internal::WireFormatLite::
-      InternalWriteMessageNoVirtualToArray(
-        12, *this->nested_, deterministic, target);
-  }
-
-  // repeated string repeated_string = 13;
-  for (int i = 0, n = this->repeated_string_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->repeated_string(i).data(), this->repeated_string(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.repeated_string");
-    target = ::google::protobuf::internal::WireFormatLite::
-      WriteStringToArray(13, this->repeated_string(i), target);
-  }
-
-  // repeated bytes repeated_bytes = 14;
-  for (int i = 0, n = this->repeated_bytes_size(); i < n; i++) {
-    target = ::google::protobuf::internal::WireFormatLite::
-      WriteBytesToArray(14, this->repeated_bytes(i), target);
-  }
-
-  // repeated int32 repeated_int32 = 15;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteInt32ToArray(15, this->repeated_int32_, target);
-
-  // repeated int64 repeated_int64 = 16;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteInt64ToArray(16, this->repeated_int64_, target);
-
-  // repeated uint32 repeated_uint32 = 17;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteUInt32ToArray(17, this->repeated_uint32_, target);
-
-  // repeated uint64 repeated_uint64 = 18;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteUInt64ToArray(18, this->repeated_uint64_, target);
-
-  // repeated sint32 repeated_sint32 = 19;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteSInt32ToArray(19, this->repeated_sint32_, target);
-
-  // repeated sint64 repeated_sint64 = 20;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteSInt64ToArray(20, this->repeated_sint64_, target);
-
-  // repeated float repeated_float = 21;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteFloatToArray(21, this->repeated_float_, target);
-
-  // repeated double repeated_double = 22;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteDoubleToArray(22, this->repeated_double_, target);
-
-  // repeated .tests.Enum repeated_enum = 23;
-  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
-    23, this->repeated_enum_, target);
-
-  // repeated .tests.Nested repeated_nested = 24;
-  for (unsigned int i = 0, n = this->repeated_nested_size(); i < n; i++) {
-    target = ::google::protobuf::internal::WireFormatLite::
-      InternalWriteMessageNoVirtualToArray(
-        24, this->repeated_nested(i), deterministic, target);
-  }
-
-  // repeated string empty = 25;
-  for (int i = 0, n = this->empty_size(); i < n; i++) {
-    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
-      this->empty(i).data(), this->empty(i).length(),
-      ::google::protobuf::internal::WireFormat::SERIALIZE,
-      "tests.Message.empty");
-    target = ::google::protobuf::internal::WireFormatLite::
-      WriteStringToArray(25, this->empty(i), target);
-  }
-
-  // required bool b = 26;
-  if (cached_has_bits & 0x00001000u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(26, this->b(), target);
-  }
-
-  // repeated bool repeated_bool = 27;
-  target = ::google::protobuf::internal::WireFormatLite::
-    WriteBoolToArray(27, this->repeated_bool_, target);
-
-  // optional double optional_default = 28 [default = 42];
-  if (cached_has_bits & 0x00004000u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(28, this->optional_default(), target);
-  }
-
-  // optional double optional_no_default = 29;
-  if (cached_has_bits & 0x00000800u) {
-    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(29, this->optional_no_default(), target);
-  }
-
-  if (_internal_metadata_.have_unknown_fields()) {
-    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
-        unknown_fields(), target);
-  }
-  // @@protoc_insertion_point(serialize_to_array_end:tests.Message)
-  return target;
-}
-
-size_t Message::RequiredFieldsByteSizeFallback() const {
-// @@protoc_insertion_point(required_fields_byte_size_fallback_start:tests.Message)
-  size_t total_size = 0;
-
-  if (has_str()) {
-    // required string str = 1;
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::StringSize(
-        this->str());
-  }
-
-  if (has_bytes()) {
-    // required bytes bytes = 2;
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::BytesSize(
-        this->bytes());
-  }
-
-  if (has_nested()) {
-    // required .tests.Nested nested = 12;
-    total_size += 1 +
-      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
-        *this->nested_);
-  }
-
-  if (has_f()) {
-    // required float f = 9;
-    total_size += 1 + 4;
-  }
-
-  if (has_d()) {
-    // requ

<TRUNCATED>